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

76 lines (75 loc) 2.78 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a Rules Engine Configuration with the specified name within the specified Front Door. * * Uses Azure REST API version 2021-06-01. * * Other available API versions: 2020-01-01, 2020-04-01, 2020-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native frontdoor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRulesEngine(args: GetRulesEngineArgs, opts?: pulumi.InvokeOptions): Promise<GetRulesEngineResult>; export interface GetRulesEngineArgs { /** * Name of the Front Door which is globally unique. */ frontDoorName: string; /** * Name of the Resource group within the Azure subscription. */ resourceGroupName: string; /** * Name of the Rules Engine which is unique within the Front Door. */ rulesEngineName: string; } /** * A rules engine configuration containing a list of rules that will run to modify the runtime behavior of the request and response. */ export interface GetRulesEngineResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Resource ID. */ readonly id: string; /** * Resource name. */ readonly name: string; /** * Resource status. */ readonly resourceState: string; /** * A list of rules that define a particular Rules Engine Configuration. */ readonly rules?: outputs.frontdoor.RulesEngineRuleResponse[]; /** * Resource type. */ readonly type: string; } /** * Gets a Rules Engine Configuration with the specified name within the specified Front Door. * * Uses Azure REST API version 2021-06-01. * * Other available API versions: 2020-01-01, 2020-04-01, 2020-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native frontdoor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getRulesEngineOutput(args: GetRulesEngineOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRulesEngineResult>; export interface GetRulesEngineOutputArgs { /** * Name of the Front Door which is globally unique. */ frontDoorName: pulumi.Input<string>; /** * Name of the Resource group within the Azure subscription. */ resourceGroupName: pulumi.Input<string>; /** * Name of the Rules Engine which is unique within the Front Door. */ rulesEngineName: pulumi.Input<string>; }