Class StoreFirewallRule
Manages a Azure Data Lake Store Firewall Rule.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "northeurope",
});
var exampleStore = new Azure.DataLake.Store("exampleStore", new Azure.DataLake.StoreArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
});
var exampleStoreFirewallRule = new Azure.DataLake.StoreFirewallRule("exampleStoreFirewallRule", new Azure.DataLake.StoreFirewallRuleArgs
{
AccountName = exampleStore.Name,
ResourceGroupName = exampleResourceGroup.Name,
StartIpAddress = "1.2.3.4",
EndIpAddress = "2.3.4.5",
});
}
}
Inherited Members
Namespace: Pulumi.Azure.DataLake
Assembly: Pulumi.Azure.dll
Syntax
public class StoreFirewallRule : CustomResource
Constructors
View SourceStoreFirewallRule(String, StoreFirewallRuleArgs, CustomResourceOptions)
Create a StoreFirewallRule resource with the given unique name, arguments, and options.
Declaration
public StoreFirewallRule(string name, StoreFirewallRuleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| StoreFirewallRuleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountName
Specifies the name of the Data Lake Store for which the Firewall Rule should take effect.
Declaration
public Output<string> AccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
EndIpAddress
The End IP Address for the firewall rule.
Declaration
public Output<string> EndIpAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Specifies the name of the Data Lake Store. Changing this forces a new resource to be created. Has to be between 3 to 24 characters.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
The name of the resource group in which to create the Data Lake Store.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StartIpAddress
The Start IP address for the firewall rule.
Declaration
public Output<string> StartIpAddress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, StoreFirewallRuleState, CustomResourceOptions)
Get an existing StoreFirewallRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static StoreFirewallRule Get(string name, Input<string> id, StoreFirewallRuleState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| StoreFirewallRuleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| StoreFirewallRule |