Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi
yandex.getAlbVirtualHost
Explore with Pulumi AI
Get information about a Yandex ALB Virtual Host. For more information, see Yandex.Cloud Application Load Balancer.
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
    public MyStack()
    {
        var my_vh_data = Output.Create(Yandex.GetAlbVirtualHost.InvokeAsync(new Yandex.GetAlbVirtualHostArgs
        {
            Name = yandex_alb_virtual_host.My_vh.Name,
            HttpRouterId = yandex_alb_virtual_host.My_router.Id,
        }));
    }
}
package main
import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := yandex_alb_virtual_host.My - vh.Name
		opt1 := yandex_alb_virtual_host.My - router.Id
		_, err := yandex.LookupAlbVirtualHost(ctx, &GetAlbVirtualHostArgs{
			Name:         &opt0,
			HttpRouterId: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const my-vh-data = yandex.getAlbVirtualHost({
    name: yandex_alb_virtual_host["my-vh"].name,
    httpRouterId: yandex_alb_virtual_host["my-router"].id,
});
import pulumi
import pulumi_yandex as yandex
my_vh_data = yandex.get_alb_virtual_host(name=yandex_alb_virtual_host["my-vh"]["name"],
    http_router_id=yandex_alb_virtual_host["my-router"]["id"])
Coming soon!
Using getAlbVirtualHost
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 getAlbVirtualHost(args: GetAlbVirtualHostArgs, opts?: InvokeOptions): Promise<GetAlbVirtualHostResult>
function getAlbVirtualHostOutput(args: GetAlbVirtualHostOutputArgs, opts?: InvokeOptions): Output<GetAlbVirtualHostResult>def get_alb_virtual_host(http_router_id: Optional[str] = None,
                         name: Optional[str] = None,
                         virtual_host_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetAlbVirtualHostResult
def get_alb_virtual_host_output(http_router_id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         virtual_host_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetAlbVirtualHostResult]func LookupAlbVirtualHost(ctx *Context, args *LookupAlbVirtualHostArgs, opts ...InvokeOption) (*LookupAlbVirtualHostResult, error)
func LookupAlbVirtualHostOutput(ctx *Context, args *LookupAlbVirtualHostOutputArgs, opts ...InvokeOption) LookupAlbVirtualHostResultOutput> Note: This function is named LookupAlbVirtualHost in the Go SDK.
public static class GetAlbVirtualHost 
{
    public static Task<GetAlbVirtualHostResult> InvokeAsync(GetAlbVirtualHostArgs args, InvokeOptions? opts = null)
    public static Output<GetAlbVirtualHostResult> Invoke(GetAlbVirtualHostInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAlbVirtualHostResult> getAlbVirtualHost(GetAlbVirtualHostArgs args, InvokeOptions options)
public static Output<GetAlbVirtualHostResult> getAlbVirtualHost(GetAlbVirtualHostArgs args, InvokeOptions options)
fn::invoke:
  function: yandex:index/getAlbVirtualHost:getAlbVirtualHost
  arguments:
    # arguments dictionaryThe following arguments are supported:
- HttpRouter stringId 
- HTTP Router that the resource belongs to.
- Name string
- Name of the Virtual Host.
- VirtualHost stringId 
- The ID of a specific Virtual Host. Virtual Host ID is concatenation of HTTP Router ID
and Virtual Host name with /symbol between them. For Example, "http_router_id/vhost_name".
- HttpRouter stringId 
- HTTP Router that the resource belongs to.
- Name string
- Name of the Virtual Host.
- VirtualHost stringId 
- The ID of a specific Virtual Host. Virtual Host ID is concatenation of HTTP Router ID
and Virtual Host name with /symbol between them. For Example, "http_router_id/vhost_name".
- httpRouter StringId 
- HTTP Router that the resource belongs to.
- name String
- Name of the Virtual Host.
- virtualHost StringId 
- The ID of a specific Virtual Host. Virtual Host ID is concatenation of HTTP Router ID
and Virtual Host name with /symbol between them. For Example, "http_router_id/vhost_name".
- httpRouter stringId 
- HTTP Router that the resource belongs to.
- name string
- Name of the Virtual Host.
- virtualHost stringId 
- The ID of a specific Virtual Host. Virtual Host ID is concatenation of HTTP Router ID
and Virtual Host name with /symbol between them. For Example, "http_router_id/vhost_name".
- http_router_ strid 
- HTTP Router that the resource belongs to.
- name str
- Name of the Virtual Host.
- virtual_host_ strid 
- The ID of a specific Virtual Host. Virtual Host ID is concatenation of HTTP Router ID
and Virtual Host name with /symbol between them. For Example, "http_router_id/vhost_name".
- httpRouter StringId 
- HTTP Router that the resource belongs to.
- name String
- Name of the Virtual Host.
- virtualHost StringId 
- The ID of a specific Virtual Host. Virtual Host ID is concatenation of HTTP Router ID
and Virtual Host name with /symbol between them. For Example, "http_router_id/vhost_name".
getAlbVirtualHost Result
The following output properties are available:
- List<string>
- A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of '.foo.com' or '-bar.foo.com'. If not specified, all domains will be matched.
- HttpRouter stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifyRequest List<GetHeaders Alb Virtual Host Modify Request Header> 
- Apply the following modifications to the request headers. The structure is documented below.
- ModifyResponse List<GetHeaders Alb Virtual Host Modify Response Header> 
- Apply the following modifications to the response headers. The structure is documented below.
- Name string
- name of the route.
- Routes
List<GetAlb Virtual Host Route> 
- A Route resource. Routes are matched in-order. Be careful when adding them to the end. For instance, having http '/' match first makes all other routes unused. The structure is documented below.
- VirtualHost stringId 
- []string
- A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of '.foo.com' or '-bar.foo.com'. If not specified, all domains will be matched.
- HttpRouter stringId 
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifyRequest []GetHeaders Alb Virtual Host Modify Request Header 
- Apply the following modifications to the request headers. The structure is documented below.
- ModifyResponse []GetHeaders Alb Virtual Host Modify Response Header 
- Apply the following modifications to the response headers. The structure is documented below.
- Name string
- name of the route.
- Routes
[]GetAlb Virtual Host Route 
- A Route resource. Routes are matched in-order. Be careful when adding them to the end. For instance, having http '/' match first makes all other routes unused. The structure is documented below.
- VirtualHost stringId 
- List<String>
- A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of '.foo.com' or '-bar.foo.com'. If not specified, all domains will be matched.
- httpRouter StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- modifyRequest List<GetHeaders Alb Virtual Host Modify Request Header> 
- Apply the following modifications to the request headers. The structure is documented below.
- modifyResponse List<GetHeaders Alb Virtual Host Modify Response Header> 
- Apply the following modifications to the response headers. The structure is documented below.
- name String
- name of the route.
- routes
List<GetAlb Virtual Host Route> 
- A Route resource. Routes are matched in-order. Be careful when adding them to the end. For instance, having http '/' match first makes all other routes unused. The structure is documented below.
- virtualHost StringId 
- string[]
- A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of '.foo.com' or '-bar.foo.com'. If not specified, all domains will be matched.
- httpRouter stringId 
- id string
- The provider-assigned unique ID for this managed resource.
- modifyRequest GetHeaders Alb Virtual Host Modify Request Header[] 
- Apply the following modifications to the request headers. The structure is documented below.
- modifyResponse GetHeaders Alb Virtual Host Modify Response Header[] 
- Apply the following modifications to the response headers. The structure is documented below.
- name string
- name of the route.
- routes
GetAlb Virtual Host Route[] 
- A Route resource. Routes are matched in-order. Be careful when adding them to the end. For instance, having http '/' match first makes all other routes unused. The structure is documented below.
- virtualHost stringId 
- Sequence[str]
- A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of '.foo.com' or '-bar.foo.com'. If not specified, all domains will be matched.
- http_router_ strid 
- id str
- The provider-assigned unique ID for this managed resource.
- modify_request_ Sequence[Getheaders Alb Virtual Host Modify Request Header] 
- Apply the following modifications to the request headers. The structure is documented below.
- modify_response_ Sequence[Getheaders Alb Virtual Host Modify Response Header] 
- Apply the following modifications to the response headers. The structure is documented below.
- name str
- name of the route.
- routes
Sequence[GetAlb Virtual Host Route] 
- A Route resource. Routes are matched in-order. Be careful when adding them to the end. For instance, having http '/' match first makes all other routes unused. The structure is documented below.
- virtual_host_ strid 
- List<String>
- A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of '.foo.com' or '-bar.foo.com'. If not specified, all domains will be matched.
- httpRouter StringId 
- id String
- The provider-assigned unique ID for this managed resource.
- modifyRequest List<Property Map>Headers 
- Apply the following modifications to the request headers. The structure is documented below.
- modifyResponse List<Property Map>Headers 
- Apply the following modifications to the response headers. The structure is documented below.
- name String
- name of the route.
- routes List<Property Map>
- A Route resource. Routes are matched in-order. Be careful when adding them to the end. For instance, having http '/' match first makes all other routes unused. The structure is documented below.
- virtualHost StringId 
Supporting Types
GetAlbVirtualHostModifyRequestHeader      
- Append string
- Append string to the header value.
- Name string
- Name of the Virtual Host.
- Remove bool
- If set, remove the header.
- Replace string
- New value for a header. Header values support the following formatters.
- Append string
- Append string to the header value.
- Name string
- Name of the Virtual Host.
- Remove bool
- If set, remove the header.
- Replace string
- New value for a header. Header values support the following formatters.
- append String
- Append string to the header value.
- name String
- Name of the Virtual Host.
- remove Boolean
- If set, remove the header.
- replace String
- New value for a header. Header values support the following formatters.
- append string
- Append string to the header value.
- name string
- Name of the Virtual Host.
- remove boolean
- If set, remove the header.
- replace string
- New value for a header. Header values support the following formatters.
- append str
- Append string to the header value.
- name str
- Name of the Virtual Host.
- remove bool
- If set, remove the header.
- replace str
- New value for a header. Header values support the following formatters.
- append String
- Append string to the header value.
- name String
- Name of the Virtual Host.
- remove Boolean
- If set, remove the header.
- replace String
- New value for a header. Header values support the following formatters.
GetAlbVirtualHostModifyResponseHeader      
- Append string
- Append string to the header value.
- Name string
- Name of the Virtual Host.
- Remove bool
- If set, remove the header.
- Replace string
- New value for a header. Header values support the following formatters.
- Append string
- Append string to the header value.
- Name string
- Name of the Virtual Host.
- Remove bool
- If set, remove the header.
- Replace string
- New value for a header. Header values support the following formatters.
- append String
- Append string to the header value.
- name String
- Name of the Virtual Host.
- remove Boolean
- If set, remove the header.
- replace String
- New value for a header. Header values support the following formatters.
- append string
- Append string to the header value.
- name string
- Name of the Virtual Host.
- remove boolean
- If set, remove the header.
- replace string
- New value for a header. Header values support the following formatters.
- append str
- Append string to the header value.
- name str
- Name of the Virtual Host.
- remove bool
- If set, remove the header.
- replace str
- New value for a header. Header values support the following formatters.
- append String
- Append string to the header value.
- name String
- Name of the Virtual Host.
- remove Boolean
- If set, remove the header.
- replace String
- New value for a header. Header values support the following formatters.
GetAlbVirtualHostRoute    
- GrpcRoutes List<GetAlb Virtual Host Route Grpc Route> 
- GRPC route resource. The structure is documented below.
- HttpRoutes List<GetAlb Virtual Host Route Http Route> 
- HTTP route resource. The structure is documented below.
- Name string
- Name of the Virtual Host.
- GrpcRoutes []GetAlb Virtual Host Route Grpc Route 
- GRPC route resource. The structure is documented below.
- HttpRoutes []GetAlb Virtual Host Route Http Route 
- HTTP route resource. The structure is documented below.
- Name string
- Name of the Virtual Host.
- grpcRoutes List<GetAlb Virtual Host Route Grpc Route> 
- GRPC route resource. The structure is documented below.
- httpRoutes List<GetAlb Virtual Host Route Http Route> 
- HTTP route resource. The structure is documented below.
- name String
- Name of the Virtual Host.
- grpcRoutes GetAlb Virtual Host Route Grpc Route[] 
- GRPC route resource. The structure is documented below.
- httpRoutes GetAlb Virtual Host Route Http Route[] 
- HTTP route resource. The structure is documented below.
- name string
- Name of the Virtual Host.
- grpc_routes Sequence[GetAlb Virtual Host Route Grpc Route] 
- GRPC route resource. The structure is documented below.
- http_routes Sequence[GetAlb Virtual Host Route Http Route] 
- HTTP route resource. The structure is documented below.
- name str
- Name of the Virtual Host.
- grpcRoutes List<Property Map>
- GRPC route resource. The structure is documented below.
- httpRoutes List<Property Map>
- HTTP route resource. The structure is documented below.
- name String
- Name of the Virtual Host.
GetAlbVirtualHostRouteGrpcRoute      
- GrpcMatches List<GetAlb Virtual Host Route Grpc Route Grpc Match> 
- Checks "/" prefix by default. The structure is documented below.
- GrpcRoute List<GetActions Alb Virtual Host Route Grpc Route Grpc Route Action> 
- GRPC route action resource. The structure is documented below.
- GrpcStatus List<GetResponse Actions Alb Virtual Host Route Grpc Route Grpc Status Response Action> 
- (Required) GRPC status response action resource. The structure is documented below.
- GrpcMatches []GetAlb Virtual Host Route Grpc Route Grpc Match 
- Checks "/" prefix by default. The structure is documented below.
- GrpcRoute []GetActions Alb Virtual Host Route Grpc Route Grpc Route Action 
- GRPC route action resource. The structure is documented below.
- GrpcStatus []GetResponse Actions Alb Virtual Host Route Grpc Route Grpc Status Response Action 
- (Required) GRPC status response action resource. The structure is documented below.
- grpcMatches List<GetAlb Virtual Host Route Grpc Route Grpc Match> 
- Checks "/" prefix by default. The structure is documented below.
- grpcRoute List<GetActions Alb Virtual Host Route Grpc Route Grpc Route Action> 
- GRPC route action resource. The structure is documented below.
- grpcStatus List<GetResponse Actions Alb Virtual Host Route Grpc Route Grpc Status Response Action> 
- (Required) GRPC status response action resource. The structure is documented below.
- grpcMatches GetAlb Virtual Host Route Grpc Route Grpc Match[] 
- Checks "/" prefix by default. The structure is documented below.
- grpcRoute GetActions Alb Virtual Host Route Grpc Route Grpc Route Action[] 
- GRPC route action resource. The structure is documented below.
- grpcStatus GetResponse Actions Alb Virtual Host Route Grpc Route Grpc Status Response Action[] 
- (Required) GRPC status response action resource. The structure is documented below.
- grpc_matches Sequence[GetAlb Virtual Host Route Grpc Route Grpc Match] 
- Checks "/" prefix by default. The structure is documented below.
- grpc_route_ Sequence[Getactions Alb Virtual Host Route Grpc Route Grpc Route Action] 
- GRPC route action resource. The structure is documented below.
- grpc_status_ Sequence[Getresponse_ actions Alb Virtual Host Route Grpc Route Grpc Status Response Action] 
- (Required) GRPC status response action resource. The structure is documented below.
- grpcMatches List<Property Map>
- Checks "/" prefix by default. The structure is documented below.
- grpcRoute List<Property Map>Actions 
- GRPC route action resource. The structure is documented below.
- grpcStatus List<Property Map>Response Actions 
- (Required) GRPC status response action resource. The structure is documented below.
GetAlbVirtualHostRouteGrpcRouteGrpcMatch        
- Fqmns
List<GetAlb Virtual Host Route Grpc Route Grpc Match Fqmn> 
- If not set, all services/methods are assumed. The structure is documented below.
- Fqmns
[]GetAlb Virtual Host Route Grpc Route Grpc Match Fqmn 
- If not set, all services/methods are assumed. The structure is documented below.
- fqmns
List<GetAlb Virtual Host Route Grpc Route Grpc Match Fqmn> 
- If not set, all services/methods are assumed. The structure is documented below.
- fqmns
GetAlb Virtual Host Route Grpc Route Grpc Match Fqmn[] 
- If not set, all services/methods are assumed. The structure is documented below.
- fqmns
Sequence[GetAlb Virtual Host Route Grpc Route Grpc Match Fqmn] 
- If not set, all services/methods are assumed. The structure is documented below.
- fqmns List<Property Map>
- If not set, all services/methods are assumed. The structure is documented below.
GetAlbVirtualHostRouteGrpcRouteGrpcMatchFqmn         
GetAlbVirtualHostRouteGrpcRouteGrpcRouteAction         
- AutoHost boolRewrite 
- If set, will automatically rewrite host.
- BackendGroup stringId 
- Backend group to route requests.
- HostRewrite string
- Host rewrite specifier.
- IdleTimeout string
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- MaxTimeout string
- Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
- AutoHost boolRewrite 
- If set, will automatically rewrite host.
- BackendGroup stringId 
- Backend group to route requests.
- HostRewrite string
- Host rewrite specifier.
- IdleTimeout string
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- MaxTimeout string
- Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
- autoHost BooleanRewrite 
- If set, will automatically rewrite host.
- backendGroup StringId 
- Backend group to route requests.
- hostRewrite String
- Host rewrite specifier.
- idleTimeout String
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- maxTimeout String
- Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
- autoHost booleanRewrite 
- If set, will automatically rewrite host.
- backendGroup stringId 
- Backend group to route requests.
- hostRewrite string
- Host rewrite specifier.
- idleTimeout string
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- maxTimeout string
- Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
- auto_host_ boolrewrite 
- If set, will automatically rewrite host.
- backend_group_ strid 
- Backend group to route requests.
- host_rewrite str
- Host rewrite specifier.
- idle_timeout str
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- max_timeout str
- Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
- autoHost BooleanRewrite 
- If set, will automatically rewrite host.
- backendGroup StringId 
- Backend group to route requests.
- hostRewrite String
- Host rewrite specifier.
- idleTimeout String
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- maxTimeout String
- Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
GetAlbVirtualHostRouteGrpcRouteGrpcStatusResponseAction          
- Status string
- The status of the response. Supported values are: ok, invalid_argumet, not_found, permission_denied, unauthenticated, unimplemented, internal, unavailable.
- Status string
- The status of the response. Supported values are: ok, invalid_argumet, not_found, permission_denied, unauthenticated, unimplemented, internal, unavailable.
- status String
- The status of the response. Supported values are: ok, invalid_argumet, not_found, permission_denied, unauthenticated, unimplemented, internal, unavailable.
- status string
- The status of the response. Supported values are: ok, invalid_argumet, not_found, permission_denied, unauthenticated, unimplemented, internal, unavailable.
- status str
- The status of the response. Supported values are: ok, invalid_argumet, not_found, permission_denied, unauthenticated, unimplemented, internal, unavailable.
- status String
- The status of the response. Supported values are: ok, invalid_argumet, not_found, permission_denied, unauthenticated, unimplemented, internal, unavailable.
GetAlbVirtualHostRouteHttpRoute      
- DirectResponse List<GetActions Alb Virtual Host Route Http Route Direct Response Action> 
- (Required) Direct response action resource. The structure is documented below.
- HttpMatches List<GetAlb Virtual Host Route Http Route Http Match> 
- Checks "/" prefix by default. The structure is documented below.
- HttpRoute List<GetActions Alb Virtual Host Route Http Route Http Route Action> 
- HTTP route action resource. The structure is documented below.
- RedirectActions List<GetAlb Virtual Host Route Http Route Redirect Action> 
- Redirect action resource. The structure is documented below.
- DirectResponse []GetActions Alb Virtual Host Route Http Route Direct Response Action 
- (Required) Direct response action resource. The structure is documented below.
- HttpMatches []GetAlb Virtual Host Route Http Route Http Match 
- Checks "/" prefix by default. The structure is documented below.
- HttpRoute []GetActions Alb Virtual Host Route Http Route Http Route Action 
- HTTP route action resource. The structure is documented below.
- RedirectActions []GetAlb Virtual Host Route Http Route Redirect Action 
- Redirect action resource. The structure is documented below.
- directResponse List<GetActions Alb Virtual Host Route Http Route Direct Response Action> 
- (Required) Direct response action resource. The structure is documented below.
- httpMatches List<GetAlb Virtual Host Route Http Route Http Match> 
- Checks "/" prefix by default. The structure is documented below.
- httpRoute List<GetActions Alb Virtual Host Route Http Route Http Route Action> 
- HTTP route action resource. The structure is documented below.
- redirectActions List<GetAlb Virtual Host Route Http Route Redirect Action> 
- Redirect action resource. The structure is documented below.
- directResponse GetActions Alb Virtual Host Route Http Route Direct Response Action[] 
- (Required) Direct response action resource. The structure is documented below.
- httpMatches GetAlb Virtual Host Route Http Route Http Match[] 
- Checks "/" prefix by default. The structure is documented below.
- httpRoute GetActions Alb Virtual Host Route Http Route Http Route Action[] 
- HTTP route action resource. The structure is documented below.
- redirectActions GetAlb Virtual Host Route Http Route Redirect Action[] 
- Redirect action resource. The structure is documented below.
- direct_response_ Sequence[Getactions Alb Virtual Host Route Http Route Direct Response Action] 
- (Required) Direct response action resource. The structure is documented below.
- http_matches Sequence[GetAlb Virtual Host Route Http Route Http Match] 
- Checks "/" prefix by default. The structure is documented below.
- http_route_ Sequence[Getactions Alb Virtual Host Route Http Route Http Route Action] 
- HTTP route action resource. The structure is documented below.
- redirect_actions Sequence[GetAlb Virtual Host Route Http Route Redirect Action] 
- Redirect action resource. The structure is documented below.
- directResponse List<Property Map>Actions 
- (Required) Direct response action resource. The structure is documented below.
- httpMatches List<Property Map>
- Checks "/" prefix by default. The structure is documented below.
- httpRoute List<Property Map>Actions 
- HTTP route action resource. The structure is documented below.
- redirectActions List<Property Map>
- Redirect action resource. The structure is documented below.
GetAlbVirtualHostRouteHttpRouteDirectResponseAction         
GetAlbVirtualHostRouteHttpRouteHttpMatch        
- HttpMethods List<string>
- List of methods(strings).
- Paths
List<GetAlb Virtual Host Route Http Route Http Match Path> 
- If not set, '/' is assumed. The structure is documented below.
- HttpMethods []string
- List of methods(strings).
- Paths
[]GetAlb Virtual Host Route Http Route Http Match Path 
- If not set, '/' is assumed. The structure is documented below.
- httpMethods List<String>
- List of methods(strings).
- paths
List<GetAlb Virtual Host Route Http Route Http Match Path> 
- If not set, '/' is assumed. The structure is documented below.
- httpMethods string[]
- List of methods(strings).
- paths
GetAlb Virtual Host Route Http Route Http Match Path[] 
- If not set, '/' is assumed. The structure is documented below.
- http_methods Sequence[str]
- List of methods(strings).
- paths
Sequence[GetAlb Virtual Host Route Http Route Http Match Path] 
- If not set, '/' is assumed. The structure is documented below.
- httpMethods List<String>
- List of methods(strings).
- paths List<Property Map>
- If not set, '/' is assumed. The structure is documented below.
GetAlbVirtualHostRouteHttpRouteHttpMatchPath         
GetAlbVirtualHostRouteHttpRouteHttpRouteAction         
- AutoHost boolRewrite 
- If set, will automatically rewrite host.
- BackendGroup stringId 
- Backend group to route requests.
- HostRewrite string
- Host rewrite specifier.
- IdleTimeout string
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- PrefixRewrite string
- If not empty, matched path prefix will be replaced by this value.
- Timeout string
- Specifies the request timeout (overall time request processing is allowed to take) for the route. If not set, default is 60 seconds.
- UpgradeTypes List<string>
- List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
- AutoHost boolRewrite 
- If set, will automatically rewrite host.
- BackendGroup stringId 
- Backend group to route requests.
- HostRewrite string
- Host rewrite specifier.
- IdleTimeout string
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- PrefixRewrite string
- If not empty, matched path prefix will be replaced by this value.
- Timeout string
- Specifies the request timeout (overall time request processing is allowed to take) for the route. If not set, default is 60 seconds.
- UpgradeTypes []string
- List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
- autoHost BooleanRewrite 
- If set, will automatically rewrite host.
- backendGroup StringId 
- Backend group to route requests.
- hostRewrite String
- Host rewrite specifier.
- idleTimeout String
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- prefixRewrite String
- If not empty, matched path prefix will be replaced by this value.
- timeout String
- Specifies the request timeout (overall time request processing is allowed to take) for the route. If not set, default is 60 seconds.
- upgradeTypes List<String>
- List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
- autoHost booleanRewrite 
- If set, will automatically rewrite host.
- backendGroup stringId 
- Backend group to route requests.
- hostRewrite string
- Host rewrite specifier.
- idleTimeout string
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- prefixRewrite string
- If not empty, matched path prefix will be replaced by this value.
- timeout string
- Specifies the request timeout (overall time request processing is allowed to take) for the route. If not set, default is 60 seconds.
- upgradeTypes string[]
- List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
- auto_host_ boolrewrite 
- If set, will automatically rewrite host.
- backend_group_ strid 
- Backend group to route requests.
- host_rewrite str
- Host rewrite specifier.
- idle_timeout str
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- prefix_rewrite str
- If not empty, matched path prefix will be replaced by this value.
- timeout str
- Specifies the request timeout (overall time request processing is allowed to take) for the route. If not set, default is 60 seconds.
- upgrade_types Sequence[str]
- List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
- autoHost BooleanRewrite 
- If set, will automatically rewrite host.
- backendGroup StringId 
- Backend group to route requests.
- hostRewrite String
- Host rewrite specifier.
- idleTimeout String
- Specifies the idle timeout (time without any data transfer for the active request) for the route. It is useful for streaming scenarios - one should set idle_timeout to something meaningful and max_timeout to the maximum time the stream is allowed to be alive. If not specified, there is no per-route idle timeout.
- prefixRewrite String
- If not empty, matched path prefix will be replaced by this value.
- timeout String
- Specifies the request timeout (overall time request processing is allowed to take) for the route. If not set, default is 60 seconds.
- upgradeTypes List<String>
- List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
GetAlbVirtualHostRouteHttpRouteRedirectAction        
- RemoveQuery bool
- ReplaceHost string
- Replaces hostname.
- ReplacePath string
- Replace path.
- ReplacePort int
- Replaces port.
- ReplacePrefix string
- Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- ReplaceScheme string
- Replaces scheme. If the original scheme is httporhttps, will also remove the 80 or 443 port, if present.
- ResponseCode string
- The HTTP status code to use in the redirect response. Supported values are: moved_permanently, found, see_other, temporary_redirect, permanent_redirect.
- RemoveQuery bool
- ReplaceHost string
- Replaces hostname.
- ReplacePath string
- Replace path.
- ReplacePort int
- Replaces port.
- ReplacePrefix string
- Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- ReplaceScheme string
- Replaces scheme. If the original scheme is httporhttps, will also remove the 80 or 443 port, if present.
- ResponseCode string
- The HTTP status code to use in the redirect response. Supported values are: moved_permanently, found, see_other, temporary_redirect, permanent_redirect.
- removeQuery Boolean
- replaceHost String
- Replaces hostname.
- replacePath String
- Replace path.
- replacePort Integer
- Replaces port.
- replacePrefix String
- Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- replaceScheme String
- Replaces scheme. If the original scheme is httporhttps, will also remove the 80 or 443 port, if present.
- responseCode String
- The HTTP status code to use in the redirect response. Supported values are: moved_permanently, found, see_other, temporary_redirect, permanent_redirect.
- removeQuery boolean
- replaceHost string
- Replaces hostname.
- replacePath string
- Replace path.
- replacePort number
- Replaces port.
- replacePrefix string
- Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- replaceScheme string
- Replaces scheme. If the original scheme is httporhttps, will also remove the 80 or 443 port, if present.
- responseCode string
- The HTTP status code to use in the redirect response. Supported values are: moved_permanently, found, see_other, temporary_redirect, permanent_redirect.
- remove_query bool
- replace_host str
- Replaces hostname.
- replace_path str
- Replace path.
- replace_port int
- Replaces port.
- replace_prefix str
- Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- replace_scheme str
- Replaces scheme. If the original scheme is httporhttps, will also remove the 80 or 443 port, if present.
- response_code str
- The HTTP status code to use in the redirect response. Supported values are: moved_permanently, found, see_other, temporary_redirect, permanent_redirect.
- removeQuery Boolean
- replaceHost String
- Replaces hostname.
- replacePath String
- Replace path.
- replacePort Number
- Replaces port.
- replacePrefix String
- Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- replaceScheme String
- Replaces scheme. If the original scheme is httporhttps, will also remove the 80 or 443 port, if present.
- responseCode String
- The HTTP status code to use in the redirect response. Supported values are: moved_permanently, found, see_other, temporary_redirect, permanent_redirect.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the yandexTerraform Provider.