This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.network.getRulesEngine
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets a Rules Engine Configuration with the specified name within the specified Front Door. Azure REST API version: 2021-06-01.
Using getRulesEngine
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRulesEngine(args: GetRulesEngineArgs, opts?: InvokeOptions): Promise<GetRulesEngineResult>
function getRulesEngineOutput(args: GetRulesEngineOutputArgs, opts?: InvokeOptions): Output<GetRulesEngineResult>
def get_rules_engine(front_door_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rules_engine_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRulesEngineResult
def get_rules_engine_output(front_door_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
rules_engine_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRulesEngineResult]
func LookupRulesEngine(ctx *Context, args *LookupRulesEngineArgs, opts ...InvokeOption) (*LookupRulesEngineResult, error)
func LookupRulesEngineOutput(ctx *Context, args *LookupRulesEngineOutputArgs, opts ...InvokeOption) LookupRulesEngineResultOutput
> Note: This function is named LookupRulesEngine
in the Go SDK.
public static class GetRulesEngine
{
public static Task<GetRulesEngineResult> InvokeAsync(GetRulesEngineArgs args, InvokeOptions? opts = null)
public static Output<GetRulesEngineResult> Invoke(GetRulesEngineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRulesEngineResult> getRulesEngine(GetRulesEngineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getRulesEngine
arguments:
# arguments dictionary
The following arguments are supported:
- Front
Door stringName - Name of the Front Door which is globally unique.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Rules
Engine stringName - Name of the Rules Engine which is unique within the Front Door.
- Front
Door stringName - Name of the Front Door which is globally unique.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Rules
Engine stringName - Name of the Rules Engine which is unique within the Front Door.
- front
Door StringName - Name of the Front Door which is globally unique.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- rules
Engine StringName - Name of the Rules Engine which is unique within the Front Door.
- front
Door stringName - Name of the Front Door which is globally unique.
- resource
Group stringName - Name of the Resource group within the Azure subscription.
- rules
Engine stringName - Name of the Rules Engine which is unique within the Front Door.
- front_
door_ strname - Name of the Front Door which is globally unique.
- resource_
group_ strname - Name of the Resource group within the Azure subscription.
- rules_
engine_ strname - Name of the Rules Engine which is unique within the Front Door.
- front
Door StringName - Name of the Front Door which is globally unique.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- rules
Engine StringName - Name of the Rules Engine which is unique within the Front Door.
getRulesEngine Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- Resource
State string - Resource status.
- Type string
- Resource type.
- Rules
List<Pulumi.
Azure Native. Network. Outputs. Rules Engine Rule Response> - A list of rules that define a particular Rules Engine Configuration.
- Id string
- Resource ID.
- Name string
- Resource name.
- Resource
State string - Resource status.
- Type string
- Resource type.
- Rules
[]Rules
Engine Rule Response - A list of rules that define a particular Rules Engine Configuration.
- id String
- Resource ID.
- name String
- Resource name.
- resource
State String - Resource status.
- type String
- Resource type.
- rules
List<Rules
Engine Rule Response> - A list of rules that define a particular Rules Engine Configuration.
- id string
- Resource ID.
- name string
- Resource name.
- resource
State string - Resource status.
- type string
- Resource type.
- rules
Rules
Engine Rule Response[] - A list of rules that define a particular Rules Engine Configuration.
- id str
- Resource ID.
- name str
- Resource name.
- resource_
state str - Resource status.
- type str
- Resource type.
- rules
Sequence[Rules
Engine Rule Response] - A list of rules that define a particular Rules Engine Configuration.
- id String
- Resource ID.
- name String
- Resource name.
- resource
State String - Resource status.
- type String
- Resource type.
- rules List<Property Map>
- A list of rules that define a particular Rules Engine Configuration.
Supporting Types
CacheConfigurationResponse
- Cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- Dynamic
Compression string - Whether to use dynamic compression for cached content
- Query
Parameter stringStrip Directive - Treatment of URL query terms when forming the cache key.
- Query
Parameters string - query parameters to include or exclude (comma separated).
- Cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- Dynamic
Compression string - Whether to use dynamic compression for cached content
- Query
Parameter stringStrip Directive - Treatment of URL query terms when forming the cache key.
- Query
Parameters string - query parameters to include or exclude (comma separated).
- cache
Duration String - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression String - Whether to use dynamic compression for cached content
- query
Parameter StringStrip Directive - Treatment of URL query terms when forming the cache key.
- query
Parameters String - query parameters to include or exclude (comma separated).
- cache
Duration string - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression string - Whether to use dynamic compression for cached content
- query
Parameter stringStrip Directive - Treatment of URL query terms when forming the cache key.
- query
Parameters string - query parameters to include or exclude (comma separated).
- cache_
duration str - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic_
compression str - Whether to use dynamic compression for cached content
- query_
parameter_ strstrip_ directive - Treatment of URL query terms when forming the cache key.
- query_
parameters str - query parameters to include or exclude (comma separated).
- cache
Duration String - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
- dynamic
Compression String - Whether to use dynamic compression for cached content
- query
Parameter StringStrip Directive - Treatment of URL query terms when forming the cache key.
- query
Parameters String - query parameters to include or exclude (comma separated).
ForwardingConfigurationResponse
- Backend
Pool Pulumi.Azure Native. Network. Inputs. Sub Resource Response - A reference to the BackendPool which this rule routes to.
- Cache
Configuration Pulumi.Azure Native. Network. Inputs. Cache Configuration Response - The caching configuration associated with this rule.
- Custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- Forwarding
Protocol string - Protocol this rule will use when forwarding traffic to backends.
- Backend
Pool SubResource Response - A reference to the BackendPool which this rule routes to.
- Cache
Configuration CacheConfiguration Response - The caching configuration associated with this rule.
- Custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- Forwarding
Protocol string - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool SubResource Response - A reference to the BackendPool which this rule routes to.
- cache
Configuration CacheConfiguration Response - The caching configuration associated with this rule.
- custom
Forwarding StringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol String - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool SubResource Response - A reference to the BackendPool which this rule routes to.
- cache
Configuration CacheConfiguration Response - The caching configuration associated with this rule.
- custom
Forwarding stringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol string - Protocol this rule will use when forwarding traffic to backends.
- backend_
pool SubResource Response - A reference to the BackendPool which this rule routes to.
- cache_
configuration CacheConfiguration Response - The caching configuration associated with this rule.
- custom_
forwarding_ strpath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding_
protocol str - Protocol this rule will use when forwarding traffic to backends.
- backend
Pool Property Map - A reference to the BackendPool which this rule routes to.
- cache
Configuration Property Map - The caching configuration associated with this rule.
- custom
Forwarding StringPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
- forwarding
Protocol String - Protocol this rule will use when forwarding traffic to backends.
HeaderActionResponse
- Header
Action stringType - Which type of manipulation to apply to the header.
- Header
Name string - The name of the header this action will apply to.
- Value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- Header
Action stringType - Which type of manipulation to apply to the header.
- Header
Name string - The name of the header this action will apply to.
- Value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action StringType - Which type of manipulation to apply to the header.
- header
Name String - The name of the header this action will apply to.
- value String
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action stringType - Which type of manipulation to apply to the header.
- header
Name string - The name of the header this action will apply to.
- value string
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header_
action_ strtype - Which type of manipulation to apply to the header.
- header_
name str - The name of the header this action will apply to.
- value str
- The value to update the given header name with. This value is not used if the actionType is Delete.
- header
Action StringType - Which type of manipulation to apply to the header.
- header
Name String - The name of the header this action will apply to.
- value String
- The value to update the given header name with. This value is not used if the actionType is Delete.
RedirectConfigurationResponse
- Custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- Custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- Custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- Custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- Redirect
Protocol string - The protocol of the destination to where the traffic is redirected
- Redirect
Type string - The redirect type the rule will use when redirecting traffic.
- Custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- Custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- Custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- Custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- Redirect
Protocol string - The protocol of the destination to where the traffic is redirected
- Redirect
Type string - The redirect type the rule will use when redirecting traffic.
- custom
Fragment String - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host String - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path String - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query StringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol String - The protocol of the destination to where the traffic is redirected
- redirect
Type String - The redirect type the rule will use when redirecting traffic.
- custom
Fragment string - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host string - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path string - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query stringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol string - The protocol of the destination to where the traffic is redirected
- redirect
Type string - The redirect type the rule will use when redirecting traffic.
- custom_
fragment str - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom_
host str - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom_
path str - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom_
query_ strstring - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect_
protocol str - The protocol of the destination to where the traffic is redirected
- redirect_
type str - The redirect type the rule will use when redirecting traffic.
- custom
Fragment String - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
- custom
Host String - Host to redirect. Leave empty to use the incoming host as the destination host.
- custom
Path String - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
- custom
Query StringString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
- redirect
Protocol String - The protocol of the destination to where the traffic is redirected
- redirect
Type String - The redirect type the rule will use when redirecting traffic.
RulesEngineActionResponse
- Request
Header List<Pulumi.Actions Azure Native. Network. Inputs. Header Action Response> - A list of header actions to apply from the request from AFD to the origin.
- Response
Header List<Pulumi.Actions Azure Native. Network. Inputs. Header Action Response> - A list of header actions to apply from the response from AFD to the client.
- Route
Configuration Pulumi.Override Azure | Pulumi.Native. Network. Inputs. Forwarding Configuration Response Azure Native. Network. Inputs. Redirect Configuration Response - Override the route configuration.
- Request
Header []HeaderActions Action Response - A list of header actions to apply from the request from AFD to the origin.
- Response
Header []HeaderActions Action Response - A list of header actions to apply from the response from AFD to the client.
- Route
Configuration ForwardingOverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request
Header List<HeaderActions Action Response> - A list of header actions to apply from the request from AFD to the origin.
- response
Header List<HeaderActions Action Response> - A list of header actions to apply from the response from AFD to the client.
- route
Configuration ForwardingOverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request
Header HeaderActions Action Response[] - A list of header actions to apply from the request from AFD to the origin.
- response
Header HeaderActions Action Response[] - A list of header actions to apply from the response from AFD to the client.
- route
Configuration ForwardingOverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request_
header_ Sequence[Headeractions Action Response] - A list of header actions to apply from the request from AFD to the origin.
- response_
header_ Sequence[Headeractions Action Response] - A list of header actions to apply from the response from AFD to the client.
- route_
configuration_ Forwardingoverride Configuration | RedirectResponse Configuration Response - Override the route configuration.
- request
Header List<Property Map>Actions - A list of header actions to apply from the request from AFD to the origin.
- response
Header List<Property Map>Actions - A list of header actions to apply from the response from AFD to the client.
- route
Configuration Property Map | Property MapOverride - Override the route configuration.
RulesEngineMatchConditionResponse
- Rules
Engine List<string>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- Rules
Engine stringMatch Variable - Match Variable
- Rules
Engine stringOperator - Describes operator to apply to the match condition.
- Negate
Condition bool - Describes if this is negate condition or not
- Selector string
- Name of selector in RequestHeader or RequestBody to be matched
- Transforms List<string>
- List of transforms
- Rules
Engine []stringMatch Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- Rules
Engine stringMatch Variable - Match Variable
- Rules
Engine stringOperator - Describes operator to apply to the match condition.
- Negate
Condition bool - Describes if this is negate condition or not
- Selector string
- Name of selector in RequestHeader or RequestBody to be matched
- Transforms []string
- List of transforms
- rules
Engine List<String>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine StringMatch Variable - Match Variable
- rules
Engine StringOperator - Describes operator to apply to the match condition.
- negate
Condition Boolean - Describes if this is negate condition or not
- selector String
- Name of selector in RequestHeader or RequestBody to be matched
- transforms List<String>
- List of transforms
- rules
Engine string[]Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine stringMatch Variable - Match Variable
- rules
Engine stringOperator - Describes operator to apply to the match condition.
- negate
Condition boolean - Describes if this is negate condition or not
- selector string
- Name of selector in RequestHeader or RequestBody to be matched
- transforms string[]
- List of transforms
- rules_
engine_ Sequence[str]match_ value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules_
engine_ strmatch_ variable - Match Variable
- rules_
engine_ stroperator - Describes operator to apply to the match condition.
- negate_
condition bool - Describes if this is negate condition or not
- selector str
- Name of selector in RequestHeader or RequestBody to be matched
- transforms Sequence[str]
- List of transforms
- rules
Engine List<String>Match Value - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
- rules
Engine StringMatch Variable - Match Variable
- rules
Engine StringOperator - Describes operator to apply to the match condition.
- negate
Condition Boolean - Describes if this is negate condition or not
- selector String
- Name of selector in RequestHeader or RequestBody to be matched
- transforms List<String>
- List of transforms
RulesEngineRuleResponse
- Action
Pulumi.
Azure Native. Network. Inputs. Rules Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- Name string
- A name to refer to this specific rule.
- Priority int
- A priority assigned to this rule.
- Match
Conditions List<Pulumi.Azure Native. Network. Inputs. Rules Engine Match Condition Response> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- Match
Processing stringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- Action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- Name string
- A name to refer to this specific rule.
- Priority int
- A priority assigned to this rule.
- Match
Conditions []RulesEngine Match Condition Response - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- Match
Processing stringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- name String
- A name to refer to this specific rule.
- priority Integer
- A priority assigned to this rule.
- match
Conditions List<RulesEngine Match Condition Response> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing StringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- name string
- A name to refer to this specific rule.
- priority number
- A priority assigned to this rule.
- match
Conditions RulesEngine Match Condition Response[] - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing stringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action
Rules
Engine Action Response - Actions to perform on the request and response if all of the match conditions are met.
- name str
- A name to refer to this specific rule.
- priority int
- A priority assigned to this rule.
- match_
conditions Sequence[RulesEngine Match Condition Response] - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match_
processing_ strbehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
- action Property Map
- Actions to perform on the request and response if all of the match conditions are met.
- name String
- A name to refer to this specific rule.
- priority Number
- A priority assigned to this rule.
- match
Conditions List<Property Map> - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
- match
Processing StringBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue.
SubResourceResponse
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi