Upstash v0.2.0 published on Wednesday, May 24, 2023 by Upstash
upstash.getQStashEndpoint
Explore with Pulumi AI
Example Usage
using Pulumi;
using Upstash = Pulumi.Upstash;
class MyStack : Stack
{
    public MyStack()
    {
        var exampleQstashEndpointData = Output.Create(Upstash.GetQStashEndpoint.InvokeAsync(new Upstash.GetQStashEndpointArgs
        {
            EndpointId = resource.Upstash_qstash_endpoint.ExampleQstashEndpoint.Endpoint_id,
        }));
    }
}
package main
import (
	"github.com/pulumi/pulumi-upstash/sdk/go/upstash"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/upstash/pulumi-upstash/sdk/go/upstash"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := upstash.LookupQStashEndpoint(ctx, &GetQStashEndpointArgs{
			EndpointId: resource.Upstash_qstash_endpoint.ExampleQstashEndpoint.Endpoint_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var exampleQstashEndpointData = Output.of(UpstashFunctions.getQStashEndpoint(GetQStashEndpointArgs.builder()
            .endpointId(resource.upstash_qstash_endpoint().exampleQstashEndpoint().endpoint_id())
            .build()));
    }
}
import pulumi
import pulumi_upstash as upstash
example_qstash_endpoint_data = upstash.get_q_stash_endpoint(endpoint_id=resource["upstash_qstash_endpoint"]["exampleQstashEndpoint"]["endpoint_id"])
import * as pulumi from "@pulumi/pulumi";
import * as upstash from "@pulumi/upstash";
const exampleQstashEndpointData = upstash.getQStashEndpoint({
    endpointId: resource.upstash_qstash_endpoint.exampleQstashEndpoint.endpoint_id,
});
variables:
  exampleQstashEndpointData:
    Fn::Invoke:
      Function: upstash:getQStashEndpoint
      Arguments:
        endpointId: ${resource.upstash_qstash_endpoint.exampleQstashEndpoint.endpoint_id}
Using getQStashEndpoint
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 getQStashEndpoint(args: GetQStashEndpointArgs, opts?: InvokeOptions): Promise<GetQStashEndpointResult>
function getQStashEndpointOutput(args: GetQStashEndpointOutputArgs, opts?: InvokeOptions): Output<GetQStashEndpointResult>def get_q_stash_endpoint(topic_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetQStashEndpointResult
def get_q_stash_endpoint_output(topic_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetQStashEndpointResult]func LookupQStashEndpoint(ctx *Context, args *LookupQStashEndpointArgs, opts ...InvokeOption) (*LookupQStashEndpointResult, error)
func LookupQStashEndpointOutput(ctx *Context, args *LookupQStashEndpointOutputArgs, opts ...InvokeOption) LookupQStashEndpointResultOutput> Note: This function is named LookupQStashEndpoint in the Go SDK.
public static class GetQStashEndpoint 
{
    public static Task<GetQStashEndpointResult> InvokeAsync(GetQStashEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetQStashEndpointResult> Invoke(GetQStashEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetQStashEndpointResult> getQStashEndpoint(GetQStashEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: upstash:index/getQStashEndpoint:getQStashEndpoint
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Topic
Id string 
- Topic
Id string 
- topic
Id String 
- topic
Id string 
- topic_
id str 
- topic
Id String 
getQStashEndpoint Result
The following output properties are available:
- Endpoint
Id string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Topic
Id string - Url string
 
- Endpoint
Id string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Topic
Id string - Url string
 
- endpoint
Id String - id String
 - The provider-assigned unique ID for this managed resource.
 - topic
Id String - url String
 
- endpoint
Id string - id string
 - The provider-assigned unique ID for this managed resource.
 - topic
Id string - url string
 
- endpoint_
id str - id str
 - The provider-assigned unique ID for this managed resource.
 - topic_
id str - url str
 
- endpoint
Id String - id String
 - The provider-assigned unique ID for this managed resource.
 - topic
Id String - url String
 
Package Details
- Repository
 - upstash upstash/pulumi-upstash
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
upstashTerraform Provider.