Use Pulumi's new import command to generate code from existing cloud resources. Learn More

IpFirewallRule

IP firewall rule

Example Usage

Create an IP firewall rule

using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;

class MyStack : Stack
{
    public MyStack()
    {
        var ipFirewallRule = new AzureNextGen.Synapse.V20190601Preview.IpFirewallRule("ipFirewallRule", new AzureNextGen.Synapse.V20190601Preview.IpFirewallRuleArgs
        {
            EndIpAddress = "10.0.0.254",
            ResourceGroupName = "ExampleResourceGroup",
            RuleName = "ExampleIpFirewallRule",
            StartIpAddress = "10.0.0.0",
            WorkspaceName = "ExampleWorkspace",
        });
    }

}
package main

import (
    synapse "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/synapse/v20190601preview"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := synapse.NewIpFirewallRule(ctx, "ipFirewallRule", &synapse.IpFirewallRuleArgs{
            EndIpAddress:      pulumi.String("10.0.0.254"),
            ResourceGroupName: pulumi.String("ExampleResourceGroup"),
            RuleName:          pulumi.String("ExampleIpFirewallRule"),
            StartIpAddress:    pulumi.String("10.0.0.0"),
            WorkspaceName:     pulumi.String("ExampleWorkspace"),
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen

ip_firewall_rule = azure_nextgen.synapse.v20190601preview.IpFirewallRule("ipFirewallRule",
    end_ip_address="10.0.0.254",
    resource_group_name="ExampleResourceGroup",
    rule_name="ExampleIpFirewallRule",
    start_ip_address="10.0.0.0",
    workspace_name="ExampleWorkspace")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";

const ipFirewallRule = new azure_nextgen.synapse.v20190601preview.IpFirewallRule("ipFirewallRule", {
    endIpAddress: "10.0.0.254",
    resourceGroupName: "ExampleResourceGroup",
    ruleName: "ExampleIpFirewallRule",
    startIpAddress: "10.0.0.0",
    workspaceName: "ExampleWorkspace",
});

Create a IpFirewallRule Resource

new IpFirewallRule(name: string, args: IpFirewallRuleArgs, opts?: CustomResourceOptions);
def IpFirewallRule(resource_name: str, opts: Optional[ResourceOptions] = None, end_ip_address: Optional[str] = None, resource_group_name: Optional[str] = None, rule_name: Optional[str] = None, start_ip_address: Optional[str] = None, workspace_name: Optional[str] = None)
func NewIpFirewallRule(ctx *Context, name string, args IpFirewallRuleArgs, opts ...ResourceOption) (*IpFirewallRule, error)
public IpFirewallRule(string name, IpFirewallRuleArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args IpFirewallRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args IpFirewallRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IpFirewallRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

IpFirewallRule Resource Properties

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

Inputs

The IpFirewallRule resource accepts the following input properties:

ResourceGroupName string
The name of the resource group. The name is case insensitive.
RuleName string
The IP firewall rule name
WorkspaceName string
The name of the workspace
EndIpAddress string
The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress
StartIpAddress string
The start IP address of the firewall rule. Must be IPv4 format
ResourceGroupName string
The name of the resource group. The name is case insensitive.
RuleName string
The IP firewall rule name
WorkspaceName string
The name of the workspace
EndIpAddress string
The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress
StartIpAddress string
The start IP address of the firewall rule. Must be IPv4 format
resourceGroupName string
The name of the resource group. The name is case insensitive.
ruleName string
The IP firewall rule name
workspaceName string
The name of the workspace
endIpAddress string
The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress
startIpAddress string
The start IP address of the firewall rule. Must be IPv4 format
resource_group_name str
The name of the resource group. The name is case insensitive.
rule_name str
The IP firewall rule name
workspace_name str
The name of the workspace
end_ip_address str
The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress
start_ip_address str
The start IP address of the firewall rule. Must be IPv4 format

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
Resource provisioning state
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
Resource provisioning state
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
Resource provisioning state
type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
Resource provisioning state
type str
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”

Import

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

$ pulumi import azure-nextgen:synapse/v20190601preview:IpFirewallRule ExampleIpFirewallRule /subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-nextgen
License
Apache-2.0