Class AnalyticsFirewallRule
Manages a Azure Data Lake Analytics 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 exampleAnalyticsAccount = new Azure.DataLake.AnalyticsAccount("exampleAnalyticsAccount", new Azure.DataLake.AnalyticsAccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
DefaultStoreAccountName = exampleStore.Name,
});
var exampleAnalyticsFirewallRule = new Azure.DataLake.AnalyticsFirewallRule("exampleAnalyticsFirewallRule", new Azure.DataLake.AnalyticsFirewallRuleArgs
{
AccountName = azurerm_data_lake_analytics.Example.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 AnalyticsFirewallRule : CustomResource
Constructors
View SourceAnalyticsFirewallRule(String, AnalyticsFirewallRuleArgs, CustomResourceOptions)
Create a AnalyticsFirewallRule resource with the given unique name, arguments, and options.
Declaration
public AnalyticsFirewallRule(string name, AnalyticsFirewallRuleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AnalyticsFirewallRuleArgs | 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 Analytics 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 Analytics. 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 Analytics.
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>, AnalyticsFirewallRuleState, CustomResourceOptions)
Get an existing AnalyticsFirewallRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static AnalyticsFirewallRule Get(string name, Input<string> id, AnalyticsFirewallRuleState 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. |
| AnalyticsFirewallRuleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| AnalyticsFirewallRule |