1. Packages
  2. Packages
  3. Azure Native
  4. API Docs
  5. horizondb
  6. HorizonDbFirewallRule
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.23.0
published on Saturday, Jul 18, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.23.0
published on Saturday, Jul 18, 2026 by Pulumi

    Represents the HorizonDB firewall rule.

    Uses Azure REST API version 2026-01-20-preview.

    Example Usage

    Create or update a HorizonDB firewall rule

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var horizonDbFirewallRule = new AzureNative.HorizonDb.HorizonDbFirewallRule("horizonDbFirewallRule", new()
        {
            ClusterName = "examplecluster",
            FirewallRuleName = "examplefirewallrule",
            PoolName = "examplepool",
            Properties = new AzureNative.HorizonDb.Inputs.HorizonDbFirewallRulePropertiesArgs
            {
                Description = "Allow access from corporate network",
                EndIpAddress = "10.0.0.10",
                StartIpAddress = "10.0.0.1",
            },
            ResourceGroupName = "exampleresourcegroup",
        });
    
    });
    
    package main
    
    import (
    	horizondb "github.com/pulumi/pulumi-azure-native-sdk/horizondb/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := horizondb.NewHorizonDbFirewallRule(ctx, "horizonDbFirewallRule", &horizondb.HorizonDbFirewallRuleArgs{
    			ClusterName:      pulumi.String("examplecluster"),
    			FirewallRuleName: pulumi.String("examplefirewallrule"),
    			PoolName:         pulumi.String("examplepool"),
    			Properties: &horizondb.HorizonDbFirewallRulePropertiesArgs{
    				Description:    pulumi.String("Allow access from corporate network"),
    				EndIpAddress:   pulumi.String("10.0.0.10"),
    				StartIpAddress: pulumi.String("10.0.0.1"),
    			},
    			ResourceGroupName: pulumi.String("exampleresourcegroup"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    pulumi {
      required_providers {
        azure-native = {
          source = "pulumi/azure-native"
        }
      }
    }
    
    resource "azure-native_horizondb_horizondbfirewallrule" "horizonDbFirewallRule" {
      cluster_name       = "examplecluster"
      firewall_rule_name = "examplefirewallrule"
      pool_name          = "examplepool"
      properties = {
        description      = "Allow access from corporate network"
        end_ip_address   = "10.0.0.10"
        start_ip_address = "10.0.0.1"
      }
      resource_group_name = "exampleresourcegroup"
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.horizondb.HorizonDbFirewallRule;
    import com.pulumi.azurenative.horizondb.HorizonDbFirewallRuleArgs;
    import com.pulumi.azurenative.horizondb.inputs.HorizonDbFirewallRulePropertiesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 horizonDbFirewallRule = new HorizonDbFirewallRule("horizonDbFirewallRule", HorizonDbFirewallRuleArgs.builder()
                .clusterName("examplecluster")
                .firewallRuleName("examplefirewallrule")
                .poolName("examplepool")
                .properties(HorizonDbFirewallRulePropertiesArgs.builder()
                    .description("Allow access from corporate network")
                    .endIpAddress("10.0.0.10")
                    .startIpAddress("10.0.0.1")
                    .build())
                .resourceGroupName("exampleresourcegroup")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const horizonDbFirewallRule = new azure_native.horizondb.HorizonDbFirewallRule("horizonDbFirewallRule", {
        clusterName: "examplecluster",
        firewallRuleName: "examplefirewallrule",
        poolName: "examplepool",
        properties: {
            description: "Allow access from corporate network",
            endIpAddress: "10.0.0.10",
            startIpAddress: "10.0.0.1",
        },
        resourceGroupName: "exampleresourcegroup",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    horizon_db_firewall_rule = azure_native.horizondb.HorizonDbFirewallRule("horizonDbFirewallRule",
        cluster_name="examplecluster",
        firewall_rule_name="examplefirewallrule",
        pool_name="examplepool",
        properties={
            "description": "Allow access from corporate network",
            "end_ip_address": "10.0.0.10",
            "start_ip_address": "10.0.0.1",
        },
        resource_group_name="exampleresourcegroup")
    
    resources:
      horizonDbFirewallRule:
        type: azure-native:horizondb:HorizonDbFirewallRule
        properties:
          clusterName: examplecluster
          firewallRuleName: examplefirewallrule
          poolName: examplepool
          properties:
            description: Allow access from corporate network
            endIpAddress: 10.0.0.10
            startIpAddress: 10.0.0.1
          resourceGroupName: exampleresourcegroup
    

    Create HorizonDbFirewallRule Resource

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

    Constructor syntax

    new HorizonDbFirewallRule(name: string, args: HorizonDbFirewallRuleArgs, opts?: CustomResourceOptions);
    @overload
    def HorizonDbFirewallRule(resource_name: str,
                              args: HorizonDbFirewallRuleArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def HorizonDbFirewallRule(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              cluster_name: Optional[str] = None,
                              pool_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              firewall_rule_name: Optional[str] = None,
                              properties: Optional[HorizonDbFirewallRulePropertiesArgs] = None)
    func NewHorizonDbFirewallRule(ctx *Context, name string, args HorizonDbFirewallRuleArgs, opts ...ResourceOption) (*HorizonDbFirewallRule, error)
    public HorizonDbFirewallRule(string name, HorizonDbFirewallRuleArgs args, CustomResourceOptions? opts = null)
    public HorizonDbFirewallRule(String name, HorizonDbFirewallRuleArgs args)
    public HorizonDbFirewallRule(String name, HorizonDbFirewallRuleArgs args, CustomResourceOptions options)
    
    type: azure-native:horizondb:HorizonDbFirewallRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "azure-native_horizondb_horizon_db_firewall_rule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args HorizonDbFirewallRuleArgs
    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 HorizonDbFirewallRuleArgs
    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 HorizonDbFirewallRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HorizonDbFirewallRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HorizonDbFirewallRuleArgs
    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 horizonDbFirewallRuleResource = new AzureNative.HorizonDb.HorizonDbFirewallRule("horizonDbFirewallRuleResource", new()
    {
        ClusterName = "string",
        PoolName = "string",
        ResourceGroupName = "string",
        FirewallRuleName = "string",
        Properties = new AzureNative.HorizonDb.Inputs.HorizonDbFirewallRulePropertiesArgs
        {
            EndIpAddress = "string",
            StartIpAddress = "string",
            Description = "string",
        },
    });
    
    example, err := horizondb.NewHorizonDbFirewallRule(ctx, "horizonDbFirewallRuleResource", &horizondb.HorizonDbFirewallRuleArgs{
    	ClusterName:       pulumi.String("string"),
    	PoolName:          pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	FirewallRuleName:  pulumi.String("string"),
    	Properties: &horizondb.HorizonDbFirewallRulePropertiesArgs{
    		EndIpAddress:   pulumi.String("string"),
    		StartIpAddress: pulumi.String("string"),
    		Description:    pulumi.String("string"),
    	},
    })
    
    resource "azure-native_horizondb_horizon_db_firewall_rule" "horizonDbFirewallRuleResource" {
      lifecycle {
        create_before_destroy = true
      }
      cluster_name        = "string"
      pool_name           = "string"
      resource_group_name = "string"
      firewall_rule_name  = "string"
      properties = {
        end_ip_address   = "string"
        start_ip_address = "string"
        description      = "string"
      }
    }
    
    var horizonDbFirewallRuleResource = new HorizonDbFirewallRule("horizonDbFirewallRuleResource", HorizonDbFirewallRuleArgs.builder()
        .clusterName("string")
        .poolName("string")
        .resourceGroupName("string")
        .firewallRuleName("string")
        .properties(HorizonDbFirewallRulePropertiesArgs.builder()
            .endIpAddress("string")
            .startIpAddress("string")
            .description("string")
            .build())
        .build());
    
    horizon_db_firewall_rule_resource = azure_native.horizondb.HorizonDbFirewallRule("horizonDbFirewallRuleResource",
        cluster_name="string",
        pool_name="string",
        resource_group_name="string",
        firewall_rule_name="string",
        properties={
            "end_ip_address": "string",
            "start_ip_address": "string",
            "description": "string",
        })
    
    const horizonDbFirewallRuleResource = new azure_native.horizondb.HorizonDbFirewallRule("horizonDbFirewallRuleResource", {
        clusterName: "string",
        poolName: "string",
        resourceGroupName: "string",
        firewallRuleName: "string",
        properties: {
            endIpAddress: "string",
            startIpAddress: "string",
            description: "string",
        },
    });
    
    type: azure-native:horizondb:HorizonDbFirewallRule
    properties:
        clusterName: string
        firewallRuleName: string
        poolName: string
        properties:
            description: string
            endIpAddress: string
            startIpAddress: string
        resourceGroupName: string
    

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

    ClusterName string
    The name of the HorizonDB cluster.
    PoolName string
    The name of the HorizonDB pool.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    FirewallRuleName string
    The name of the HorizonDB firewall rule.
    Properties Pulumi.AzureNative.HorizonDb.Inputs.HorizonDbFirewallRuleProperties
    The resource-specific properties for this resource.
    ClusterName string
    The name of the HorizonDB cluster.
    PoolName string
    The name of the HorizonDB pool.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    FirewallRuleName string
    The name of the HorizonDB firewall rule.
    Properties HorizonDbFirewallRulePropertiesArgs
    The resource-specific properties for this resource.
    cluster_name string
    The name of the HorizonDB cluster.
    pool_name string
    The name of the HorizonDB pool.
    resource_group_name string
    The name of the resource group. The name is case insensitive.
    firewall_rule_name string
    The name of the HorizonDB firewall rule.
    properties object
    The resource-specific properties for this resource.
    clusterName String
    The name of the HorizonDB cluster.
    poolName String
    The name of the HorizonDB pool.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    firewallRuleName String
    The name of the HorizonDB firewall rule.
    properties HorizonDbFirewallRuleProperties
    The resource-specific properties for this resource.
    clusterName string
    The name of the HorizonDB cluster.
    poolName string
    The name of the HorizonDB pool.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    firewallRuleName string
    The name of the HorizonDB firewall rule.
    properties HorizonDbFirewallRuleProperties
    The resource-specific properties for this resource.
    cluster_name str
    The name of the HorizonDB cluster.
    pool_name str
    The name of the HorizonDB pool.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    firewall_rule_name str
    The name of the HorizonDB firewall rule.
    properties HorizonDbFirewallRulePropertiesArgs
    The resource-specific properties for this resource.
    clusterName String
    The name of the HorizonDB cluster.
    poolName String
    The name of the HorizonDB pool.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    firewallRuleName String
    The name of the HorizonDB firewall rule.
    properties Property Map
    The resource-specific properties for this resource.

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.HorizonDb.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"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name 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"
    azure_api_version string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    system_data object
    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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name 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"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name 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"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name 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"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name 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"

    Supporting Types

    HorizonDbFirewallRuleProperties, HorizonDbFirewallRulePropertiesArgs

    Properties of a HorizonDB firewall rule.
    EndIpAddress string
    The end IP address of the firewall rule (IPv4).
    StartIpAddress string
    The start IP address of the firewall rule (IPv4).
    Description string
    The description of the HorizonDB firewall rule.
    EndIpAddress string
    The end IP address of the firewall rule (IPv4).
    StartIpAddress string
    The start IP address of the firewall rule (IPv4).
    Description string
    The description of the HorizonDB firewall rule.
    end_ip_address string
    The end IP address of the firewall rule (IPv4).
    start_ip_address string
    The start IP address of the firewall rule (IPv4).
    description string
    The description of the HorizonDB firewall rule.
    endIpAddress String
    The end IP address of the firewall rule (IPv4).
    startIpAddress String
    The start IP address of the firewall rule (IPv4).
    description String
    The description of the HorizonDB firewall rule.
    endIpAddress string
    The end IP address of the firewall rule (IPv4).
    startIpAddress string
    The start IP address of the firewall rule (IPv4).
    description string
    The description of the HorizonDB firewall rule.
    end_ip_address str
    The end IP address of the firewall rule (IPv4).
    start_ip_address str
    The start IP address of the firewall rule (IPv4).
    description str
    The description of the HorizonDB firewall rule.
    endIpAddress String
    The end IP address of the firewall rule (IPv4).
    startIpAddress String
    The start IP address of the firewall rule (IPv4).
    description String
    The description of the HorizonDB firewall rule.

    HorizonDbFirewallRulePropertiesResponse, HorizonDbFirewallRulePropertiesResponseArgs

    Properties of a HorizonDB firewall rule.
    EndIpAddress string
    The end IP address of the firewall rule (IPv4).
    ProvisioningState string
    The provisioning state of the firewall rule.
    StartIpAddress string
    The start IP address of the firewall rule (IPv4).
    Description string
    The description of the HorizonDB firewall rule.
    EndIpAddress string
    The end IP address of the firewall rule (IPv4).
    ProvisioningState string
    The provisioning state of the firewall rule.
    StartIpAddress string
    The start IP address of the firewall rule (IPv4).
    Description string
    The description of the HorizonDB firewall rule.
    end_ip_address string
    The end IP address of the firewall rule (IPv4).
    provisioning_state string
    The provisioning state of the firewall rule.
    start_ip_address string
    The start IP address of the firewall rule (IPv4).
    description string
    The description of the HorizonDB firewall rule.
    endIpAddress String
    The end IP address of the firewall rule (IPv4).
    provisioningState String
    The provisioning state of the firewall rule.
    startIpAddress String
    The start IP address of the firewall rule (IPv4).
    description String
    The description of the HorizonDB firewall rule.
    endIpAddress string
    The end IP address of the firewall rule (IPv4).
    provisioningState string
    The provisioning state of the firewall rule.
    startIpAddress string
    The start IP address of the firewall rule (IPv4).
    description string
    The description of the HorizonDB firewall rule.
    end_ip_address str
    The end IP address of the firewall rule (IPv4).
    provisioning_state str
    The provisioning state of the firewall rule.
    start_ip_address str
    The start IP address of the firewall rule (IPv4).
    description str
    The description of the HorizonDB firewall rule.
    endIpAddress String
    The end IP address of the firewall rule (IPv4).
    provisioningState String
    The provisioning state of the firewall rule.
    startIpAddress String
    The start IP address of the firewall rule (IPv4).
    description String
    The description of the HorizonDB firewall rule.

    SystemDataResponse, SystemDataResponseArgs

    Metadata pertaining to creation and last modification of 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 string
    The timestamp of resource creation (UTC).
    created_by string
    The identity that created the resource.
    created_by_type string
    The type of identity that created the resource.
    last_modified_at string
    The timestamp of resource last modification (UTC)
    last_modified_by string
    The identity that last modified the resource.
    last_modified_by_type 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:horizondb:HorizonDbFirewallRule examplefirewallrule /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HorizonDb/clusters/{clusterName}/pools/{poolName}/firewallRules/{firewallRuleName} 
    

    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 v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.23.0
    published on Saturday, Jul 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial