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

112 lines (111 loc) 3.6 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a network manager routing configuration routing rule. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2024-03-01, 2024-07-01, 2024-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRoutingRule(args: GetRoutingRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutingRuleResult>; export interface GetRoutingRuleArgs { /** * The name of the network manager Routing Configuration. */ configurationName: string; /** * The name of the network manager. */ networkManagerName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the network manager routing Configuration rule collection. */ ruleCollectionName: string; /** * The name of the rule. */ ruleName: string; } /** * Network routing rule. */ export interface GetRoutingRuleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * A description for this rule. */ readonly description?: string; /** * Indicates the destination for this particular rule. */ readonly destination: outputs.network.RoutingRuleRouteDestinationResponse; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Resource ID. */ readonly id: string; /** * Resource name. */ readonly name: string; /** * Indicates the next hop for this particular rule. */ readonly nextHop: outputs.network.RoutingRuleNextHopResponse; /** * The provisioning state of the resource. */ readonly provisioningState: string; /** * Unique identifier for this resource. */ readonly resourceGuid: string; /** * The system metadata related to this resource. */ readonly systemData: outputs.network.SystemDataResponse; /** * Resource type. */ readonly type: string; } /** * Gets a network manager routing configuration routing rule. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2024-03-01, 2024-07-01, 2024-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRoutingRuleOutput(args: GetRoutingRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRoutingRuleResult>; export interface GetRoutingRuleOutputArgs { /** * The name of the network manager Routing Configuration. */ configurationName: pulumi.Input<string>; /** * The name of the network manager. */ networkManagerName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the network manager routing Configuration rule collection. */ ruleCollectionName: pulumi.Input<string>; /** * The name of the rule. */ ruleName: pulumi.Input<string>; }