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 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"])
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,
});
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: yandex:index/getAlbVirtualHost:getAlbVirtualHost
arguments:
# arguments dictionary
The following arguments are supported:
- Http
Router stringId - HTTP Router that the resource belongs to.
- Name string
- Name of the Virtual Host.
- Virtual
Host 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 stringId - HTTP Router that the resource belongs to.
- Name string
- Name of the Virtual Host.
- Virtual
Host 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 StringId - HTTP Router that the resource belongs to.
- name String
- Name of the Virtual Host.
- virtual
Host 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 stringId - HTTP Router that the resource belongs to.
- name string
- Name of the Virtual Host.
- virtual
Host 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".
- http
Router StringId - HTTP Router that the resource belongs to.
- name String
- Name of the Virtual Host.
- virtual
Host 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.
- Http
Router stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Request List<GetHeaders Alb Virtual Host Modify Request Header> - Apply the following modifications to the request headers. The structure is documented below.
- Modify
Response 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<Get
Alb 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 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.
- Http
Router stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Modify
Request []GetHeaders Alb Virtual Host Modify Request Header - Apply the following modifications to the request headers. The structure is documented below.
- Modify
Response []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
[]Get
Alb 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 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.
- http
Router StringId - id String
- The provider-assigned unique ID for this managed resource.
- modify
Request List<GetHeaders Alb Virtual Host Modify Request Header> - Apply the following modifications to the request headers. The structure is documented below.
- modify
Response 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<Get
Alb 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 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.
- http
Router stringId - id string
- The provider-assigned unique ID for this managed resource.
- modify
Request GetHeaders Alb Virtual Host Modify Request Header[] - Apply the following modifications to the request headers. The structure is documented below.
- modify
Response 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
Get
Alb 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 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[Get
Alb 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.
- http
Router StringId - id String
- The provider-assigned unique ID for this managed resource.
- modify
Request List<Property Map>Headers - Apply the following modifications to the request headers. The structure is documented below.
- modify
Response 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.
- virtual
Host 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
- Grpc
Routes List<GetAlb Virtual Host Route Grpc Route> - GRPC route resource. The structure is documented below.
- Http
Routes List<GetAlb Virtual Host Route Http Route> - HTTP route resource. The structure is documented below.
- Name string
- Name of the Virtual Host.
- Grpc
Routes []GetAlb Virtual Host Route Grpc Route - GRPC route resource. The structure is documented below.
- Http
Routes []GetAlb Virtual Host Route Http Route - HTTP route resource. The structure is documented below.
- Name string
- Name of the Virtual Host.
- grpc
Routes List<GetAlb Virtual Host Route Grpc Route> - GRPC route resource. The structure is documented below.
- http
Routes List<GetAlb Virtual Host Route Http Route> - HTTP route resource. The structure is documented below.
- name String
- Name of the Virtual Host.
- grpc
Routes GetAlb Virtual Host Route Grpc Route[] - GRPC route resource. The structure is documented below.
- http
Routes 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.
- grpc
Routes List<Property Map> - GRPC route resource. The structure is documented below.
- http
Routes List<Property Map> - HTTP route resource. The structure is documented below.
- name String
- Name of the Virtual Host.
GetAlbVirtualHostRouteGrpcRoute
- Grpc
Matches List<GetAlb Virtual Host Route Grpc Route Grpc Match> - Checks "/" prefix by default. The structure is documented below.
- Grpc
Route List<GetActions Alb Virtual Host Route Grpc Route Grpc Route Action> - GRPC route action resource. The structure is documented below.
- Grpc
Status List<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 []GetAlb Virtual Host Route Grpc Route Grpc Match - Checks "/" prefix by default. The structure is documented below.
- Grpc
Route []GetActions Alb Virtual Host Route Grpc Route Grpc Route Action - GRPC route action resource. The structure is documented below.
- Grpc
Status []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 List<GetAlb Virtual Host Route Grpc Route Grpc Match> - Checks "/" prefix by default. The structure is documented below.
- grpc
Route List<GetActions Alb Virtual Host Route Grpc Route Grpc Route Action> - GRPC route action resource. The structure is documented below.
- grpc
Status List<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 GetAlb Virtual Host Route Grpc Route Grpc Match[] - Checks "/" prefix by default. The structure is documented below.
- grpc
Route GetActions Alb Virtual Host Route Grpc Route Grpc Route Action[] - GRPC route action resource. The structure is documented below.
- grpc
Status 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.
- grpc
Matches List<Property Map> - Checks "/" prefix by default. The structure is documented below.
- grpc
Route List<Property Map>Actions - GRPC route action resource. The structure is documented below.
- grpc
Status List<Property Map>Response Actions - (Required) GRPC status response action resource. The structure is documented below.
GetAlbVirtualHostRouteGrpcRouteGrpcMatch
- Fqmns
List<Get
Alb Virtual Host Route Grpc Route Grpc Match Fqmn> - If not set, all services/methods are assumed. The structure is documented below.
- Fqmns
[]Get
Alb Virtual Host Route Grpc Route Grpc Match Fqmn - If not set, all services/methods are assumed. The structure is documented below.
- fqmns
List<Get
Alb Virtual Host Route Grpc Route Grpc Match Fqmn> - If not set, all services/methods are assumed. The structure is documented below.
- fqmns
Get
Alb Virtual Host Route Grpc Route Grpc Match Fqmn[] - If not set, all services/methods are assumed. The structure is documented below.
- fqmns
Sequence[Get
Alb 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
- Auto
Host boolRewrite - If set, will automatically rewrite host.
- Backend
Group stringId - Backend group to route requests.
- Host
Rewrite string - Host rewrite specifier.
- Idle
Timeout 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.
- Max
Timeout 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 stringId - Backend group to route requests.
- Host
Rewrite string - Host rewrite specifier.
- Idle
Timeout 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.
- Max
Timeout string - Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
- auto
Host BooleanRewrite - If set, will automatically rewrite host.
- backend
Group StringId - Backend group to route requests.
- host
Rewrite String - Host rewrite specifier.
- idle
Timeout 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.
- max
Timeout String - Lower timeout may be specified by the client (using grpc-timeout header). If not set, default is 60 seconds.
- auto
Host booleanRewrite - If set, will automatically rewrite host.
- backend
Group stringId - Backend group to route requests.
- host
Rewrite string - Host rewrite specifier.
- idle
Timeout 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.
- max
Timeout 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.
- auto
Host BooleanRewrite - If set, will automatically rewrite host.
- backend
Group StringId - Backend group to route requests.
- host
Rewrite String - Host rewrite specifier.
- idle
Timeout 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.
- max
Timeout 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
- Direct
Response List<GetActions Alb Virtual Host Route Http Route Direct Response Action> - (Required) Direct response action resource. The structure is documented below.
- Http
Matches List<GetAlb Virtual Host Route Http Route Http Match> - Checks "/" prefix by default. The structure is documented below.
- Http
Route List<GetActions Alb Virtual Host Route Http Route Http Route Action> - HTTP route action resource. The structure is documented below.
- Redirect
Actions List<GetAlb Virtual Host Route Http Route Redirect Action> - Redirect action resource. The structure is documented below.
- Direct
Response []GetActions Alb Virtual Host Route Http Route Direct Response Action - (Required) Direct response action resource. The structure is documented below.
- Http
Matches []GetAlb Virtual Host Route Http Route Http Match - Checks "/" prefix by default. The structure is documented below.
- Http
Route []GetActions Alb Virtual Host Route Http Route Http Route Action - HTTP route action resource. The structure is documented below.
- Redirect
Actions []GetAlb Virtual Host Route Http Route Redirect Action - Redirect action resource. The structure is documented below.
- direct
Response List<GetActions Alb Virtual Host Route Http Route Direct Response Action> - (Required) Direct response action resource. The structure is documented below.
- http
Matches List<GetAlb Virtual Host Route Http Route Http Match> - Checks "/" prefix by default. The structure is documented below.
- http
Route List<GetActions Alb Virtual Host Route Http Route Http Route Action> - HTTP route action resource. The structure is documented below.
- redirect
Actions List<GetAlb Virtual Host Route Http Route Redirect Action> - Redirect action resource. The structure is documented below.
- direct
Response GetActions Alb Virtual Host Route Http Route Direct Response Action[] - (Required) Direct response action resource. The structure is documented below.
- http
Matches GetAlb Virtual Host Route Http Route Http Match[] - Checks "/" prefix by default. The structure is documented below.
- http
Route GetActions Alb Virtual Host Route Http Route Http Route Action[] - HTTP route action resource. The structure is documented below.
- redirect
Actions 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.
- direct
Response List<Property Map>Actions - (Required) Direct response action resource. The structure is documented below.
- http
Matches List<Property Map> - Checks "/" prefix by default. The structure is documented below.
- http
Route List<Property Map>Actions - HTTP route action resource. The structure is documented below.
- redirect
Actions List<Property Map> - Redirect action resource. The structure is documented below.
GetAlbVirtualHostRouteHttpRouteDirectResponseAction
GetAlbVirtualHostRouteHttpRouteHttpMatch
- Http
Methods List<string> - List of methods(strings).
- Paths
List<Get
Alb Virtual Host Route Http Route Http Match Path> - If not set, '/' is assumed. The structure is documented below.
- Http
Methods []string - List of methods(strings).
- Paths
[]Get
Alb Virtual Host Route Http Route Http Match Path - If not set, '/' is assumed. The structure is documented below.
- http
Methods List<String> - List of methods(strings).
- paths
List<Get
Alb Virtual Host Route Http Route Http Match Path> - If not set, '/' is assumed. The structure is documented below.
- http
Methods string[] - List of methods(strings).
- paths
Get
Alb 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[Get
Alb Virtual Host Route Http Route Http Match Path] - If not set, '/' is assumed. The structure is documented below.
- http
Methods List<String> - List of methods(strings).
- paths List<Property Map>
- If not set, '/' is assumed. The structure is documented below.
GetAlbVirtualHostRouteHttpRouteHttpMatchPath
GetAlbVirtualHostRouteHttpRouteHttpRouteAction
- Auto
Host boolRewrite - If set, will automatically rewrite host.
- Backend
Group stringId - Backend group to route requests.
- Host
Rewrite string - Host rewrite specifier.
- Idle
Timeout 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.
- Prefix
Rewrite 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.
- Upgrade
Types List<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 stringId - Backend group to route requests.
- Host
Rewrite string - Host rewrite specifier.
- Idle
Timeout 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.
- Prefix
Rewrite 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.
- Upgrade
Types []string - List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
- auto
Host BooleanRewrite - If set, will automatically rewrite host.
- backend
Group StringId - Backend group to route requests.
- host
Rewrite String - Host rewrite specifier.
- idle
Timeout 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.
- prefix
Rewrite 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.
- upgrade
Types List<String> - List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
- auto
Host booleanRewrite - If set, will automatically rewrite host.
- backend
Group stringId - Backend group to route requests.
- host
Rewrite string - Host rewrite specifier.
- idle
Timeout 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.
- prefix
Rewrite 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.
- upgrade
Types 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".
- auto
Host BooleanRewrite - If set, will automatically rewrite host.
- backend
Group StringId - Backend group to route requests.
- host
Rewrite String - Host rewrite specifier.
- idle
Timeout 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.
- prefix
Rewrite 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.
- upgrade
Types List<String> - List of upgrade types. Only specified upgrade types will be allowed. For example, "websocket".
GetAlbVirtualHostRouteHttpRouteRedirectAction
- Remove
Query bool - Replace
Host string - Replaces hostname.
- Replace
Path string - Replace path.
- Replace
Port int - Replaces port.
- Replace
Prefix string - Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- Replace
Scheme string - Replaces scheme. If the original scheme is
http
orhttps
, will also remove the 80 or 443 port, if present. - Response
Code 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 string - Replaces hostname.
- Replace
Path string - Replace path.
- Replace
Port int - Replaces port.
- Replace
Prefix string - Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- Replace
Scheme string - Replaces scheme. If the original scheme is
http
orhttps
, will also remove the 80 or 443 port, if present. - Response
Code 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 Boolean - replace
Host String - Replaces hostname.
- replace
Path String - Replace path.
- replace
Port Integer - Replaces port.
- replace
Prefix String - Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- replace
Scheme String - Replaces scheme. If the original scheme is
http
orhttps
, will also remove the 80 or 443 port, if present. - response
Code 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 boolean - replace
Host string - Replaces hostname.
- replace
Path string - Replace path.
- replace
Port number - Replaces port.
- replace
Prefix string - Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- replace
Scheme string - Replaces scheme. If the original scheme is
http
orhttps
, will also remove the 80 or 443 port, if present. - response
Code 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
http
orhttps
, 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.
- remove
Query Boolean - replace
Host String - Replaces hostname.
- replace
Path String - Replace path.
- replace
Port Number - Replaces port.
- replace
Prefix String - Replace only matched prefix. Example: match:{ prefix_match: "/some" } redirect: { replace_prefix: "/other" } will redirect "/something" to "/otherthing".
- replace
Scheme String - Replaces scheme. If the original scheme is
http
orhttps
, will also remove the 80 or 443 port, if present. - response
Code 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
yandex
Terraform Provider.