@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.15 kB
TypeScript
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>;
}