UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

71 lines (70 loc) 2.03 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the specified Data Lake Analytics firewall rule. * * Uses Azure REST API version 2019-11-01-preview. */ export declare function getFirewallRule(args: GetFirewallRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetFirewallRuleResult>; export interface GetFirewallRuleArgs { /** * The name of the Data Lake Analytics account. */ accountName: string; /** * The name of the firewall rule to retrieve. */ firewallRuleName: string; /** * The name of the Azure resource group. */ resourceGroupName: string; } /** * Data Lake Analytics firewall rule information. */ export interface GetFirewallRuleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol. */ readonly endIpAddress: string; /** * The resource identifier. */ readonly id: string; /** * The resource name. */ readonly name: string; /** * The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol. */ readonly startIpAddress: string; /** * The resource type. */ readonly type: string; } /** * Gets the specified Data Lake Analytics firewall rule. * * Uses Azure REST API version 2019-11-01-preview. */ export declare function getFirewallRuleOutput(args: GetFirewallRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFirewallRuleResult>; export interface GetFirewallRuleOutputArgs { /** * The name of the Data Lake Analytics account. */ accountName: pulumi.Input<string>; /** * The name of the firewall rule to retrieve. */ firewallRuleName: pulumi.Input<string>; /** * The name of the Azure resource group. */ resourceGroupName: pulumi.Input<string>; }