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

75 lines (74 loc) 2.36 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets a virtual network rule. * * Uses Azure REST API version 2017-12-01. */ export declare function getSingleServerVirtualNetworkRule(args: GetSingleServerVirtualNetworkRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetSingleServerVirtualNetworkRuleResult>; export interface GetSingleServerVirtualNetworkRuleArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the server. */ serverName: string; /** * The name of the virtual network rule. */ virtualNetworkRuleName: string; } /** * A virtual network rule. */ export interface GetSingleServerVirtualNetworkRuleResult { /** * 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; /** * Create firewall rule before the virtual network has vnet service endpoint enabled. */ readonly ignoreMissingVnetServiceEndpoint?: boolean; /** * The name of the resource */ readonly name: string; /** * Virtual Network Rule State */ readonly state: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * The ARM resource id of the virtual network subnet. */ readonly virtualNetworkSubnetId: string; } /** * Gets a virtual network rule. * * Uses Azure REST API version 2017-12-01. */ export declare function getSingleServerVirtualNetworkRuleOutput(args: GetSingleServerVirtualNetworkRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSingleServerVirtualNetworkRuleResult>; export interface GetSingleServerVirtualNetworkRuleOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the server. */ serverName: pulumi.Input<string>; /** * The name of the virtual network rule. */ virtualNetworkRuleName: pulumi.Input<string>; }