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

86 lines (85 loc) 2.63 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets an Internet Gateway Rule resource. * * Uses Azure REST API version 2023-06-15. */ export declare function getInternetGatewayRule(args: GetInternetGatewayRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetInternetGatewayRuleResult>; export interface GetInternetGatewayRuleArgs { /** * Name of the Internet Gateway rule. */ internetGatewayRuleName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * The Internet Gateway Rule resource definition. */ export interface GetInternetGatewayRuleResult { /** * Switch configuration description. */ readonly annotation?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * List of Internet Gateway resource Id. */ readonly internetGatewayIds: string[]; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Provisioning state of the resource. */ readonly provisioningState: string; /** * Rules for the InternetGateways */ readonly ruleProperties: outputs.managednetworkfabric.RulePropertiesResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.managednetworkfabric.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets an Internet Gateway Rule resource. * * Uses Azure REST API version 2023-06-15. */ export declare function getInternetGatewayRuleOutput(args: GetInternetGatewayRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInternetGatewayRuleResult>; export interface GetInternetGatewayRuleOutputArgs { /** * Name of the Internet Gateway rule. */ internetGatewayRuleName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }