1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networkservices
  5. networkservices/v1beta1
  6. getTlsRoute

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networkservices/v1beta1.getTlsRoute

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets details of a single TlsRoute.

    Using getTlsRoute

    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 getTlsRoute(args: GetTlsRouteArgs, opts?: InvokeOptions): Promise<GetTlsRouteResult>
    function getTlsRouteOutput(args: GetTlsRouteOutputArgs, opts?: InvokeOptions): Output<GetTlsRouteResult>
    def get_tls_route(location: Optional[str] = None,
                      project: Optional[str] = None,
                      tls_route_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetTlsRouteResult
    def get_tls_route_output(location: Optional[pulumi.Input[str]] = None,
                      project: Optional[pulumi.Input[str]] = None,
                      tls_route_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetTlsRouteResult]
    func LookupTlsRoute(ctx *Context, args *LookupTlsRouteArgs, opts ...InvokeOption) (*LookupTlsRouteResult, error)
    func LookupTlsRouteOutput(ctx *Context, args *LookupTlsRouteOutputArgs, opts ...InvokeOption) LookupTlsRouteResultOutput

    > Note: This function is named LookupTlsRoute in the Go SDK.

    public static class GetTlsRoute 
    {
        public static Task<GetTlsRouteResult> InvokeAsync(GetTlsRouteArgs args, InvokeOptions? opts = null)
        public static Output<GetTlsRouteResult> Invoke(GetTlsRouteInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTlsRouteResult> getTlsRoute(GetTlsRouteArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:networkservices/v1beta1:getTlsRoute
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Location string
    TlsRouteId string
    Project string
    Location string
    TlsRouteId string
    Project string
    location String
    tlsRouteId String
    project String
    location string
    tlsRouteId string
    project string
    location String
    tlsRouteId String
    project String

    getTlsRoute Result

    The following output properties are available:

    CreateTime string
    The timestamp when the resource was created.
    Description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    Gateways List<string>
    Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/
    Labels Dictionary<string, string>
    Optional. Set of label tags associated with the TlsRoute resource.
    Meshes List<string>
    Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/ The attached Mesh should be of a type SIDECAR
    Name string
    Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
    Rules List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Outputs.TlsRouteRouteRuleResponse>
    Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
    SelfLink string
    Server-defined URL of this resource
    UpdateTime string
    The timestamp when the resource was updated.
    CreateTime string
    The timestamp when the resource was created.
    Description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    Gateways []string
    Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/
    Labels map[string]string
    Optional. Set of label tags associated with the TlsRoute resource.
    Meshes []string
    Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/ The attached Mesh should be of a type SIDECAR
    Name string
    Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
    Rules []TlsRouteRouteRuleResponse
    Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
    SelfLink string
    Server-defined URL of this resource
    UpdateTime string
    The timestamp when the resource was updated.
    createTime String
    The timestamp when the resource was created.
    description String
    Optional. A free-text description of the resource. Max length 1024 characters.
    gateways List<String>
    Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/
    labels Map<String,String>
    Optional. Set of label tags associated with the TlsRoute resource.
    meshes List<String>
    Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/ The attached Mesh should be of a type SIDECAR
    name String
    Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
    rules List<TlsRouteRouteRuleResponse>
    Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
    selfLink String
    Server-defined URL of this resource
    updateTime String
    The timestamp when the resource was updated.
    createTime string
    The timestamp when the resource was created.
    description string
    Optional. A free-text description of the resource. Max length 1024 characters.
    gateways string[]
    Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/
    labels {[key: string]: string}
    Optional. Set of label tags associated with the TlsRoute resource.
    meshes string[]
    Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/ The attached Mesh should be of a type SIDECAR
    name string
    Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
    rules TlsRouteRouteRuleResponse[]
    Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
    selfLink string
    Server-defined URL of this resource
    updateTime string
    The timestamp when the resource was updated.
    create_time str
    The timestamp when the resource was created.
    description str
    Optional. A free-text description of the resource. Max length 1024 characters.
    gateways Sequence[str]
    Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/
    labels Mapping[str, str]
    Optional. Set of label tags associated with the TlsRoute resource.
    meshes Sequence[str]
    Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/ The attached Mesh should be of a type SIDECAR
    name str
    Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
    rules Sequence[TlsRouteRouteRuleResponse]
    Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
    self_link str
    Server-defined URL of this resource
    update_time str
    The timestamp when the resource was updated.
    createTime String
    The timestamp when the resource was created.
    description String
    Optional. A free-text description of the resource. Max length 1024 characters.
    gateways List<String>
    Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/
    labels Map<String>
    Optional. Set of label tags associated with the TlsRoute resource.
    meshes List<String>
    Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/ The attached Mesh should be of a type SIDECAR
    name String
    Name of the TlsRoute resource. It matches pattern projects/*/locations/global/tlsRoutes/tls_route_name>.
    rules List<Property Map>
    Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
    selfLink String
    Server-defined URL of this resource
    updateTime String
    The timestamp when the resource was updated.

    Supporting Types

    TlsRouteRouteActionResponse

    Destinations List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.TlsRouteRouteDestinationResponse>
    The destination services to which traffic should be forwarded. At least one destination service is required.
    Destinations []TlsRouteRouteDestinationResponse
    The destination services to which traffic should be forwarded. At least one destination service is required.
    destinations List<TlsRouteRouteDestinationResponse>
    The destination services to which traffic should be forwarded. At least one destination service is required.
    destinations TlsRouteRouteDestinationResponse[]
    The destination services to which traffic should be forwarded. At least one destination service is required.
    destinations Sequence[TlsRouteRouteDestinationResponse]
    The destination services to which traffic should be forwarded. At least one destination service is required.
    destinations List<Property Map>
    The destination services to which traffic should be forwarded. At least one destination service is required.

    TlsRouteRouteDestinationResponse

    ServiceName string
    The URL of a BackendService to route traffic to.
    Weight int
    Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
    ServiceName string
    The URL of a BackendService to route traffic to.
    Weight int
    Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
    serviceName String
    The URL of a BackendService to route traffic to.
    weight Integer
    Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
    serviceName string
    The URL of a BackendService to route traffic to.
    weight number
    Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
    service_name str
    The URL of a BackendService to route traffic to.
    weight int
    Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
    serviceName String
    The URL of a BackendService to route traffic to.
    weight Number
    Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: - weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.

    TlsRouteRouteMatchResponse

    Alpn List<string>
    Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
    SniHost List<string>
    Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
    Alpn []string
    Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
    SniHost []string
    Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
    alpn List<String>
    Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
    sniHost List<String>
    Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
    alpn string[]
    Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
    sniHost string[]
    Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
    alpn Sequence[str]
    Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
    sni_host Sequence[str]
    Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.
    alpn List<String>
    Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
    sniHost List<String>
    Optional. SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com. Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sni_host and alpn is required. Up to 5 sni hosts across all matches can be set.

    TlsRouteRouteRuleResponse

    Action Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.TlsRouteRouteActionResponse
    The detailed rule defining how to route matched traffic.
    Matches List<Pulumi.GoogleNative.NetworkServices.V1Beta1.Inputs.TlsRouteRouteMatchResponse>
    RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
    Action TlsRouteRouteActionResponse
    The detailed rule defining how to route matched traffic.
    Matches []TlsRouteRouteMatchResponse
    RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
    action TlsRouteRouteActionResponse
    The detailed rule defining how to route matched traffic.
    matches List<TlsRouteRouteMatchResponse>
    RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
    action TlsRouteRouteActionResponse
    The detailed rule defining how to route matched traffic.
    matches TlsRouteRouteMatchResponse[]
    RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
    action TlsRouteRouteActionResponse
    The detailed rule defining how to route matched traffic.
    matches Sequence[TlsRouteRouteMatchResponse]
    RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
    action Property Map
    The detailed rule defining how to route matched traffic.
    matches List<Property Map>
    RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi