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

67 lines (66 loc) 2.15 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets an VirtualNetworkRule for a Namespace by rule name. * * Uses Azure REST API version 2018-01-01-preview. */ export declare function getNamespaceVirtualNetworkRule(args: GetNamespaceVirtualNetworkRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespaceVirtualNetworkRuleResult>; export interface GetNamespaceVirtualNetworkRuleArgs { /** * The Namespace name */ namespaceName: string; /** * Name of the resource group within the azure subscription. */ resourceGroupName: string; /** * The Virtual Network Rule name. */ virtualNetworkRuleName: string; } /** * Single item in a List or Get VirtualNetworkRules operation */ export interface GetNamespaceVirtualNetworkRuleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * ARM ID of Virtual Network Subnet */ readonly virtualNetworkSubnetId?: string; } /** * Gets an VirtualNetworkRule for a Namespace by rule name. * * Uses Azure REST API version 2018-01-01-preview. */ export declare function getNamespaceVirtualNetworkRuleOutput(args: GetNamespaceVirtualNetworkRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNamespaceVirtualNetworkRuleResult>; export interface GetNamespaceVirtualNetworkRuleOutputArgs { /** * The Namespace name */ namespaceName: pulumi.Input<string>; /** * Name of the resource group within the azure subscription. */ resourceGroupName: pulumi.Input<string>; /** * The Virtual Network Rule name. */ virtualNetworkRuleName: pulumi.Input<string>; }