1. Packages
  2. Upstash
  3. API Docs
  4. QStashTopicV2
Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash

upstash.QStashTopicV2

Explore with Pulumi AI

upstash logo
Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash

    Create QStashTopicV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new QStashTopicV2(name: string, args: QStashTopicV2Args, opts?: CustomResourceOptions);
    @overload
    def QStashTopicV2(resource_name: str,
                      args: QStashTopicV2Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def QStashTopicV2(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      endpoints: Optional[Sequence[str]] = None,
                      name: Optional[str] = None)
    func NewQStashTopicV2(ctx *Context, name string, args QStashTopicV2Args, opts ...ResourceOption) (*QStashTopicV2, error)
    public QStashTopicV2(string name, QStashTopicV2Args args, CustomResourceOptions? opts = null)
    public QStashTopicV2(String name, QStashTopicV2Args args)
    public QStashTopicV2(String name, QStashTopicV2Args args, CustomResourceOptions options)
    
    type: upstash:QStashTopicV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args QStashTopicV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args QStashTopicV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args QStashTopicV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QStashTopicV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QStashTopicV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var qstashTopicV2Resource = new Upstash.QStashTopicV2("qstashTopicV2Resource", new()
    {
        Endpoints = new[]
        {
            "string",
        },
        Name = "string",
    });
    
    example, err := upstash.NewQStashTopicV2(ctx, "qstashTopicV2Resource", &upstash.QStashTopicV2Args{
    	Endpoints: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var qstashTopicV2Resource = new QStashTopicV2("qstashTopicV2Resource", QStashTopicV2Args.builder()
        .endpoints("string")
        .name("string")
        .build());
    
    qstash_topic_v2_resource = upstash.QStashTopicV2("qstashTopicV2Resource",
        endpoints=["string"],
        name="string")
    
    const qstashTopicV2Resource = new upstash.QStashTopicV2("qstashTopicV2Resource", {
        endpoints: ["string"],
        name: "string",
    });
    
    type: upstash:QStashTopicV2
    properties:
        endpoints:
            - string
        name: string
    

    QStashTopicV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The QStashTopicV2 resource accepts the following input properties:

    Endpoints List<string>
    Endpoints for the Qstash Topic
    Name string
    Name of the Qstash Topic
    Endpoints []string
    Endpoints for the Qstash Topic
    Name string
    Name of the Qstash Topic
    endpoints List<String>
    Endpoints for the Qstash Topic
    name String
    Name of the Qstash Topic
    endpoints string[]
    Endpoints for the Qstash Topic
    name string
    Name of the Qstash Topic
    endpoints Sequence[str]
    Endpoints for the Qstash Topic
    name str
    Name of the Qstash Topic
    endpoints List<String>
    Endpoints for the Qstash Topic
    name String
    Name of the Qstash Topic

    Outputs

    All input properties are implicitly available as output properties. Additionally, the QStashTopicV2 resource produces the following output properties:

    CreatedAt int
    Creation time for Qstash Topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt int
    Last Update time for Qstash Topic.
    CreatedAt int
    Creation time for Qstash Topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt int
    Last Update time for Qstash Topic.
    createdAt Integer
    Creation time for Qstash Topic.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt Integer
    Last Update time for Qstash Topic.
    createdAt number
    Creation time for Qstash Topic.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt number
    Last Update time for Qstash Topic.
    created_at int
    Creation time for Qstash Topic.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at int
    Last Update time for Qstash Topic.
    createdAt Number
    Creation time for Qstash Topic.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt Number
    Last Update time for Qstash Topic.

    Look up Existing QStashTopicV2 Resource

    Get an existing QStashTopicV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: QStashTopicV2State, opts?: CustomResourceOptions): QStashTopicV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[int] = None,
            endpoints: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            updated_at: Optional[int] = None) -> QStashTopicV2
    func GetQStashTopicV2(ctx *Context, name string, id IDInput, state *QStashTopicV2State, opts ...ResourceOption) (*QStashTopicV2, error)
    public static QStashTopicV2 Get(string name, Input<string> id, QStashTopicV2State? state, CustomResourceOptions? opts = null)
    public static QStashTopicV2 get(String name, Output<String> id, QStashTopicV2State state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt int
    Creation time for Qstash Topic.
    Endpoints List<string>
    Endpoints for the Qstash Topic
    Name string
    Name of the Qstash Topic
    UpdatedAt int
    Last Update time for Qstash Topic.
    CreatedAt int
    Creation time for Qstash Topic.
    Endpoints []string
    Endpoints for the Qstash Topic
    Name string
    Name of the Qstash Topic
    UpdatedAt int
    Last Update time for Qstash Topic.
    createdAt Integer
    Creation time for Qstash Topic.
    endpoints List<String>
    Endpoints for the Qstash Topic
    name String
    Name of the Qstash Topic
    updatedAt Integer
    Last Update time for Qstash Topic.
    createdAt number
    Creation time for Qstash Topic.
    endpoints string[]
    Endpoints for the Qstash Topic
    name string
    Name of the Qstash Topic
    updatedAt number
    Last Update time for Qstash Topic.
    created_at int
    Creation time for Qstash Topic.
    endpoints Sequence[str]
    Endpoints for the Qstash Topic
    name str
    Name of the Qstash Topic
    updated_at int
    Last Update time for Qstash Topic.
    createdAt Number
    Creation time for Qstash Topic.
    endpoints List<String>
    Endpoints for the Qstash Topic
    name String
    Name of the Qstash Topic
    updatedAt Number
    Last Update time for Qstash Topic.

    Package Details

    Repository
    upstash upstash/pulumi-upstash
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the upstash Terraform Provider.
    upstash logo
    Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash