We recommend using Azure Native.
azure.paloalto.NextGenerationFirewallVirtualHubLocalRulestack
Explore with Pulumi AI
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:
- Network
Profile NextGeneration Firewall Virtual Hub Local Rulestack Network Profile - Resource
Group stringName - Rulestack
Id string - Destination
Nats List<NextGeneration Firewall Virtual Hub Local Rulestack Destination Nat> - Dns
Settings NextGeneration Firewall Virtual Hub Local Rulestack Dns Settings - Name string
- Dictionary<string, string>
- Network
Profile NextGeneration Firewall Virtual Hub Local Rulestack Network Profile Args - Resource
Group stringName - Rulestack
Id string - Destination
Nats []NextGeneration Firewall Virtual Hub Local Rulestack Destination Nat Args - Dns
Settings NextGeneration Firewall Virtual Hub Local Rulestack Dns Settings Args - Name string
- map[string]string
- network_
profile NextGeneration Firewall Virtual Hub Local Rulestack Network Profile Args - resource_
group_ strname - rulestack_
id str - destination_
nats Sequence[NextGeneration Firewall Virtual Hub Local Rulestack Destination Nat Args] - dns_
settings NextGeneration Firewall Virtual Hub Local Rulestack Dns Settings Args - name str
- Mapping[str, str]
- network
Profile Property Map - resource
Group StringName - rulestack
Id String - destination
Nats List<Property Map> - dns
Settings Property Map - name String
- Map<String>
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.
- Destination
Nats List<NextGeneration Firewall Virtual Hub Local Rulestack Destination Nat> - Dns
Settings NextGeneration Firewall Virtual Hub Local Rulestack Dns Settings - Name string
- Network
Profile NextGeneration Firewall Virtual Hub Local Rulestack Network Profile - Resource
Group stringName - Rulestack
Id string - Dictionary<string, string>
- Destination
Nats []NextGeneration Firewall Virtual Hub Local Rulestack Destination Nat Args - Dns
Settings NextGeneration Firewall Virtual Hub Local Rulestack Dns Settings Args - Name string
- Network
Profile NextGeneration Firewall Virtual Hub Local Rulestack Network Profile Args - Resource
Group stringName - Rulestack
Id string - map[string]string
- destination_
nats Sequence[NextGeneration Firewall Virtual Hub Local Rulestack Destination Nat Args] - dns_
settings NextGeneration Firewall Virtual Hub Local Rulestack Dns Settings Args - name str
- network_
profile NextGeneration Firewall Virtual Hub Local Rulestack Network Profile Args - resource_
group_ strname - rulestack_
id str - Mapping[str, str]
- destination
Nats List<Property Map> - dns
Settings Property Map - name String
- network
Profile Property Map - resource
Group StringName - rulestack
Id String - Map<String>
Supporting Types
NextGenerationFirewallVirtualHubLocalRulestackDestinationNat, NextGenerationFirewallVirtualHubLocalRulestackDestinationNatArgs
- name String
- protocol String
- backend
Config Property Map - frontend
Config Property Map
NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfig, NextGenerationFirewallVirtualHubLocalRulestackDestinationNatBackendConfigArgs
- Port int
- Public
Ip stringAddress
- Port int
- Public
Ip stringAddress
- port Integer
- public
Ip StringAddress
- port number
- public
Ip stringAddress
- port int
- public_
ip_ straddress
- port Number
- public
Ip StringAddress
NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfig, NextGenerationFirewallVirtualHubLocalRulestackDestinationNatFrontendConfigArgs
- Port int
- Public
Ip stringAddress Id
- Port int
- Public
Ip stringAddress Id
- port Integer
- public
Ip StringAddress Id
- port number
- public
Ip stringAddress Id
- port int
- public_
ip_ straddress_ id
- port Number
- public
Ip StringAddress Id
NextGenerationFirewallVirtualHubLocalRulestackDnsSettings, NextGenerationFirewallVirtualHubLocalRulestackDnsSettingsArgs
- Azure
Dns List<string>Servers - Dns
Servers List<string> - Use
Azure boolDns
- Azure
Dns []stringServers - Dns
Servers []string - Use
Azure boolDns
- azure
Dns List<String>Servers - dns
Servers List<String> - use
Azure BooleanDns
- azure
Dns string[]Servers - dns
Servers string[] - use
Azure booleanDns
- azure_
dns_ Sequence[str]servers - dns_
servers Sequence[str] - use_
azure_ booldns
- azure
Dns List<String>Servers - dns
Servers List<String> - use
Azure BooleanDns
NextGenerationFirewallVirtualHubLocalRulestackNetworkProfile, NextGenerationFirewallVirtualHubLocalRulestackNetworkProfileArgs
- Network
Virtual stringAppliance Id - Public
Ip List<string>Address Ids - Virtual
Hub stringId - Egress
Nat List<string>Ip Address Ids - Egress
Nat List<string>Ip Addresses - Ip
Of stringTrust For User Defined Routes - Public
Ip List<string>Addresses - Trusted
Address List<string>Ranges - Trusted
Subnet stringId - Untrusted
Subnet stringId
- Network
Virtual stringAppliance Id - Public
Ip []stringAddress Ids - Virtual
Hub stringId - Egress
Nat []stringIp Address Ids - Egress
Nat []stringIp Addresses - Ip
Of stringTrust For User Defined Routes - Public
Ip []stringAddresses - Trusted
Address []stringRanges - Trusted
Subnet stringId - Untrusted
Subnet stringId
- network
Virtual StringAppliance Id - public
Ip List<String>Address Ids - virtual
Hub StringId - egress
Nat List<String>Ip Address Ids - egress
Nat List<String>Ip Addresses - ip
Of StringTrust For User Defined Routes - public
Ip List<String>Addresses - trusted
Address List<String>Ranges - trusted
Subnet StringId - untrusted
Subnet StringId
- network
Virtual stringAppliance Id - public
Ip string[]Address Ids - virtual
Hub stringId - egress
Nat string[]Ip Address Ids - egress
Nat string[]Ip Addresses - ip
Of stringTrust For User Defined Routes - public
Ip string[]Addresses - trusted
Address string[]Ranges - trusted
Subnet stringId - untrusted
Subnet stringId
- network_
virtual_ strappliance_ id - public_
ip_ Sequence[str]address_ ids - virtual_
hub_ strid - egress_
nat_ Sequence[str]ip_ address_ ids - egress_
nat_ Sequence[str]ip_ addresses - ip_
of_ strtrust_ for_ user_ defined_ routes - public_
ip_ Sequence[str]addresses - trusted_
address_ Sequence[str]ranges - trusted_
subnet_ strid - untrusted_
subnet_ strid
- network
Virtual StringAppliance Id - public
Ip List<String>Address Ids - virtual
Hub StringId - egress
Nat List<String>Ip Address Ids - egress
Nat List<String>Ip Addresses - ip
Of StringTrust For User Defined Routes - public
Ip List<String>Addresses - trusted
Address List<String>Ranges - trusted
Subnet StringId - untrusted
Subnet StringId
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.