azure-native.app.getHttpRouteConfig
Explore with Pulumi AI
Advanced Ingress routing for path/header based routing for a Container App Environment
Uses Azure REST API version 2024-10-02-preview.
Other available API versions: 2025-02-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native app [ApiVersion]
. See the version guide for details.
Using getHttpRouteConfig
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 getHttpRouteConfig(args: GetHttpRouteConfigArgs, opts?: InvokeOptions): Promise<GetHttpRouteConfigResult>
function getHttpRouteConfigOutput(args: GetHttpRouteConfigOutputArgs, opts?: InvokeOptions): Output<GetHttpRouteConfigResult>
def get_http_route_config(environment_name: Optional[str] = None,
http_route_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHttpRouteConfigResult
def get_http_route_config_output(environment_name: Optional[pulumi.Input[str]] = None,
http_route_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHttpRouteConfigResult]
func LookupHttpRouteConfig(ctx *Context, args *LookupHttpRouteConfigArgs, opts ...InvokeOption) (*LookupHttpRouteConfigResult, error)
func LookupHttpRouteConfigOutput(ctx *Context, args *LookupHttpRouteConfigOutputArgs, opts ...InvokeOption) LookupHttpRouteConfigResultOutput
> Note: This function is named LookupHttpRouteConfig
in the Go SDK.
public static class GetHttpRouteConfig
{
public static Task<GetHttpRouteConfigResult> InvokeAsync(GetHttpRouteConfigArgs args, InvokeOptions? opts = null)
public static Output<GetHttpRouteConfigResult> Invoke(GetHttpRouteConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHttpRouteConfigResult> getHttpRouteConfig(GetHttpRouteConfigArgs args, InvokeOptions options)
public static Output<GetHttpRouteConfigResult> getHttpRouteConfig(GetHttpRouteConfigArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:app:getHttpRouteConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Name string - Name of the Managed Environment.
- Http
Route stringName - Name of the Http Route Config Resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Environment
Name string - Name of the Managed Environment.
- Http
Route stringName - Name of the Http Route Config Resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- environment
Name String - Name of the Managed Environment.
- http
Route StringName - Name of the Http Route Config Resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- environment
Name string - Name of the Managed Environment.
- http
Route stringName - Name of the Http Route Config Resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- environment_
name str - Name of the Managed Environment.
- http_
route_ strname - Name of the Http Route Config Resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- environment
Name String - Name of the Managed Environment.
- http
Route StringName - Name of the Http Route Config Resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getHttpRouteConfig Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. App. Outputs. Http Route Config Response Properties - Http Route Config properties
- System
Data Pulumi.Azure Native. App. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Http
Route Config Response Properties - Http Route Config properties
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties
Http
Route Config Response Properties - Http Route Config properties
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- properties
Http
Route Config Response Properties - Http Route Config properties
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- properties
Http
Route Config Response Properties - Http Route Config properties
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties Property Map
- Http Route Config properties
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
CustomDomainResponse
- Name string
- Hostname.
- Binding
Type string - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- Name string
- Hostname.
- Binding
Type string - Custom Domain binding type.
- Certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name string
- Hostname.
- binding
Type string - Custom Domain binding type.
- certificate
Id string - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name str
- Hostname.
- binding_
type str - Custom Domain binding type.
- certificate_
id str - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
- name String
- Hostname.
- binding
Type String - Custom Domain binding type.
- certificate
Id String - Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
HttpRouteActionResponse
- Prefix
Rewrite string - Rewrite prefix, default is no rewrites
- Prefix
Rewrite string - Rewrite prefix, default is no rewrites
- prefix
Rewrite String - Rewrite prefix, default is no rewrites
- prefix
Rewrite string - Rewrite prefix, default is no rewrites
- prefix_
rewrite str - Rewrite prefix, default is no rewrites
- prefix
Rewrite String - Rewrite prefix, default is no rewrites
HttpRouteConfigResponseProperties
- Fqdn string
- FQDN of the route resource.
- Provisioning
Errors List<Pulumi.Azure Native. App. Inputs. Http Route Provisioning Errors Response> - List of errors when trying to reconcile http routes
- Provisioning
State string - The provisioning state of the Http Route Config in cluster
- Custom
Domains List<Pulumi.Azure Native. App. Inputs. Custom Domain Response> - Custom domain bindings for http Routes' hostnames.
- Rules
List<Pulumi.
Azure Native. App. Inputs. Http Route Rule Response> - Routing Rules for http route resource.
- Fqdn string
- FQDN of the route resource.
- Provisioning
Errors []HttpRoute Provisioning Errors Response - List of errors when trying to reconcile http routes
- Provisioning
State string - The provisioning state of the Http Route Config in cluster
- Custom
Domains []CustomDomain Response - Custom domain bindings for http Routes' hostnames.
- Rules
[]Http
Route Rule Response - Routing Rules for http route resource.
- fqdn String
- FQDN of the route resource.
- provisioning
Errors List<HttpRoute Provisioning Errors Response> - List of errors when trying to reconcile http routes
- provisioning
State String - The provisioning state of the Http Route Config in cluster
- custom
Domains List<CustomDomain Response> - Custom domain bindings for http Routes' hostnames.
- rules
List<Http
Route Rule Response> - Routing Rules for http route resource.
- fqdn string
- FQDN of the route resource.
- provisioning
Errors HttpRoute Provisioning Errors Response[] - List of errors when trying to reconcile http routes
- provisioning
State string - The provisioning state of the Http Route Config in cluster
- custom
Domains CustomDomain Response[] - Custom domain bindings for http Routes' hostnames.
- rules
Http
Route Rule Response[] - Routing Rules for http route resource.
- fqdn str
- FQDN of the route resource.
- provisioning_
errors Sequence[HttpRoute Provisioning Errors Response] - List of errors when trying to reconcile http routes
- provisioning_
state str - The provisioning state of the Http Route Config in cluster
- custom_
domains Sequence[CustomDomain Response] - Custom domain bindings for http Routes' hostnames.
- rules
Sequence[Http
Route Rule Response] - Routing Rules for http route resource.
- fqdn String
- FQDN of the route resource.
- provisioning
Errors List<Property Map> - List of errors when trying to reconcile http routes
- provisioning
State String - The provisioning state of the Http Route Config in cluster
- custom
Domains List<Property Map> - Custom domain bindings for http Routes' hostnames.
- rules List<Property Map>
- Routing Rules for http route resource.
HttpRouteMatchResponse
- Case
Sensitive bool - path case sensitive, default is true
- Path string
- match on exact path
- Path
Separated stringPrefix - match on all prefix's. Not exact
- Prefix string
- match on all prefix's. Not exact
- Case
Sensitive bool - path case sensitive, default is true
- Path string
- match on exact path
- Path
Separated stringPrefix - match on all prefix's. Not exact
- Prefix string
- match on all prefix's. Not exact
- case
Sensitive Boolean - path case sensitive, default is true
- path String
- match on exact path
- path
Separated StringPrefix - match on all prefix's. Not exact
- prefix String
- match on all prefix's. Not exact
- case
Sensitive boolean - path case sensitive, default is true
- path string
- match on exact path
- path
Separated stringPrefix - match on all prefix's. Not exact
- prefix string
- match on all prefix's. Not exact
- case_
sensitive bool - path case sensitive, default is true
- path str
- match on exact path
- path_
separated_ strprefix - match on all prefix's. Not exact
- prefix str
- match on all prefix's. Not exact
- case
Sensitive Boolean - path case sensitive, default is true
- path String
- match on exact path
- path
Separated StringPrefix - match on all prefix's. Not exact
- prefix String
- match on all prefix's. Not exact
HttpRouteProvisioningErrorsResponse
HttpRouteResponse
- Action
Pulumi.
Azure Native. App. Inputs. Http Route Action Response - Once route is matched, what is the desired action
- Match
Pulumi.
Azure Native. App. Inputs. Http Route Match Response - Conditions route will match on
- Action
Http
Route Action Response - Once route is matched, what is the desired action
- Match
Http
Route Match Response - Conditions route will match on
- action
Http
Route Action Response - Once route is matched, what is the desired action
- match
Http
Route Match Response - Conditions route will match on
- action
Http
Route Action Response - Once route is matched, what is the desired action
- match
Http
Route Match Response - Conditions route will match on
- action
Http
Route Action Response - Once route is matched, what is the desired action
- match
Http
Route Match Response - Conditions route will match on
- action Property Map
- Once route is matched, what is the desired action
- match Property Map
- Conditions route will match on
HttpRouteRuleResponse
- Description string
- Description of rule. Optional.
- Routes
List<Pulumi.
Azure Native. App. Inputs. Http Route Response> - Routing configuration that will allow matches on specific paths/headers.
- Targets
List<Pulumi.
Azure Native. App. Inputs. Http Route Target Response> - Targets- container apps, revisions, labels
- Description string
- Description of rule. Optional.
- Routes
[]Http
Route Response - Routing configuration that will allow matches on specific paths/headers.
- Targets
[]Http
Route Target Response - Targets- container apps, revisions, labels
- description String
- Description of rule. Optional.
- routes
List<Http
Route Response> - Routing configuration that will allow matches on specific paths/headers.
- targets
List<Http
Route Target Response> - Targets- container apps, revisions, labels
- description string
- Description of rule. Optional.
- routes
Http
Route Response[] - Routing configuration that will allow matches on specific paths/headers.
- targets
Http
Route Target Response[] - Targets- container apps, revisions, labels
- description str
- Description of rule. Optional.
- routes
Sequence[Http
Route Response] - Routing configuration that will allow matches on specific paths/headers.
- targets
Sequence[Http
Route Target Response] - Targets- container apps, revisions, labels
- description String
- Description of rule. Optional.
- routes List<Property Map>
- Routing configuration that will allow matches on specific paths/headers.
- targets List<Property Map>
- Targets- container apps, revisions, labels
HttpRouteTargetResponse
- Container
App string - Container App Name to route requests to
- Label string
- Label/Revision to route requests to
- Revision string
- Revision to route requests to
- Weight int
- Weighted routing
- Container
App string - Container App Name to route requests to
- Label string
- Label/Revision to route requests to
- Revision string
- Revision to route requests to
- Weight int
- Weighted routing
- container
App String - Container App Name to route requests to
- label String
- Label/Revision to route requests to
- revision String
- Revision to route requests to
- weight Integer
- Weighted routing
- container
App string - Container App Name to route requests to
- label string
- Label/Revision to route requests to
- revision string
- Revision to route requests to
- weight number
- Weighted routing
- container_
app str - Container App Name to route requests to
- label str
- Label/Revision to route requests to
- revision str
- Revision to route requests to
- weight int
- Weighted routing
- container
App String - Container App Name to route requests to
- label String
- Label/Revision to route requests to
- revision String
- Revision to route requests to
- weight Number
- Weighted routing
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0