1. Packages
  2. Azure Classic
  3. API Docs
  4. paloalto
  5. NextGenerationFirewallVirtualHubLocalRulestack

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

azure.paloalto.NextGenerationFirewallVirtualHubLocalRulestack

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Create NextGenerationFirewallVirtualHubLocalRulestack Resource

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

    Constructor syntax

    new NextGenerationFirewallVirtualHubLocalRulestack(name: string, args: NextGenerationFirewallVirtualHubLocalRulestackArgs, opts?: CustomResourceOptions);
    @overload
    def NextGenerationFirewallVirtualHubLocalRulestack(resource_name: str,
                                                       args: NextGenerationFirewallVirtualHubLocalRulestackArgs,
                                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def NextGenerationFirewallVirtualHubLocalRulestack(resource_name: str,
                                                       opts: Optional[ResourceOptions] = None,
                                                       network_profile: Optional[NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs] = None,
                                                       resource_group_name: Optional[str] = None,
                                                       rulestack_id: Optional[str] = None,
                                                       destination_nats: Optional[Sequence[NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs]] = None,
                                                       dns_settings: Optional[NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs] = None,
                                                       name: Optional[str] = None,
                                                       tags: Optional[Mapping[str, str]] = None)
    func NewNextGenerationFirewallVirtualHubLocalRulestack(ctx *Context, name string, args NextGenerationFirewallVirtualHubLocalRulestackArgs, opts ...ResourceOption) (*NextGenerationFirewallVirtualHubLocalRulestack, error)
    public NextGenerationFirewallVirtualHubLocalRulestack(string name, NextGenerationFirewallVirtualHubLocalRulestackArgs args, CustomResourceOptions? opts = null)
    public NextGenerationFirewallVirtualHubLocalRulestack(String name, NextGenerationFirewallVirtualHubLocalRulestackArgs args)
    public NextGenerationFirewallVirtualHubLocalRulestack(String name, NextGenerationFirewallVirtualHubLocalRulestackArgs args, CustomResourceOptions options)
    
    type: azure:paloalto:NextGenerationFirewallVirtualHubLocalRulestack
    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 NextGenerationFirewallVirtualHubLocalRulestackArgs
    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 NextGenerationFirewallVirtualHubLocalRulestackArgs
    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 NextGenerationFirewallVirtualHubLocalRulestackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NextGenerationFirewallVirtualHubLocalRulestackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NextGenerationFirewallVirtualHubLocalRulestackArgs
    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 nextGenerationFirewallVirtualHubLocalRulestackResource = new Azure.PaloAlto.NextGenerationFirewallVirtualHubLocalRulestack("nextGenerationFirewallVirtualHubLocalRulestackResource", new()
    {
        NetworkProfile = new Azure.PaloAlto.Inputs.NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs
        {
            NetworkVirtualApplianceId = "string",
            PublicIpAddressIds = new[]
            {
                "string",
            },
            VirtualHubId = "string",
            EgressNatIpAddressIds = new[]
            {
                "string",
            },
            EgressNatIpAddresses = new[]
            {
                "string",
            },
            IpOfTrustForUserDefinedRoutes = "string",
            PublicIpAddresses = new[]
            {
                "string",
            },
            TrustedAddressRanges = new[]
            {
                "string",
            },
            TrustedSubnetId = "string",
            UntrustedSubnetId = "string",
        },
        ResourceGroupName = "string",
        RulestackId = "string",
        DestinationNats = new[]
        {
            new Azure.PaloAlto.Inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs
            {
                Name = "string",
                Protocol = "string",
                BackendConfig = new Azure.PaloAlto.Inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs
                {
                    Port = 0,
                    PublicIpAddress = "string",
                },
                FrontendConfig = new Azure.PaloAlto.Inputs.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs
                {
                    Port = 0,
                    PublicIpAddressId = "string",
                },
            },
        },
        DnsSettings = new Azure.PaloAlto.Inputs.NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs
        {
            AzureDnsServers = new[]
            {
                "string",
            },
            DnsServers = new[]
            {
                "string",
            },
            UseAzureDns = false,
        },
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := paloalto.NewNextGenerationFirewallVirtualHubLocalRulestack(ctx, "nextGenerationFirewallVirtualHubLocalRulestackResource", &paloalto.NextGenerationFirewallVirtualHubLocalRulestackArgs{
    	NetworkProfile: &paloalto.NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs{
    		NetworkVirtualApplianceId: pulumi.String("string"),
    		PublicIpAddressIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		VirtualHubId: pulumi.String("string"),
    		EgressNatIpAddressIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		EgressNatIpAddresses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IpOfTrustForUserDefinedRoutes: pulumi.String("string"),
    		PublicIpAddresses: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TrustedAddressRanges: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TrustedSubnetId:   pulumi.String("string"),
    		UntrustedSubnetId: pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	RulestackId:       pulumi.String("string"),
    	DestinationNats: paloalto.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArray{
    		&paloalto.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs{
    			Name:     pulumi.String("string"),
    			Protocol: pulumi.String("string"),
    			BackendConfig: &paloalto.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs{
    				Port:            pulumi.Int(0),
    				PublicIpAddress: pulumi.String("string"),
    			},
    			FrontendConfig: &paloalto.NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs{
    				Port:              pulumi.Int(0),
    				PublicIpAddressId: pulumi.String("string"),
    			},
    		},
    	},
    	DnsSettings: &paloalto.NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs{
    		AzureDnsServers: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DnsServers: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		UseAzureDns: pulumi.Bool(false),
    	},
    	Name: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var nextGenerationFirewallVirtualHubLocalRulestackResource = new NextGenerationFirewallVirtualHubLocalRulestack("nextGenerationFirewallVirtualHubLocalRulestackResource", NextGenerationFirewallVirtualHubLocalRulestackArgs.builder()
        .networkProfile(NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs.builder()
            .networkVirtualApplianceId("string")
            .publicIpAddressIds("string")
            .virtualHubId("string")
            .egressNatIpAddressIds("string")
            .egressNatIpAddresses("string")
            .ipOfTrustForUserDefinedRoutes("string")
            .publicIpAddresses("string")
            .trustedAddressRanges("string")
            .trustedSubnetId("string")
            .untrustedSubnetId("string")
            .build())
        .resourceGroupName("string")
        .rulestackId("string")
        .destinationNats(NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs.builder()
            .name("string")
            .protocol("string")
            .backendConfig(NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs.builder()
                .port(0)
                .publicIpAddress("string")
                .build())
            .frontendConfig(NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs.builder()
                .port(0)
                .publicIpAddressId("string")
                .build())
            .build())
        .dnsSettings(NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs.builder()
            .azureDnsServers("string")
            .dnsServers("string")
            .useAzureDns(false)
            .build())
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    next_generation_firewall_virtual_hub_local_rulestack_resource = azure.paloalto.NextGenerationFirewallVirtualHubLocalRulestack("nextGenerationFirewallVirtualHubLocalRulestackResource",
        network_profile={
            "network_virtual_appliance_id": "string",
            "public_ip_address_ids": ["string"],
            "virtual_hub_id": "string",
            "egress_nat_ip_address_ids": ["string"],
            "egress_nat_ip_addresses": ["string"],
            "ip_of_trust_for_user_defined_routes": "string",
            "public_ip_addresses": ["string"],
            "trusted_address_ranges": ["string"],
            "trusted_subnet_id": "string",
            "untrusted_subnet_id": "string",
        },
        resource_group_name="string",
        rulestack_id="string",
        destination_nats=[{
            "name": "string",
            "protocol": "string",
            "backend_config": {
                "port": 0,
                "public_ip_address": "string",
            },
            "frontend_config": {
                "port": 0,
                "public_ip_address_id": "string",
            },
        }],
        dns_settings={
            "azure_dns_servers": ["string"],
            "dns_servers": ["string"],
            "use_azure_dns": False,
        },
        name="string",
        tags={
            "string": "string",
        })
    
    const nextGenerationFirewallVirtualHubLocalRulestackResource = new azure.paloalto.NextGenerationFirewallVirtualHubLocalRulestack("nextGenerationFirewallVirtualHubLocalRulestackResource", {
        networkProfile: {
            networkVirtualApplianceId: "string",
            publicIpAddressIds: ["string"],
            virtualHubId: "string",
            egressNatIpAddressIds: ["string"],
            egressNatIpAddresses: ["string"],
            ipOfTrustForUserDefinedRoutes: "string",
            publicIpAddresses: ["string"],
            trustedAddressRanges: ["string"],
            trustedSubnetId: "string",
            untrustedSubnetId: "string",
        },
        resourceGroupName: "string",
        rulestackId: "string",
        destinationNats: [{
            name: "string",
            protocol: "string",
            backendConfig: {
                port: 0,
                publicIpAddress: "string",
            },
            frontendConfig: {
                port: 0,
                publicIpAddressId: "string",
            },
        }],
        dnsSettings: {
            azureDnsServers: ["string"],
            dnsServers: ["string"],
            useAzureDns: false,
        },
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:paloalto:NextGenerationFirewallVirtualHubLocalRulestack
    properties:
        destinationNats:
            - backendConfig:
                port: 0
                publicIpAddress: string
              frontendConfig:
                port: 0
                publicIpAddressId: string
              name: string
              protocol: string
        dnsSettings:
            azureDnsServers:
                - string
            dnsServers:
                - string
            useAzureDns: false
        name: string
        networkProfile:
            egressNatIpAddressIds:
                - string
            egressNatIpAddresses:
                - string
            ipOfTrustForUserDefinedRoutes: string
            networkVirtualApplianceId: string
            publicIpAddressIds:
                - string
            publicIpAddresses:
                - string
            trustedAddressRanges:
                - string
            trustedSubnetId: string
            untrustedSubnetId: string
            virtualHubId: string
        resourceGroupName: string
        rulestackId: string
        tags:
            string: string
    

    NextGenerationFirewallVirtualHubLocalRulestack Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NextGenerationFirewallVirtualHubLocalRulestack resource accepts the following input properties:

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NextGenerationFirewallVirtualHubLocalRulestack Resource

    Get an existing NextGenerationFirewallVirtualHubLocalRulestack resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NextGenerationFirewallVirtualHubLocalRulestackState, opts?: CustomResourceOptions): NextGenerationFirewallVirtualHubLocalRulestack
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            destination_nats: Optional[Sequence[NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs]] = None,
            dns_settings: Optional[NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs] = None,
            name: Optional[str] = None,
            network_profile: Optional[NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs] = None,
            resource_group_name: Optional[str] = None,
            rulestack_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> NextGenerationFirewallVirtualHubLocalRulestack
    func GetNextGenerationFirewallVirtualHubLocalRulestack(ctx *Context, name string, id IDInput, state *NextGenerationFirewallVirtualHubLocalRulestackState, opts ...ResourceOption) (*NextGenerationFirewallVirtualHubLocalRulestack, error)
    public static NextGenerationFirewallVirtualHubLocalRulestack Get(string name, Input<string> id, NextGenerationFirewallVirtualHubLocalRulestackState? state, CustomResourceOptions? opts = null)
    public static NextGenerationFirewallVirtualHubLocalRulestack get(String name, Output<String> id, NextGenerationFirewallVirtualHubLocalRulestackState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:

    Supporting Types

    NextGenerationFirewallVirtualHubLocalRulestackDestinationNat, NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs

    NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfig, NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs

    port Integer
    publicIpAddress String
    port number
    publicIpAddress string
    port Number
    publicIpAddress String

    NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfig, NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs

    port Integer
    publicIpAddressId String
    port number
    publicIpAddressId string
    port Number
    publicIpAddressId String

    NextGenerationFirewallVirtualHubLocalRulestackDnsSettings, NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs

    AzureDnsServers List<string>
    DnsServers List<string>
    UseAzureDns bool
    azureDnsServers List<String>
    dnsServers List<String>
    useAzureDns Boolean
    azureDnsServers string[]
    dnsServers string[]
    useAzureDns boolean
    azure_dns_servers Sequence[str]
    dns_servers Sequence[str]
    use_azure_dns bool
    azureDnsServers List<String>
    dnsServers List<String>
    useAzureDns Boolean

    NextGenerationFirewallVirtualHubLocalRulestackNetworkProfile, NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.10.0 published on Tuesday, Nov 19, 2024 by Pulumi