@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the specified Data Lake Store virtual network rule.
*
* Uses Azure REST API version 2016-11-01.
*/
export declare function getVirtualNetworkRule(args: GetVirtualNetworkRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetVirtualNetworkRuleResult>;
export interface GetVirtualNetworkRuleArgs {
/**
* The name of the Data Lake Store account.
*/
accountName: string;
/**
* The name of the Azure resource group.
*/
resourceGroupName: string;
/**
* The name of the virtual network rule to retrieve.
*/
virtualNetworkRuleName: string;
}
/**
* Data Lake Store virtual network rule information.
*/
export interface GetVirtualNetworkRuleResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The resource identifier.
*/
readonly id: string;
/**
* The resource name.
*/
readonly name: string;
/**
* The resource identifier for the subnet.
*/
readonly subnetId: string;
/**
* The resource type.
*/
readonly type: string;
}
/**
* Gets the specified Data Lake Store virtual network rule.
*
* Uses Azure REST API version 2016-11-01.
*/
export declare function getVirtualNetworkRuleOutput(args: GetVirtualNetworkRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVirtualNetworkRuleResult>;
export interface GetVirtualNetworkRuleOutputArgs {
/**
* The name of the Data Lake Store account.
*/
accountName: pulumi.Input<string>;
/**
* The name of the Azure resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the virtual network rule to retrieve.
*/
virtualNetworkRuleName: pulumi.Input<string>;
}