astra.StreamingTenant
astra.StreamingTenant
creates an Astra Streaming tenant.
Example Usage
using Pulumi;
using Astra = Pulumiverse.Astra;
class MyStack : Stack
{
public MyStack()
{
var streamingTenant_1 = new Astra.StreamingTenant("streamingTenant-1", new Astra.StreamingTenantArgs
{
CloudProvider = "gcp",
Region = "useast-4",
TenantName = "terraformtest",
Topic = "terraformtest",
UserEmail = "seb@datastax.com",
});
}
}
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := astra.NewStreamingTenant(ctx, "streamingTenant-1", &astra.StreamingTenantArgs{
CloudProvider: pulumi.String("gcp"),
Region: pulumi.String("useast-4"),
TenantName: pulumi.String("terraformtest"),
Topic: pulumi.String("terraformtest"),
UserEmail: pulumi.String("seb@datastax.com"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.astra.StreamingTenant;
import com.pulumi.astra.StreamingTenantArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var streamingTenant_1 = new StreamingTenant("streamingTenant-1", StreamingTenantArgs.builder()
.cloudProvider("gcp")
.region("useast-4")
.tenantName("terraformtest")
.topic("terraformtest")
.userEmail("seb@datastax.com")
.build());
}
}
import pulumi
import pulumiverse_astra as astra
streaming_tenant_1 = astra.StreamingTenant("streamingTenant-1",
cloud_provider="gcp",
region="useast-4",
tenant_name="terraformtest",
topic="terraformtest",
user_email="seb@datastax.com")
import * as pulumi from "@pulumi/pulumi";
import * as astra from "@pulumi/astra";
const streaming_tenant_1 = new astra.StreamingTenant("streaming_tenant-1", {
cloudProvider: "gcp",
region: "useast-4",
tenantName: "terraformtest",
topic: "terraformtest",
userEmail: "seb@datastax.com",
});
resources:
streamingTenant-1:
type: astra:StreamingTenant
properties:
cloudProvider: gcp
region: useast-4
tenantName: terraformtest
topic: terraformtest
userEmail: seb@datastax.com
Create StreamingTenant Resource
new StreamingTenant(name: string, args: StreamingTenantArgs, opts?: CustomResourceOptions);
@overload
def StreamingTenant(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_provider: Optional[str] = None,
region: Optional[str] = None,
tenant_name: Optional[str] = None,
topic: Optional[str] = None,
user_email: Optional[str] = None)
@overload
def StreamingTenant(resource_name: str,
args: StreamingTenantArgs,
opts: Optional[ResourceOptions] = None)
func NewStreamingTenant(ctx *Context, name string, args StreamingTenantArgs, opts ...ResourceOption) (*StreamingTenant, error)
public StreamingTenant(string name, StreamingTenantArgs args, CustomResourceOptions? opts = null)
public StreamingTenant(String name, StreamingTenantArgs args)
public StreamingTenant(String name, StreamingTenantArgs args, CustomResourceOptions options)
type: astra:StreamingTenant
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamingTenantArgs
- 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 StreamingTenantArgs
- 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 StreamingTenantArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamingTenantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamingTenantArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
StreamingTenant 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 StreamingTenant resource accepts the following input properties:
- Cloud
Provider string Cloud provider
- Region string
cloud region
- Tenant
Name string Streaming tenant name.
- Topic string
Streaming tenant topic.
- User
Email string User email for tenant.
- Cloud
Provider string Cloud provider
- Region string
cloud region
- Tenant
Name string Streaming tenant name.
- Topic string
Streaming tenant topic.
- User
Email string User email for tenant.
- cloud
Provider String Cloud provider
- region String
cloud region
- tenant
Name String Streaming tenant name.
- topic String
Streaming tenant topic.
- user
Email String User email for tenant.
- cloud
Provider string Cloud provider
- region string
cloud region
- tenant
Name string Streaming tenant name.
- topic string
Streaming tenant topic.
- user
Email string User email for tenant.
- cloud_
provider str Cloud provider
- region str
cloud region
- tenant_
name str Streaming tenant name.
- topic str
Streaming tenant topic.
- user_
email str User email for tenant.
- cloud
Provider String Cloud provider
- region String
cloud region
- tenant
Name String Streaming tenant name.
- topic String
Streaming tenant topic.
- user
Email String User email for tenant.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamingTenant resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing StreamingTenant Resource
Get an existing StreamingTenant 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?: StreamingTenantState, opts?: CustomResourceOptions): StreamingTenant
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloud_provider: Optional[str] = None,
region: Optional[str] = None,
tenant_name: Optional[str] = None,
topic: Optional[str] = None,
user_email: Optional[str] = None) -> StreamingTenant
func GetStreamingTenant(ctx *Context, name string, id IDInput, state *StreamingTenantState, opts ...ResourceOption) (*StreamingTenant, error)
public static StreamingTenant Get(string name, Input<string> id, StreamingTenantState? state, CustomResourceOptions? opts = null)
public static StreamingTenant get(String name, Output<String> id, StreamingTenantState 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.
- Cloud
Provider string Cloud provider
- Region string
cloud region
- Tenant
Name string Streaming tenant name.
- Topic string
Streaming tenant topic.
- User
Email string User email for tenant.
- Cloud
Provider string Cloud provider
- Region string
cloud region
- Tenant
Name string Streaming tenant name.
- Topic string
Streaming tenant topic.
- User
Email string User email for tenant.
- cloud
Provider String Cloud provider
- region String
cloud region
- tenant
Name String Streaming tenant name.
- topic String
Streaming tenant topic.
- user
Email String User email for tenant.
- cloud
Provider string Cloud provider
- region string
cloud region
- tenant
Name string Streaming tenant name.
- topic string
Streaming tenant topic.
- user
Email string User email for tenant.
- cloud_
provider str Cloud provider
- region str
cloud region
- tenant_
name str Streaming tenant name.
- topic str
Streaming tenant topic.
- user_
email str User email for tenant.
- cloud
Provider String Cloud provider
- region String
cloud region
- tenant
Name String Streaming tenant name.
- topic String
Streaming tenant topic.
- user
Email String User email for tenant.
Import
$ pulumi import astra:index/streamingTenant:StreamingTenant example tenant_name
Package Details
- Repository
- astra pulumiverse/pulumi-astra
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
astra
Terraform Provider.