astra

package
v0.0.0-...-2fc8073 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AccessList

type AccessList struct {
	pulumi.CustomResourceState

	// List of address requests that should have access to database endpoints.
	Addresses AccessListAddressArrayOutput `pulumi:"addresses"`
	// The ID of the Astra database.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// Public access restrictions enabled or disabled
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
}

`AccessList` resource represents a database access list, used to limit the ip's / CIDR groups that have access to a database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.NewAccessList(ctx, "example", &astra.AccessListArgs{
			Addresses: AccessListAddressArray{
				&AccessListAddressArgs{
					Address: pulumi.String("0.0.0.1/0"),
					Enabled: pulumi.Bool(true),
				},
				&AccessListAddressArgs{
					Address: pulumi.String("0.0.0.2/0"),
					Enabled: pulumi.Bool(true),
				},
				&AccessListAddressArgs{
					Address: pulumi.String("0.0.0.3/0"),
					Enabled: pulumi.Bool(true),
				},
			},
			DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			Enabled:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

the import id should be the database_id.

```sh

$ pulumi import astra:index/accessList:AccessList example a6bc9c26-e7ce-424f-84c7-0a00afb12588

```

func GetAccessList

func GetAccessList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessListState, opts ...pulumi.ResourceOption) (*AccessList, error)

GetAccessList gets an existing AccessList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccessList

func NewAccessList(ctx *pulumi.Context,
	name string, args *AccessListArgs, opts ...pulumi.ResourceOption) (*AccessList, error)

NewAccessList registers a new resource with the given unique name, arguments, and options.

func (*AccessList) ElementType

func (*AccessList) ElementType() reflect.Type

func (*AccessList) ToAccessListOutput

func (i *AccessList) ToAccessListOutput() AccessListOutput

func (*AccessList) ToAccessListOutputWithContext

func (i *AccessList) ToAccessListOutputWithContext(ctx context.Context) AccessListOutput

type AccessListAddress

type AccessListAddress struct {
	// IP Address/CIDR group that should have access
	Address string `pulumi:"address"`
	// Description for the IP Address/CIDR group
	Description *string `pulumi:"description"`
	// Enable/disable this IP Address/CIDR group's access
	Enabled bool `pulumi:"enabled"`
}

type AccessListAddressArgs

type AccessListAddressArgs struct {
	// IP Address/CIDR group that should have access
	Address pulumi.StringInput `pulumi:"address"`
	// Description for the IP Address/CIDR group
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Enable/disable this IP Address/CIDR group's access
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (AccessListAddressArgs) ElementType

func (AccessListAddressArgs) ElementType() reflect.Type

func (AccessListAddressArgs) ToAccessListAddressOutput

func (i AccessListAddressArgs) ToAccessListAddressOutput() AccessListAddressOutput

func (AccessListAddressArgs) ToAccessListAddressOutputWithContext

func (i AccessListAddressArgs) ToAccessListAddressOutputWithContext(ctx context.Context) AccessListAddressOutput

type AccessListAddressArray

type AccessListAddressArray []AccessListAddressInput

func (AccessListAddressArray) ElementType

func (AccessListAddressArray) ElementType() reflect.Type

func (AccessListAddressArray) ToAccessListAddressArrayOutput

func (i AccessListAddressArray) ToAccessListAddressArrayOutput() AccessListAddressArrayOutput

func (AccessListAddressArray) ToAccessListAddressArrayOutputWithContext

func (i AccessListAddressArray) ToAccessListAddressArrayOutputWithContext(ctx context.Context) AccessListAddressArrayOutput

type AccessListAddressArrayInput

type AccessListAddressArrayInput interface {
	pulumi.Input

	ToAccessListAddressArrayOutput() AccessListAddressArrayOutput
	ToAccessListAddressArrayOutputWithContext(context.Context) AccessListAddressArrayOutput
}

AccessListAddressArrayInput is an input type that accepts AccessListAddressArray and AccessListAddressArrayOutput values. You can construct a concrete instance of `AccessListAddressArrayInput` via:

AccessListAddressArray{ AccessListAddressArgs{...} }

type AccessListAddressArrayOutput

type AccessListAddressArrayOutput struct{ *pulumi.OutputState }

func (AccessListAddressArrayOutput) ElementType

func (AccessListAddressArrayOutput) Index

func (AccessListAddressArrayOutput) ToAccessListAddressArrayOutput

func (o AccessListAddressArrayOutput) ToAccessListAddressArrayOutput() AccessListAddressArrayOutput

func (AccessListAddressArrayOutput) ToAccessListAddressArrayOutputWithContext

func (o AccessListAddressArrayOutput) ToAccessListAddressArrayOutputWithContext(ctx context.Context) AccessListAddressArrayOutput

type AccessListAddressInput

type AccessListAddressInput interface {
	pulumi.Input

	ToAccessListAddressOutput() AccessListAddressOutput
	ToAccessListAddressOutputWithContext(context.Context) AccessListAddressOutput
}

AccessListAddressInput is an input type that accepts AccessListAddressArgs and AccessListAddressOutput values. You can construct a concrete instance of `AccessListAddressInput` via:

AccessListAddressArgs{...}

type AccessListAddressOutput

type AccessListAddressOutput struct{ *pulumi.OutputState }

func (AccessListAddressOutput) Address

IP Address/CIDR group that should have access

func (AccessListAddressOutput) Description

Description for the IP Address/CIDR group

func (AccessListAddressOutput) ElementType

func (AccessListAddressOutput) ElementType() reflect.Type

func (AccessListAddressOutput) Enabled

Enable/disable this IP Address/CIDR group's access

func (AccessListAddressOutput) ToAccessListAddressOutput

func (o AccessListAddressOutput) ToAccessListAddressOutput() AccessListAddressOutput

func (AccessListAddressOutput) ToAccessListAddressOutputWithContext

func (o AccessListAddressOutput) ToAccessListAddressOutputWithContext(ctx context.Context) AccessListAddressOutput

type AccessListArgs

type AccessListArgs struct {
	// List of address requests that should have access to database endpoints.
	Addresses AccessListAddressArrayInput
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput
	// Public access restrictions enabled or disabled
	Enabled pulumi.BoolPtrInput
}

The set of arguments for constructing a AccessList resource.

func (AccessListArgs) ElementType

func (AccessListArgs) ElementType() reflect.Type

type AccessListArray

type AccessListArray []AccessListInput

func (AccessListArray) ElementType

func (AccessListArray) ElementType() reflect.Type

func (AccessListArray) ToAccessListArrayOutput

func (i AccessListArray) ToAccessListArrayOutput() AccessListArrayOutput

func (AccessListArray) ToAccessListArrayOutputWithContext

func (i AccessListArray) ToAccessListArrayOutputWithContext(ctx context.Context) AccessListArrayOutput

type AccessListArrayInput

type AccessListArrayInput interface {
	pulumi.Input

	ToAccessListArrayOutput() AccessListArrayOutput
	ToAccessListArrayOutputWithContext(context.Context) AccessListArrayOutput
}

AccessListArrayInput is an input type that accepts AccessListArray and AccessListArrayOutput values. You can construct a concrete instance of `AccessListArrayInput` via:

AccessListArray{ AccessListArgs{...} }

type AccessListArrayOutput

type AccessListArrayOutput struct{ *pulumi.OutputState }

func (AccessListArrayOutput) ElementType

func (AccessListArrayOutput) ElementType() reflect.Type

func (AccessListArrayOutput) Index

func (AccessListArrayOutput) ToAccessListArrayOutput

func (o AccessListArrayOutput) ToAccessListArrayOutput() AccessListArrayOutput

func (AccessListArrayOutput) ToAccessListArrayOutputWithContext

func (o AccessListArrayOutput) ToAccessListArrayOutputWithContext(ctx context.Context) AccessListArrayOutput

type AccessListInput

type AccessListInput interface {
	pulumi.Input

	ToAccessListOutput() AccessListOutput
	ToAccessListOutputWithContext(ctx context.Context) AccessListOutput
}

type AccessListMap

type AccessListMap map[string]AccessListInput

func (AccessListMap) ElementType

func (AccessListMap) ElementType() reflect.Type

func (AccessListMap) ToAccessListMapOutput

func (i AccessListMap) ToAccessListMapOutput() AccessListMapOutput

func (AccessListMap) ToAccessListMapOutputWithContext

func (i AccessListMap) ToAccessListMapOutputWithContext(ctx context.Context) AccessListMapOutput

type AccessListMapInput

type AccessListMapInput interface {
	pulumi.Input

	ToAccessListMapOutput() AccessListMapOutput
	ToAccessListMapOutputWithContext(context.Context) AccessListMapOutput
}

AccessListMapInput is an input type that accepts AccessListMap and AccessListMapOutput values. You can construct a concrete instance of `AccessListMapInput` via:

AccessListMap{ "key": AccessListArgs{...} }

type AccessListMapOutput

type AccessListMapOutput struct{ *pulumi.OutputState }

func (AccessListMapOutput) ElementType

func (AccessListMapOutput) ElementType() reflect.Type

func (AccessListMapOutput) MapIndex

func (AccessListMapOutput) ToAccessListMapOutput

func (o AccessListMapOutput) ToAccessListMapOutput() AccessListMapOutput

func (AccessListMapOutput) ToAccessListMapOutputWithContext

func (o AccessListMapOutput) ToAccessListMapOutputWithContext(ctx context.Context) AccessListMapOutput

type AccessListOutput

type AccessListOutput struct{ *pulumi.OutputState }

func (AccessListOutput) Addresses

List of address requests that should have access to database endpoints.

func (AccessListOutput) DatabaseId

func (o AccessListOutput) DatabaseId() pulumi.StringOutput

The ID of the Astra database.

func (AccessListOutput) ElementType

func (AccessListOutput) ElementType() reflect.Type

func (AccessListOutput) Enabled

Public access restrictions enabled or disabled

func (AccessListOutput) ToAccessListOutput

func (o AccessListOutput) ToAccessListOutput() AccessListOutput

func (AccessListOutput) ToAccessListOutputWithContext

func (o AccessListOutput) ToAccessListOutputWithContext(ctx context.Context) AccessListOutput

type AccessListState

type AccessListState struct {
	// List of address requests that should have access to database endpoints.
	Addresses AccessListAddressArrayInput
	// The ID of the Astra database.
	DatabaseId pulumi.StringPtrInput
	// Public access restrictions enabled or disabled
	Enabled pulumi.BoolPtrInput
}

func (AccessListState) ElementType

func (AccessListState) ElementType() reflect.Type

type Cdc

type Cdc struct {
	pulumi.CustomResourceState

	// Connector Status
	ConnectorStatus pulumi.StringOutput `pulumi:"connectorStatus"`
	// Data topic name
	DataTopic pulumi.StringOutput `pulumi:"dataTopic"`
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// Astra database name.
	DatabaseName pulumi.StringOutput `pulumi:"databaseName"`
	// Initial keyspace name. For additional keyspaces, use the Keyspace resource.
	Keyspace pulumi.StringOutput `pulumi:"keyspace"`
	// Astra database table.
	Table pulumi.StringOutput `pulumi:"table"`
	// Streaming tenant name
	TenantName pulumi.StringOutput `pulumi:"tenantName"`
	// Number of partitions in cdc topic.
	TopicPartitions pulumi.IntOutput `pulumi:"topicPartitions"`
}

`Cdc` enables cdc for an Astra Serverless table.

## Example Usage

```go 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{
			TenantName:    pulumi.String("terraformtest"),
			Topic:         pulumi.String("terraformtest"),
			Region:        pulumi.String("useast-4"),
			CloudProvider: pulumi.String("gcp"),
			UserEmail:     pulumi.String("seb@datastax.com"),
		})
		if err != nil {
			return err
		}
		_, err = astra.NewCdc(ctx, "cdc-1", &astra.CdcArgs{
			DatabaseId:      pulumi.String("5b70892f-e01a-4595-98e6-19ecc9985d50"),
			DatabaseName:    pulumi.String("sai_test"),
			Table:           pulumi.String("test"),
			Keyspace:        pulumi.String("sai_test"),
			TopicPartitions: pulumi.Int(3),
			TenantName:      streamingTenant_1.TenantName,
		}, pulumi.DependsOn([]pulumi.Resource{
			streamingTenant_1,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import astra:index/cdc:Cdc example databaseId/keyspace/table/tenantName

```

func GetCdc

func GetCdc(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CdcState, opts ...pulumi.ResourceOption) (*Cdc, error)

GetCdc gets an existing Cdc resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCdc

func NewCdc(ctx *pulumi.Context,
	name string, args *CdcArgs, opts ...pulumi.ResourceOption) (*Cdc, error)

NewCdc registers a new resource with the given unique name, arguments, and options.

func (*Cdc) ElementType

func (*Cdc) ElementType() reflect.Type

func (*Cdc) ToCdcOutput

func (i *Cdc) ToCdcOutput() CdcOutput

func (*Cdc) ToCdcOutputWithContext

func (i *Cdc) ToCdcOutputWithContext(ctx context.Context) CdcOutput

type CdcArgs

type CdcArgs struct {
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringInput
	// Astra database name.
	DatabaseName pulumi.StringInput
	// Initial keyspace name. For additional keyspaces, use the Keyspace resource.
	Keyspace pulumi.StringInput
	// Astra database table.
	Table pulumi.StringInput
	// Streaming tenant name
	TenantName pulumi.StringInput
	// Number of partitions in cdc topic.
	TopicPartitions pulumi.IntInput
}

The set of arguments for constructing a Cdc resource.

func (CdcArgs) ElementType

func (CdcArgs) ElementType() reflect.Type

type CdcArray

type CdcArray []CdcInput

func (CdcArray) ElementType

func (CdcArray) ElementType() reflect.Type

func (CdcArray) ToCdcArrayOutput

func (i CdcArray) ToCdcArrayOutput() CdcArrayOutput

func (CdcArray) ToCdcArrayOutputWithContext

func (i CdcArray) ToCdcArrayOutputWithContext(ctx context.Context) CdcArrayOutput

type CdcArrayInput

type CdcArrayInput interface {
	pulumi.Input

	ToCdcArrayOutput() CdcArrayOutput
	ToCdcArrayOutputWithContext(context.Context) CdcArrayOutput
}

CdcArrayInput is an input type that accepts CdcArray and CdcArrayOutput values. You can construct a concrete instance of `CdcArrayInput` via:

CdcArray{ CdcArgs{...} }

type CdcArrayOutput

type CdcArrayOutput struct{ *pulumi.OutputState }

func (CdcArrayOutput) ElementType

func (CdcArrayOutput) ElementType() reflect.Type

func (CdcArrayOutput) Index

func (CdcArrayOutput) ToCdcArrayOutput

func (o CdcArrayOutput) ToCdcArrayOutput() CdcArrayOutput

func (CdcArrayOutput) ToCdcArrayOutputWithContext

func (o CdcArrayOutput) ToCdcArrayOutputWithContext(ctx context.Context) CdcArrayOutput

type CdcInput

type CdcInput interface {
	pulumi.Input

	ToCdcOutput() CdcOutput
	ToCdcOutputWithContext(ctx context.Context) CdcOutput
}

type CdcMap

type CdcMap map[string]CdcInput

func (CdcMap) ElementType

func (CdcMap) ElementType() reflect.Type

func (CdcMap) ToCdcMapOutput

func (i CdcMap) ToCdcMapOutput() CdcMapOutput

func (CdcMap) ToCdcMapOutputWithContext

func (i CdcMap) ToCdcMapOutputWithContext(ctx context.Context) CdcMapOutput

type CdcMapInput

type CdcMapInput interface {
	pulumi.Input

	ToCdcMapOutput() CdcMapOutput
	ToCdcMapOutputWithContext(context.Context) CdcMapOutput
}

CdcMapInput is an input type that accepts CdcMap and CdcMapOutput values. You can construct a concrete instance of `CdcMapInput` via:

CdcMap{ "key": CdcArgs{...} }

type CdcMapOutput

type CdcMapOutput struct{ *pulumi.OutputState }

func (CdcMapOutput) ElementType

func (CdcMapOutput) ElementType() reflect.Type

func (CdcMapOutput) MapIndex

func (o CdcMapOutput) MapIndex(k pulumi.StringInput) CdcOutput

func (CdcMapOutput) ToCdcMapOutput

func (o CdcMapOutput) ToCdcMapOutput() CdcMapOutput

func (CdcMapOutput) ToCdcMapOutputWithContext

func (o CdcMapOutput) ToCdcMapOutputWithContext(ctx context.Context) CdcMapOutput

type CdcOutput

type CdcOutput struct{ *pulumi.OutputState }

func (CdcOutput) ConnectorStatus

func (o CdcOutput) ConnectorStatus() pulumi.StringOutput

Connector Status

func (CdcOutput) DataTopic

func (o CdcOutput) DataTopic() pulumi.StringOutput

Data topic name

func (CdcOutput) DatabaseId

func (o CdcOutput) DatabaseId() pulumi.StringOutput

Astra database to create the keyspace.

func (CdcOutput) DatabaseName

func (o CdcOutput) DatabaseName() pulumi.StringOutput

Astra database name.

func (CdcOutput) ElementType

func (CdcOutput) ElementType() reflect.Type

func (CdcOutput) Keyspace

func (o CdcOutput) Keyspace() pulumi.StringOutput

Initial keyspace name. For additional keyspaces, use the Keyspace resource.

func (CdcOutput) Table

func (o CdcOutput) Table() pulumi.StringOutput

Astra database table.

func (CdcOutput) TenantName

func (o CdcOutput) TenantName() pulumi.StringOutput

Streaming tenant name

func (CdcOutput) ToCdcOutput

func (o CdcOutput) ToCdcOutput() CdcOutput

func (CdcOutput) ToCdcOutputWithContext

func (o CdcOutput) ToCdcOutputWithContext(ctx context.Context) CdcOutput

func (CdcOutput) TopicPartitions

func (o CdcOutput) TopicPartitions() pulumi.IntOutput

Number of partitions in cdc topic.

type CdcState

type CdcState struct {
	// Connector Status
	ConnectorStatus pulumi.StringPtrInput
	// Data topic name
	DataTopic pulumi.StringPtrInput
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringPtrInput
	// Astra database name.
	DatabaseName pulumi.StringPtrInput
	// Initial keyspace name. For additional keyspaces, use the Keyspace resource.
	Keyspace pulumi.StringPtrInput
	// Astra database table.
	Table pulumi.StringPtrInput
	// Streaming tenant name
	TenantName pulumi.StringPtrInput
	// Number of partitions in cdc topic.
	TopicPartitions pulumi.IntPtrInput
}

func (CdcState) ElementType

func (CdcState) ElementType() reflect.Type

type Database

type Database struct {
	pulumi.CustomResourceState

	// Additional keyspaces
	AdditionalKeyspaces pulumi.StringArrayOutput `pulumi:"additionalKeyspaces"`
	// The cloud provider to launch the database. (Currently supported: aws, azure, gcp)
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// The cqlsh_url
	CqlshUrl pulumi.StringOutput `pulumi:"cqlshUrl"`
	// The data*endpoint*url
	DataEndpointUrl pulumi.StringOutput `pulumi:"dataEndpointUrl"`
	// Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".
	Datacenters pulumi.StringMapOutput `pulumi:"datacenters"`
	// Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a
	// `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// The grafana_url
	GrafanaUrl pulumi.StringOutput `pulumi:"grafanaUrl"`
	// The graphql_url
	GraphqlUrl pulumi.StringOutput `pulumi:"graphqlUrl"`
	// Initial keyspace name. For additional keyspaces, use the Keyspace resource.
	Keyspace pulumi.StringOutput `pulumi:"keyspace"`
	// Astra database name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The node_count
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// The org id.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The owner id.
	OwnerId pulumi.StringOutput `pulumi:"ownerId"`
	// Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions)
	Regions pulumi.StringArrayOutput `pulumi:"regions"`
	// The replication_factor
	ReplicationFactor pulumi.IntOutput `pulumi:"replicationFactor"`
	// The status
	Status pulumi.StringOutput `pulumi:"status"`
	// The total_storage
	TotalStorage pulumi.IntOutput `pulumi:"totalStorage"`
}

## Example Usage

```go 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.NewDatabase(ctx, "example", &astra.DatabaseArgs{
			CloudProvider: pulumi.String("gcp"),
			Keyspace:      pulumi.String("keyspace"),
			Regions: pulumi.StringArray{
				pulumi.String("us-east1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import astra:index/database:Database example 48bfc13b-c1a5-48db-b70f-b6ef9709872b

```

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

func (*Database) ElementType

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseArgs

type DatabaseArgs struct {
	// The cloud provider to launch the database. (Currently supported: aws, azure, gcp)
	CloudProvider pulumi.StringInput
	// Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a
	// `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// Initial keyspace name. For additional keyspaces, use the Keyspace resource.
	Keyspace pulumi.StringInput
	// Astra database name.
	Name pulumi.StringPtrInput
	// Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions)
	Regions pulumi.StringArrayInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseArray

type DatabaseArray []DatabaseInput

func (DatabaseArray) ElementType

func (DatabaseArray) ElementType() reflect.Type

func (DatabaseArray) ToDatabaseArrayOutput

func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArray) ToDatabaseArrayOutputWithContext

func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseArrayInput

type DatabaseArrayInput interface {
	pulumi.Input

	ToDatabaseArrayOutput() DatabaseArrayOutput
	ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput
}

DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:

DatabaseArray{ DatabaseArgs{...} }

type DatabaseArrayOutput

type DatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatabaseArrayOutput) ElementType

func (DatabaseArrayOutput) ElementType() reflect.Type

func (DatabaseArrayOutput) Index

func (DatabaseArrayOutput) ToDatabaseArrayOutput

func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext

func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseInput

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseMap

type DatabaseMap map[string]DatabaseInput

func (DatabaseMap) ElementType

func (DatabaseMap) ElementType() reflect.Type

func (DatabaseMap) ToDatabaseMapOutput

func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMap) ToDatabaseMapOutputWithContext

func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseMapInput

type DatabaseMapInput interface {
	pulumi.Input

	ToDatabaseMapOutput() DatabaseMapOutput
	ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput
}

DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:

DatabaseMap{ "key": DatabaseArgs{...} }

type DatabaseMapOutput

type DatabaseMapOutput struct{ *pulumi.OutputState }

func (DatabaseMapOutput) ElementType

func (DatabaseMapOutput) ElementType() reflect.Type

func (DatabaseMapOutput) MapIndex

func (DatabaseMapOutput) ToDatabaseMapOutput

func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMapOutput) ToDatabaseMapOutputWithContext

func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseOutput

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) AdditionalKeyspaces

func (o DatabaseOutput) AdditionalKeyspaces() pulumi.StringArrayOutput

Additional keyspaces

func (DatabaseOutput) CloudProvider

func (o DatabaseOutput) CloudProvider() pulumi.StringOutput

The cloud provider to launch the database. (Currently supported: aws, azure, gcp)

func (DatabaseOutput) CqlshUrl

func (o DatabaseOutput) CqlshUrl() pulumi.StringOutput

The cqlsh_url

func (DatabaseOutput) DataEndpointUrl

func (o DatabaseOutput) DataEndpointUrl() pulumi.StringOutput

The data*endpoint*url

func (DatabaseOutput) Datacenters

func (o DatabaseOutput) Datacenters() pulumi.StringMapOutput

Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".

func (DatabaseOutput) DeletionProtection

func (o DatabaseOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.

func (DatabaseOutput) ElementType

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) GrafanaUrl

func (o DatabaseOutput) GrafanaUrl() pulumi.StringOutput

The grafana_url

func (DatabaseOutput) GraphqlUrl

func (o DatabaseOutput) GraphqlUrl() pulumi.StringOutput

The graphql_url

func (DatabaseOutput) Keyspace

func (o DatabaseOutput) Keyspace() pulumi.StringOutput

Initial keyspace name. For additional keyspaces, use the Keyspace resource.

func (DatabaseOutput) Name

Astra database name.

func (DatabaseOutput) NodeCount

func (o DatabaseOutput) NodeCount() pulumi.IntOutput

The node_count

func (DatabaseOutput) OrganizationId

func (o DatabaseOutput) OrganizationId() pulumi.StringOutput

The org id.

func (DatabaseOutput) OwnerId

func (o DatabaseOutput) OwnerId() pulumi.StringOutput

The owner id.

func (DatabaseOutput) Regions

Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions)

func (DatabaseOutput) ReplicationFactor

func (o DatabaseOutput) ReplicationFactor() pulumi.IntOutput

The replication_factor

func (DatabaseOutput) Status

func (o DatabaseOutput) Status() pulumi.StringOutput

The status

func (DatabaseOutput) ToDatabaseOutput

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

func (DatabaseOutput) TotalStorage

func (o DatabaseOutput) TotalStorage() pulumi.IntOutput

The total_storage

type DatabaseState

type DatabaseState struct {
	// Additional keyspaces
	AdditionalKeyspaces pulumi.StringArrayInput
	// The cloud provider to launch the database. (Currently supported: aws, azure, gcp)
	CloudProvider pulumi.StringPtrInput
	// The cqlsh_url
	CqlshUrl pulumi.StringPtrInput
	// The data*endpoint*url
	DataEndpointUrl pulumi.StringPtrInput
	// Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".
	Datacenters pulumi.StringMapInput
	// Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a
	// `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// The grafana_url
	GrafanaUrl pulumi.StringPtrInput
	// The graphql_url
	GraphqlUrl pulumi.StringPtrInput
	// Initial keyspace name. For additional keyspaces, use the Keyspace resource.
	Keyspace pulumi.StringPtrInput
	// Astra database name.
	Name pulumi.StringPtrInput
	// The node_count
	NodeCount pulumi.IntPtrInput
	// The org id.
	OrganizationId pulumi.StringPtrInput
	// The owner id.
	OwnerId pulumi.StringPtrInput
	// Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions)
	Regions pulumi.StringArrayInput
	// The replication_factor
	ReplicationFactor pulumi.IntPtrInput
	// The status
	Status pulumi.StringPtrInput
	// The total_storage
	TotalStorage pulumi.IntPtrInput
}

func (DatabaseState) ElementType

func (DatabaseState) ElementType() reflect.Type

type GetAccessListAddress

type GetAccessListAddress struct {
	Address     string  `pulumi:"address"`
	Description *string `pulumi:"description"`
	// The Access list is enabled or disabled.
	Enabled bool `pulumi:"enabled"`
}

type GetAccessListAddressArgs

type GetAccessListAddressArgs struct {
	Address     pulumi.StringInput    `pulumi:"address"`
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The Access list is enabled or disabled.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
}

func (GetAccessListAddressArgs) ElementType

func (GetAccessListAddressArgs) ElementType() reflect.Type

func (GetAccessListAddressArgs) ToGetAccessListAddressOutput

func (i GetAccessListAddressArgs) ToGetAccessListAddressOutput() GetAccessListAddressOutput

func (GetAccessListAddressArgs) ToGetAccessListAddressOutputWithContext

func (i GetAccessListAddressArgs) ToGetAccessListAddressOutputWithContext(ctx context.Context) GetAccessListAddressOutput

type GetAccessListAddressArray

type GetAccessListAddressArray []GetAccessListAddressInput

func (GetAccessListAddressArray) ElementType

func (GetAccessListAddressArray) ElementType() reflect.Type

func (GetAccessListAddressArray) ToGetAccessListAddressArrayOutput

func (i GetAccessListAddressArray) ToGetAccessListAddressArrayOutput() GetAccessListAddressArrayOutput

func (GetAccessListAddressArray) ToGetAccessListAddressArrayOutputWithContext

func (i GetAccessListAddressArray) ToGetAccessListAddressArrayOutputWithContext(ctx context.Context) GetAccessListAddressArrayOutput

type GetAccessListAddressArrayInput

type GetAccessListAddressArrayInput interface {
	pulumi.Input

	ToGetAccessListAddressArrayOutput() GetAccessListAddressArrayOutput
	ToGetAccessListAddressArrayOutputWithContext(context.Context) GetAccessListAddressArrayOutput
}

GetAccessListAddressArrayInput is an input type that accepts GetAccessListAddressArray and GetAccessListAddressArrayOutput values. You can construct a concrete instance of `GetAccessListAddressArrayInput` via:

GetAccessListAddressArray{ GetAccessListAddressArgs{...} }

type GetAccessListAddressArrayOutput

type GetAccessListAddressArrayOutput struct{ *pulumi.OutputState }

func (GetAccessListAddressArrayOutput) ElementType

func (GetAccessListAddressArrayOutput) Index

func (GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutput

func (o GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutput() GetAccessListAddressArrayOutput

func (GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutputWithContext

func (o GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutputWithContext(ctx context.Context) GetAccessListAddressArrayOutput

type GetAccessListAddressInput

type GetAccessListAddressInput interface {
	pulumi.Input

	ToGetAccessListAddressOutput() GetAccessListAddressOutput
	ToGetAccessListAddressOutputWithContext(context.Context) GetAccessListAddressOutput
}

GetAccessListAddressInput is an input type that accepts GetAccessListAddressArgs and GetAccessListAddressOutput values. You can construct a concrete instance of `GetAccessListAddressInput` via:

GetAccessListAddressArgs{...}

type GetAccessListAddressOutput

type GetAccessListAddressOutput struct{ *pulumi.OutputState }

func (GetAccessListAddressOutput) Address

func (GetAccessListAddressOutput) Description

func (GetAccessListAddressOutput) ElementType

func (GetAccessListAddressOutput) ElementType() reflect.Type

func (GetAccessListAddressOutput) Enabled

The Access list is enabled or disabled.

func (GetAccessListAddressOutput) ToGetAccessListAddressOutput

func (o GetAccessListAddressOutput) ToGetAccessListAddressOutput() GetAccessListAddressOutput

func (GetAccessListAddressOutput) ToGetAccessListAddressOutputWithContext

func (o GetAccessListAddressOutput) ToGetAccessListAddressOutputWithContext(ctx context.Context) GetAccessListAddressOutput

type GetAstraDatabaseArgs

type GetAstraDatabaseArgs struct {
	// Astra Database ID (system generated)
	DatabaseId string `pulumi:"databaseId"`
}

A collection of arguments for invoking getAstraDatabase.

type GetAstraDatabaseOutputArgs

type GetAstraDatabaseOutputArgs struct {
	// Astra Database ID (system generated)
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
}

A collection of arguments for invoking getAstraDatabase.

func (GetAstraDatabaseOutputArgs) ElementType

func (GetAstraDatabaseOutputArgs) ElementType() reflect.Type

type GetAstraDatabaseResult

type GetAstraDatabaseResult struct {
	// Additional keyspaces
	AdditionalKeyspaces []string `pulumi:"additionalKeyspaces"`
	// Cloud provider (AWS, GCP, AZURE)
	CloudProvider string `pulumi:"cloudProvider"`
	// URL for cqlsh web
	CqlshUrl string `pulumi:"cqlshUrl"`
	// REST API URL
	DataEndpointUrl string `pulumi:"dataEndpointUrl"`
	// Astra Database ID (system generated)
	DatabaseId string `pulumi:"databaseId"`
	// Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".
	Datacenters map[string]string `pulumi:"datacenters"`
	// URL for the grafana dashboard for this database
	GrafanaUrl string `pulumi:"grafanaUrl"`
	// Graphql URL
	GraphqlUrl string `pulumi:"graphqlUrl"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Initial keyspace
	Keyspace string `pulumi:"keyspace"`
	// Database name (user provided)
	Name string `pulumi:"name"`
	// Node count (not relevant for serverless databases)
	NodeCount int `pulumi:"nodeCount"`
	// Ordg id (system generated)
	OrganizationId string `pulumi:"organizationId"`
	// Owner id (system generated)
	OwnerId string `pulumi:"ownerId"`
	// Cloud provider region. Get list of supported regions from regions data-source
	Regions []string `pulumi:"regions"`
	// Replication Factor (not relevant for serverless databases)
	ReplicationFactor int `pulumi:"replicationFactor"`
	// Database status
	Status string `pulumi:"status"`
	// Storage Capacity (not relevant for serverelss databases)
	TotalStorage int `pulumi:"totalStorage"`
}

A collection of values returned by getAstraDatabase.

func GetAstraDatabase

func GetAstraDatabase(ctx *pulumi.Context, args *GetAstraDatabaseArgs, opts ...pulumi.InvokeOption) (*GetAstraDatabaseResult, error)

`Database` provides a datasource for Astra an Astra database. This can be used to select an existing database within your Astra Organization.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.GetAstraDatabase(ctx, &GetAstraDatabaseArgs{
			DatabaseId: "8d356587-73b3-430a-9c0e-d780332e2afb",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAstraDatabaseResultOutput

type GetAstraDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAstraDatabase.

func (GetAstraDatabaseResultOutput) AdditionalKeyspaces

func (o GetAstraDatabaseResultOutput) AdditionalKeyspaces() pulumi.StringArrayOutput

Additional keyspaces

func (GetAstraDatabaseResultOutput) CloudProvider

Cloud provider (AWS, GCP, AZURE)

func (GetAstraDatabaseResultOutput) CqlshUrl

URL for cqlsh web

func (GetAstraDatabaseResultOutput) DataEndpointUrl

func (o GetAstraDatabaseResultOutput) DataEndpointUrl() pulumi.StringOutput

REST API URL

func (GetAstraDatabaseResultOutput) DatabaseId

Astra Database ID (system generated)

func (GetAstraDatabaseResultOutput) Datacenters

Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".

func (GetAstraDatabaseResultOutput) ElementType

func (GetAstraDatabaseResultOutput) GrafanaUrl

URL for the grafana dashboard for this database

func (GetAstraDatabaseResultOutput) GraphqlUrl

Graphql URL

func (GetAstraDatabaseResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAstraDatabaseResultOutput) Keyspace

Initial keyspace

func (GetAstraDatabaseResultOutput) Name

Database name (user provided)

func (GetAstraDatabaseResultOutput) NodeCount

Node count (not relevant for serverless databases)

func (GetAstraDatabaseResultOutput) OrganizationId

Ordg id (system generated)

func (GetAstraDatabaseResultOutput) OwnerId

Owner id (system generated)

func (GetAstraDatabaseResultOutput) Regions

Cloud provider region. Get list of supported regions from regions data-source

func (GetAstraDatabaseResultOutput) ReplicationFactor

func (o GetAstraDatabaseResultOutput) ReplicationFactor() pulumi.IntOutput

Replication Factor (not relevant for serverless databases)

func (GetAstraDatabaseResultOutput) Status

Database status

func (GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutput

func (o GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutput() GetAstraDatabaseResultOutput

func (GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutputWithContext

func (o GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutputWithContext(ctx context.Context) GetAstraDatabaseResultOutput

func (GetAstraDatabaseResultOutput) TotalStorage

Storage Capacity (not relevant for serverelss databases)

type GetAstraDatabasesResult

type GetAstraDatabasesResult struct {
	AdditionalKeyspaces []string `pulumi:"additionalKeyspaces"`
	// The cloud provider
	CloudProvider   string            `pulumi:"cloudProvider"`
	CqlshUrl        string            `pulumi:"cqlshUrl"`
	DataEndpointUrl string            `pulumi:"dataEndpointUrl"`
	Datacenters     map[string]string `pulumi:"datacenters"`
	GrafanaUrl      string            `pulumi:"grafanaUrl"`
	GraphqlUrl      string            `pulumi:"graphqlUrl"`
	// The ID of this resource.
	Id                string   `pulumi:"id"`
	Keyspace          string   `pulumi:"keyspace"`
	Name              string   `pulumi:"name"`
	NodeCount         int      `pulumi:"nodeCount"`
	OrganizationId    string   `pulumi:"organizationId"`
	OwnerId           string   `pulumi:"ownerId"`
	Regions           []string `pulumi:"regions"`
	ReplicationFactor int      `pulumi:"replicationFactor"`
	// Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
	Status       string `pulumi:"status"`
	TotalStorage int    `pulumi:"totalStorage"`
}

type GetAstraDatabasesResultArgs

type GetAstraDatabasesResultArgs struct {
	AdditionalKeyspaces pulumi.StringArrayInput `pulumi:"additionalKeyspaces"`
	// The cloud provider
	CloudProvider   pulumi.StringInput    `pulumi:"cloudProvider"`
	CqlshUrl        pulumi.StringInput    `pulumi:"cqlshUrl"`
	DataEndpointUrl pulumi.StringInput    `pulumi:"dataEndpointUrl"`
	Datacenters     pulumi.StringMapInput `pulumi:"datacenters"`
	GrafanaUrl      pulumi.StringInput    `pulumi:"grafanaUrl"`
	GraphqlUrl      pulumi.StringInput    `pulumi:"graphqlUrl"`
	// The ID of this resource.
	Id                pulumi.StringInput      `pulumi:"id"`
	Keyspace          pulumi.StringInput      `pulumi:"keyspace"`
	Name              pulumi.StringInput      `pulumi:"name"`
	NodeCount         pulumi.IntInput         `pulumi:"nodeCount"`
	OrganizationId    pulumi.StringInput      `pulumi:"organizationId"`
	OwnerId           pulumi.StringInput      `pulumi:"ownerId"`
	Regions           pulumi.StringArrayInput `pulumi:"regions"`
	ReplicationFactor pulumi.IntInput         `pulumi:"replicationFactor"`
	// Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
	Status       pulumi.StringInput `pulumi:"status"`
	TotalStorage pulumi.IntInput    `pulumi:"totalStorage"`
}

func (GetAstraDatabasesResultArgs) ElementType

func (GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutput

func (i GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutput() GetAstraDatabasesResultOutput

func (GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutputWithContext

func (i GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutputWithContext(ctx context.Context) GetAstraDatabasesResultOutput

type GetAstraDatabasesResultArray

type GetAstraDatabasesResultArray []GetAstraDatabasesResultInput

func (GetAstraDatabasesResultArray) ElementType

func (GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutput

func (i GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput

func (GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutputWithContext

func (i GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutputWithContext(ctx context.Context) GetAstraDatabasesResultArrayOutput

type GetAstraDatabasesResultArrayInput

type GetAstraDatabasesResultArrayInput interface {
	pulumi.Input

	ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput
	ToGetAstraDatabasesResultArrayOutputWithContext(context.Context) GetAstraDatabasesResultArrayOutput
}

GetAstraDatabasesResultArrayInput is an input type that accepts GetAstraDatabasesResultArray and GetAstraDatabasesResultArrayOutput values. You can construct a concrete instance of `GetAstraDatabasesResultArrayInput` via:

GetAstraDatabasesResultArray{ GetAstraDatabasesResultArgs{...} }

type GetAstraDatabasesResultArrayOutput

type GetAstraDatabasesResultArrayOutput struct{ *pulumi.OutputState }

func (GetAstraDatabasesResultArrayOutput) ElementType

func (GetAstraDatabasesResultArrayOutput) Index

func (GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutput

func (o GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput

func (GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutputWithContext

func (o GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutputWithContext(ctx context.Context) GetAstraDatabasesResultArrayOutput

type GetAstraDatabasesResultInput

type GetAstraDatabasesResultInput interface {
	pulumi.Input

	ToGetAstraDatabasesResultOutput() GetAstraDatabasesResultOutput
	ToGetAstraDatabasesResultOutputWithContext(context.Context) GetAstraDatabasesResultOutput
}

GetAstraDatabasesResultInput is an input type that accepts GetAstraDatabasesResultArgs and GetAstraDatabasesResultOutput values. You can construct a concrete instance of `GetAstraDatabasesResultInput` via:

GetAstraDatabasesResultArgs{...}

type GetAstraDatabasesResultOutput

type GetAstraDatabasesResultOutput struct{ *pulumi.OutputState }

func (GetAstraDatabasesResultOutput) AdditionalKeyspaces

func (o GetAstraDatabasesResultOutput) AdditionalKeyspaces() pulumi.StringArrayOutput

func (GetAstraDatabasesResultOutput) CloudProvider

The cloud provider

func (GetAstraDatabasesResultOutput) CqlshUrl

func (GetAstraDatabasesResultOutput) DataEndpointUrl

func (GetAstraDatabasesResultOutput) Datacenters

func (GetAstraDatabasesResultOutput) ElementType

func (GetAstraDatabasesResultOutput) GrafanaUrl

func (GetAstraDatabasesResultOutput) GraphqlUrl

func (GetAstraDatabasesResultOutput) Id

The ID of this resource.

func (GetAstraDatabasesResultOutput) Keyspace

func (GetAstraDatabasesResultOutput) Name

func (GetAstraDatabasesResultOutput) NodeCount

func (GetAstraDatabasesResultOutput) OrganizationId

func (GetAstraDatabasesResultOutput) OwnerId

func (GetAstraDatabasesResultOutput) Regions

func (GetAstraDatabasesResultOutput) ReplicationFactor

func (o GetAstraDatabasesResultOutput) ReplicationFactor() pulumi.IntOutput

func (GetAstraDatabasesResultOutput) Status

Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements

func (GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutput

func (o GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutput() GetAstraDatabasesResultOutput

func (GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutputWithContext

func (o GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutputWithContext(ctx context.Context) GetAstraDatabasesResultOutput

func (GetAstraDatabasesResultOutput) TotalStorage

type GetAvailableRegionsResult

type GetAvailableRegionsResult struct {
	CloudProvider string `pulumi:"cloudProvider"`
	DisplayName   string `pulumi:"displayName"`
	Region        string `pulumi:"region"`
	Zone          string `pulumi:"zone"`
}

type GetAvailableRegionsResultArgs

type GetAvailableRegionsResultArgs struct {
	CloudProvider pulumi.StringInput `pulumi:"cloudProvider"`
	DisplayName   pulumi.StringInput `pulumi:"displayName"`
	Region        pulumi.StringInput `pulumi:"region"`
	Zone          pulumi.StringInput `pulumi:"zone"`
}

func (GetAvailableRegionsResultArgs) ElementType

func (GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutput

func (i GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput

func (GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutputWithContext

func (i GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutputWithContext(ctx context.Context) GetAvailableRegionsResultOutput

type GetAvailableRegionsResultArray

type GetAvailableRegionsResultArray []GetAvailableRegionsResultInput

func (GetAvailableRegionsResultArray) ElementType

func (GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutput

func (i GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput

func (GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutputWithContext

func (i GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutputWithContext(ctx context.Context) GetAvailableRegionsResultArrayOutput

type GetAvailableRegionsResultArrayInput

type GetAvailableRegionsResultArrayInput interface {
	pulumi.Input

	ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput
	ToGetAvailableRegionsResultArrayOutputWithContext(context.Context) GetAvailableRegionsResultArrayOutput
}

GetAvailableRegionsResultArrayInput is an input type that accepts GetAvailableRegionsResultArray and GetAvailableRegionsResultArrayOutput values. You can construct a concrete instance of `GetAvailableRegionsResultArrayInput` via:

GetAvailableRegionsResultArray{ GetAvailableRegionsResultArgs{...} }

type GetAvailableRegionsResultArrayOutput

type GetAvailableRegionsResultArrayOutput struct{ *pulumi.OutputState }

func (GetAvailableRegionsResultArrayOutput) ElementType

func (GetAvailableRegionsResultArrayOutput) Index

func (GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutput

func (o GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput

func (GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutputWithContext

func (o GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutputWithContext(ctx context.Context) GetAvailableRegionsResultArrayOutput

type GetAvailableRegionsResultInput

type GetAvailableRegionsResultInput interface {
	pulumi.Input

	ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput
	ToGetAvailableRegionsResultOutputWithContext(context.Context) GetAvailableRegionsResultOutput
}

GetAvailableRegionsResultInput is an input type that accepts GetAvailableRegionsResultArgs and GetAvailableRegionsResultOutput values. You can construct a concrete instance of `GetAvailableRegionsResultInput` via:

GetAvailableRegionsResultArgs{...}

type GetAvailableRegionsResultOutput

type GetAvailableRegionsResultOutput struct{ *pulumi.OutputState }

func (GetAvailableRegionsResultOutput) CloudProvider

func (GetAvailableRegionsResultOutput) DisplayName

func (GetAvailableRegionsResultOutput) ElementType

func (GetAvailableRegionsResultOutput) Region

func (GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutput

func (o GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput

func (GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutputWithContext

func (o GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutputWithContext(ctx context.Context) GetAvailableRegionsResultOutput

func (GetAvailableRegionsResultOutput) Zone

type GetKeyspacesResult

type GetKeyspacesResult struct {
	Name string `pulumi:"name"`
}

type GetKeyspacesResultArgs

type GetKeyspacesResultArgs struct {
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetKeyspacesResultArgs) ElementType

func (GetKeyspacesResultArgs) ElementType() reflect.Type

func (GetKeyspacesResultArgs) ToGetKeyspacesResultOutput

func (i GetKeyspacesResultArgs) ToGetKeyspacesResultOutput() GetKeyspacesResultOutput

func (GetKeyspacesResultArgs) ToGetKeyspacesResultOutputWithContext

func (i GetKeyspacesResultArgs) ToGetKeyspacesResultOutputWithContext(ctx context.Context) GetKeyspacesResultOutput

type GetKeyspacesResultArray

type GetKeyspacesResultArray []GetKeyspacesResultInput

func (GetKeyspacesResultArray) ElementType

func (GetKeyspacesResultArray) ElementType() reflect.Type

func (GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutput

func (i GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutput() GetKeyspacesResultArrayOutput

func (GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutputWithContext

func (i GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutputWithContext(ctx context.Context) GetKeyspacesResultArrayOutput

type GetKeyspacesResultArrayInput

type GetKeyspacesResultArrayInput interface {
	pulumi.Input

	ToGetKeyspacesResultArrayOutput() GetKeyspacesResultArrayOutput
	ToGetKeyspacesResultArrayOutputWithContext(context.Context) GetKeyspacesResultArrayOutput
}

GetKeyspacesResultArrayInput is an input type that accepts GetKeyspacesResultArray and GetKeyspacesResultArrayOutput values. You can construct a concrete instance of `GetKeyspacesResultArrayInput` via:

GetKeyspacesResultArray{ GetKeyspacesResultArgs{...} }

type GetKeyspacesResultArrayOutput

type GetKeyspacesResultArrayOutput struct{ *pulumi.OutputState }

func (GetKeyspacesResultArrayOutput) ElementType

func (GetKeyspacesResultArrayOutput) Index

func (GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutput

func (o GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutput() GetKeyspacesResultArrayOutput

func (GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutputWithContext

func (o GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutputWithContext(ctx context.Context) GetKeyspacesResultArrayOutput

type GetKeyspacesResultInput

type GetKeyspacesResultInput interface {
	pulumi.Input

	ToGetKeyspacesResultOutput() GetKeyspacesResultOutput
	ToGetKeyspacesResultOutputWithContext(context.Context) GetKeyspacesResultOutput
}

GetKeyspacesResultInput is an input type that accepts GetKeyspacesResultArgs and GetKeyspacesResultOutput values. You can construct a concrete instance of `GetKeyspacesResultInput` via:

GetKeyspacesResultArgs{...}

type GetKeyspacesResultOutput

type GetKeyspacesResultOutput struct{ *pulumi.OutputState }

func (GetKeyspacesResultOutput) ElementType

func (GetKeyspacesResultOutput) ElementType() reflect.Type

func (GetKeyspacesResultOutput) Name

func (GetKeyspacesResultOutput) ToGetKeyspacesResultOutput

func (o GetKeyspacesResultOutput) ToGetKeyspacesResultOutput() GetKeyspacesResultOutput

func (GetKeyspacesResultOutput) ToGetKeyspacesResultOutputWithContext

func (o GetKeyspacesResultOutput) ToGetKeyspacesResultOutputWithContext(ctx context.Context) GetKeyspacesResultOutput

type GetPrivateLinkEndpointsResult

type GetPrivateLinkEndpointsResult struct {
	CreateTime  string `pulumi:"createTime"`
	Description string `pulumi:"description"`
	// Endpoint ID.
	EndpointId string `pulumi:"endpointId"`
	Status     string `pulumi:"status"`
}

type GetPrivateLinkEndpointsResultArgs

type GetPrivateLinkEndpointsResultArgs struct {
	CreateTime  pulumi.StringInput `pulumi:"createTime"`
	Description pulumi.StringInput `pulumi:"description"`
	// Endpoint ID.
	EndpointId pulumi.StringInput `pulumi:"endpointId"`
	Status     pulumi.StringInput `pulumi:"status"`
}

func (GetPrivateLinkEndpointsResultArgs) ElementType

func (GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutput

func (i GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput

func (GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutputWithContext

func (i GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultOutput

type GetPrivateLinkEndpointsResultArray

type GetPrivateLinkEndpointsResultArray []GetPrivateLinkEndpointsResultInput

func (GetPrivateLinkEndpointsResultArray) ElementType

func (GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutput

func (i GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput

func (GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutputWithContext

func (i GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultArrayOutput

type GetPrivateLinkEndpointsResultArrayInput

type GetPrivateLinkEndpointsResultArrayInput interface {
	pulumi.Input

	ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput
	ToGetPrivateLinkEndpointsResultArrayOutputWithContext(context.Context) GetPrivateLinkEndpointsResultArrayOutput
}

GetPrivateLinkEndpointsResultArrayInput is an input type that accepts GetPrivateLinkEndpointsResultArray and GetPrivateLinkEndpointsResultArrayOutput values. You can construct a concrete instance of `GetPrivateLinkEndpointsResultArrayInput` via:

GetPrivateLinkEndpointsResultArray{ GetPrivateLinkEndpointsResultArgs{...} }

type GetPrivateLinkEndpointsResultArrayOutput

type GetPrivateLinkEndpointsResultArrayOutput struct{ *pulumi.OutputState }

func (GetPrivateLinkEndpointsResultArrayOutput) ElementType

func (GetPrivateLinkEndpointsResultArrayOutput) Index

func (GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutput

func (o GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput

func (GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutputWithContext

func (o GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultArrayOutput

type GetPrivateLinkEndpointsResultInput

type GetPrivateLinkEndpointsResultInput interface {
	pulumi.Input

	ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput
	ToGetPrivateLinkEndpointsResultOutputWithContext(context.Context) GetPrivateLinkEndpointsResultOutput
}

GetPrivateLinkEndpointsResultInput is an input type that accepts GetPrivateLinkEndpointsResultArgs and GetPrivateLinkEndpointsResultOutput values. You can construct a concrete instance of `GetPrivateLinkEndpointsResultInput` via:

GetPrivateLinkEndpointsResultArgs{...}

type GetPrivateLinkEndpointsResultOutput

type GetPrivateLinkEndpointsResultOutput struct{ *pulumi.OutputState }

func (GetPrivateLinkEndpointsResultOutput) CreateTime

func (GetPrivateLinkEndpointsResultOutput) Description

func (GetPrivateLinkEndpointsResultOutput) ElementType

func (GetPrivateLinkEndpointsResultOutput) EndpointId

Endpoint ID.

func (GetPrivateLinkEndpointsResultOutput) Status

func (GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutput

func (o GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput

func (GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutputWithContext

func (o GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultOutput

type GetPrivateLinksResult

type GetPrivateLinksResult struct {
	AllowedPrincipals []string `pulumi:"allowedPrincipals"`
	// The datacenter where of the Astra database.
	DatacenterId string   `pulumi:"datacenterId"`
	Endpoints    []string `pulumi:"endpoints"`
	ServiceName  string   `pulumi:"serviceName"`
}

type GetPrivateLinksResultArgs

type GetPrivateLinksResultArgs struct {
	AllowedPrincipals pulumi.StringArrayInput `pulumi:"allowedPrincipals"`
	// The datacenter where of the Astra database.
	DatacenterId pulumi.StringInput      `pulumi:"datacenterId"`
	Endpoints    pulumi.StringArrayInput `pulumi:"endpoints"`
	ServiceName  pulumi.StringInput      `pulumi:"serviceName"`
}

func (GetPrivateLinksResultArgs) ElementType

func (GetPrivateLinksResultArgs) ElementType() reflect.Type

func (GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutput

func (i GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutput() GetPrivateLinksResultOutput

func (GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutputWithContext

func (i GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutputWithContext(ctx context.Context) GetPrivateLinksResultOutput

type GetPrivateLinksResultArray

type GetPrivateLinksResultArray []GetPrivateLinksResultInput

func (GetPrivateLinksResultArray) ElementType

func (GetPrivateLinksResultArray) ElementType() reflect.Type

func (GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutput

func (i GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput

func (GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutputWithContext

func (i GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutputWithContext(ctx context.Context) GetPrivateLinksResultArrayOutput

type GetPrivateLinksResultArrayInput

type GetPrivateLinksResultArrayInput interface {
	pulumi.Input

	ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput
	ToGetPrivateLinksResultArrayOutputWithContext(context.Context) GetPrivateLinksResultArrayOutput
}

GetPrivateLinksResultArrayInput is an input type that accepts GetPrivateLinksResultArray and GetPrivateLinksResultArrayOutput values. You can construct a concrete instance of `GetPrivateLinksResultArrayInput` via:

GetPrivateLinksResultArray{ GetPrivateLinksResultArgs{...} }

type GetPrivateLinksResultArrayOutput

type GetPrivateLinksResultArrayOutput struct{ *pulumi.OutputState }

func (GetPrivateLinksResultArrayOutput) ElementType

func (GetPrivateLinksResultArrayOutput) Index

func (GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutput

func (o GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput

func (GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutputWithContext

func (o GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutputWithContext(ctx context.Context) GetPrivateLinksResultArrayOutput

type GetPrivateLinksResultInput

type GetPrivateLinksResultInput interface {
	pulumi.Input

	ToGetPrivateLinksResultOutput() GetPrivateLinksResultOutput
	ToGetPrivateLinksResultOutputWithContext(context.Context) GetPrivateLinksResultOutput
}

GetPrivateLinksResultInput is an input type that accepts GetPrivateLinksResultArgs and GetPrivateLinksResultOutput values. You can construct a concrete instance of `GetPrivateLinksResultInput` via:

GetPrivateLinksResultArgs{...}

type GetPrivateLinksResultOutput

type GetPrivateLinksResultOutput struct{ *pulumi.OutputState }

func (GetPrivateLinksResultOutput) AllowedPrincipals

func (GetPrivateLinksResultOutput) DatacenterId

The datacenter where of the Astra database.

func (GetPrivateLinksResultOutput) ElementType

func (GetPrivateLinksResultOutput) Endpoints

func (GetPrivateLinksResultOutput) ServiceName

func (GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutput

func (o GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutput() GetPrivateLinksResultOutput

func (GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutputWithContext

func (o GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutputWithContext(ctx context.Context) GetPrivateLinksResultOutput

type GetRolesResult

type GetRolesResult struct {
	Description string   `pulumi:"description"`
	Effect      string   `pulumi:"effect"`
	Policies    []string `pulumi:"policies"`
	Resources   []string `pulumi:"resources"`
	RoleId      string   `pulumi:"roleId"`
	RoleName    string   `pulumi:"roleName"`
}

type GetRolesResultArgs

type GetRolesResultArgs struct {
	Description pulumi.StringInput      `pulumi:"description"`
	Effect      pulumi.StringInput      `pulumi:"effect"`
	Policies    pulumi.StringArrayInput `pulumi:"policies"`
	Resources   pulumi.StringArrayInput `pulumi:"resources"`
	RoleId      pulumi.StringInput      `pulumi:"roleId"`
	RoleName    pulumi.StringInput      `pulumi:"roleName"`
}

func (GetRolesResultArgs) ElementType

func (GetRolesResultArgs) ElementType() reflect.Type

func (GetRolesResultArgs) ToGetRolesResultOutput

func (i GetRolesResultArgs) ToGetRolesResultOutput() GetRolesResultOutput

func (GetRolesResultArgs) ToGetRolesResultOutputWithContext

func (i GetRolesResultArgs) ToGetRolesResultOutputWithContext(ctx context.Context) GetRolesResultOutput

type GetRolesResultArray

type GetRolesResultArray []GetRolesResultInput

func (GetRolesResultArray) ElementType

func (GetRolesResultArray) ElementType() reflect.Type

func (GetRolesResultArray) ToGetRolesResultArrayOutput

func (i GetRolesResultArray) ToGetRolesResultArrayOutput() GetRolesResultArrayOutput

func (GetRolesResultArray) ToGetRolesResultArrayOutputWithContext

func (i GetRolesResultArray) ToGetRolesResultArrayOutputWithContext(ctx context.Context) GetRolesResultArrayOutput

type GetRolesResultArrayInput

type GetRolesResultArrayInput interface {
	pulumi.Input

	ToGetRolesResultArrayOutput() GetRolesResultArrayOutput
	ToGetRolesResultArrayOutputWithContext(context.Context) GetRolesResultArrayOutput
}

GetRolesResultArrayInput is an input type that accepts GetRolesResultArray and GetRolesResultArrayOutput values. You can construct a concrete instance of `GetRolesResultArrayInput` via:

GetRolesResultArray{ GetRolesResultArgs{...} }

type GetRolesResultArrayOutput

type GetRolesResultArrayOutput struct{ *pulumi.OutputState }

func (GetRolesResultArrayOutput) ElementType

func (GetRolesResultArrayOutput) ElementType() reflect.Type

func (GetRolesResultArrayOutput) Index

func (GetRolesResultArrayOutput) ToGetRolesResultArrayOutput

func (o GetRolesResultArrayOutput) ToGetRolesResultArrayOutput() GetRolesResultArrayOutput

func (GetRolesResultArrayOutput) ToGetRolesResultArrayOutputWithContext

func (o GetRolesResultArrayOutput) ToGetRolesResultArrayOutputWithContext(ctx context.Context) GetRolesResultArrayOutput

type GetRolesResultInput

type GetRolesResultInput interface {
	pulumi.Input

	ToGetRolesResultOutput() GetRolesResultOutput
	ToGetRolesResultOutputWithContext(context.Context) GetRolesResultOutput
}

GetRolesResultInput is an input type that accepts GetRolesResultArgs and GetRolesResultOutput values. You can construct a concrete instance of `GetRolesResultInput` via:

GetRolesResultArgs{...}

type GetRolesResultOutput

type GetRolesResultOutput struct{ *pulumi.OutputState }

func (GetRolesResultOutput) Description

func (o GetRolesResultOutput) Description() pulumi.StringOutput

func (GetRolesResultOutput) Effect

func (GetRolesResultOutput) ElementType

func (GetRolesResultOutput) ElementType() reflect.Type

func (GetRolesResultOutput) Policies

func (GetRolesResultOutput) Resources

func (GetRolesResultOutput) RoleId

func (GetRolesResultOutput) RoleName

func (GetRolesResultOutput) ToGetRolesResultOutput

func (o GetRolesResultOutput) ToGetRolesResultOutput() GetRolesResultOutput

func (GetRolesResultOutput) ToGetRolesResultOutputWithContext

func (o GetRolesResultOutput) ToGetRolesResultOutputWithContext(ctx context.Context) GetRolesResultOutput

type GetSecureConnectBundleUrlArgs

type GetSecureConnectBundleUrlArgs struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The ID of the Astra datacenter. If omitted, all bundles will be fetched.
	DatacenterId *string `pulumi:"datacenterId"`
}

A collection of arguments for invoking getSecureConnectBundleUrl.

type GetSecureConnectBundleUrlOutputArgs

type GetSecureConnectBundleUrlOutputArgs struct {
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
	// The ID of the Astra datacenter. If omitted, all bundles will be fetched.
	DatacenterId pulumi.StringPtrInput `pulumi:"datacenterId"`
}

A collection of arguments for invoking getSecureConnectBundleUrl.

func (GetSecureConnectBundleUrlOutputArgs) ElementType

type GetSecureConnectBundleUrlResult

type GetSecureConnectBundleUrlResult struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The ID of the Astra datacenter. If omitted, all bundles will be fetched.
	DatacenterId *string `pulumi:"datacenterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of Secure Connect Bundle info
	SecureBundles []GetSecureConnectBundleUrlSecureBundle `pulumi:"secureBundles"`
}

A collection of values returned by getSecureConnectBundleUrl.

func GetSecureConnectBundleUrl

func GetSecureConnectBundleUrl(ctx *pulumi.Context, args *GetSecureConnectBundleUrlArgs, opts ...pulumi.InvokeOption) (*GetSecureConnectBundleUrlResult, error)

`getSecureConnectBundleUrl` provides a datasource that generates a temporary secure connect bundle URL. This URL lasts five minutes. Secure connect bundles are used to connect to Astra using cql cassandra drivers. See the [docs](https://docs.datastax.com/en/astra/docs/connecting-to-database.html) for more information on how to connect.

type GetSecureConnectBundleUrlResultOutput

type GetSecureConnectBundleUrlResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecureConnectBundleUrl.

func (GetSecureConnectBundleUrlResultOutput) DatabaseId

The ID of the Astra database.

func (GetSecureConnectBundleUrlResultOutput) DatacenterId

The ID of the Astra datacenter. If omitted, all bundles will be fetched.

func (GetSecureConnectBundleUrlResultOutput) ElementType

func (GetSecureConnectBundleUrlResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecureConnectBundleUrlResultOutput) SecureBundles

A list of Secure Connect Bundle info

func (GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutput

func (o GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutput() GetSecureConnectBundleUrlResultOutput

func (GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutputWithContext

func (o GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlResultOutput

type GetSecureConnectBundleUrlSecureBundle

type GetSecureConnectBundleUrlSecureBundle struct {
	CustomDomainBundles []GetSecureConnectBundleUrlSecureBundleCustomDomainBundle `pulumi:"customDomainBundles"`
	// The ID of the Astra datacenter. If omitted, all bundles will be fetched.
	DatacenterId              string `pulumi:"datacenterId"`
	InternalMigrationProxyUrl string `pulumi:"internalMigrationProxyUrl"`
	InternalUrl               string `pulumi:"internalUrl"`
	MigrationProxyUrl         string `pulumi:"migrationProxyUrl"`
	Url                       string `pulumi:"url"`
}

type GetSecureConnectBundleUrlSecureBundleArgs

type GetSecureConnectBundleUrlSecureBundleArgs struct {
	CustomDomainBundles GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput `pulumi:"customDomainBundles"`
	// The ID of the Astra datacenter. If omitted, all bundles will be fetched.
	DatacenterId              pulumi.StringInput `pulumi:"datacenterId"`
	InternalMigrationProxyUrl pulumi.StringInput `pulumi:"internalMigrationProxyUrl"`
	InternalUrl               pulumi.StringInput `pulumi:"internalUrl"`
	MigrationProxyUrl         pulumi.StringInput `pulumi:"migrationProxyUrl"`
	Url                       pulumi.StringInput `pulumi:"url"`
}

func (GetSecureConnectBundleUrlSecureBundleArgs) ElementType

func (GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutput

func (i GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput

func (GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext

func (i GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleOutput

type GetSecureConnectBundleUrlSecureBundleArray

type GetSecureConnectBundleUrlSecureBundleArray []GetSecureConnectBundleUrlSecureBundleInput

func (GetSecureConnectBundleUrlSecureBundleArray) ElementType

func (GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutput

func (i GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput

func (GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext

func (i GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput

type GetSecureConnectBundleUrlSecureBundleArrayInput

type GetSecureConnectBundleUrlSecureBundleArrayInput interface {
	pulumi.Input

	ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput
	ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput
}

GetSecureConnectBundleUrlSecureBundleArrayInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleArray and GetSecureConnectBundleUrlSecureBundleArrayOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleArrayInput` via:

GetSecureConnectBundleUrlSecureBundleArray{ GetSecureConnectBundleUrlSecureBundleArgs{...} }

type GetSecureConnectBundleUrlSecureBundleArrayOutput

type GetSecureConnectBundleUrlSecureBundleArrayOutput struct{ *pulumi.OutputState }

func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ElementType

func (GetSecureConnectBundleUrlSecureBundleArrayOutput) Index

func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutput

func (o GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput

func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext

func (o GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundle

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundle struct {
	ApiFqdn       string `pulumi:"apiFqdn"`
	CqlFqdn       string `pulumi:"cqlFqdn"`
	DashboardFqdn string `pulumi:"dashboardFqdn"`
	Domain        string `pulumi:"domain"`
	Url           string `pulumi:"url"`
}

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs struct {
	ApiFqdn       pulumi.StringInput `pulumi:"apiFqdn"`
	CqlFqdn       pulumi.StringInput `pulumi:"cqlFqdn"`
	DashboardFqdn pulumi.StringInput `pulumi:"dashboardFqdn"`
	Domain        pulumi.StringInput `pulumi:"domain"`
	Url           pulumi.StringInput `pulumi:"url"`
}

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ElementType

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext

func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray []GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ElementType

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext

func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput interface {
	pulumi.Input

	ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
	ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
}

GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray and GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput` via:

GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray{ GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs{...} }

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput struct{ *pulumi.OutputState }

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ElementType

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) Index

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext

func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput interface {
	pulumi.Input

	ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
	ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
}

GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs and GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput` via:

GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs{...}

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput

type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput struct{ *pulumi.OutputState }

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ApiFqdn

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) CqlFqdn

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) DashboardFqdn

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) Domain

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ElementType

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext

func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput

func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) Url

type GetSecureConnectBundleUrlSecureBundleInput

type GetSecureConnectBundleUrlSecureBundleInput interface {
	pulumi.Input

	ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput
	ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleOutput
}

GetSecureConnectBundleUrlSecureBundleInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleArgs and GetSecureConnectBundleUrlSecureBundleOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleInput` via:

GetSecureConnectBundleUrlSecureBundleArgs{...}

type GetSecureConnectBundleUrlSecureBundleOutput

type GetSecureConnectBundleUrlSecureBundleOutput struct{ *pulumi.OutputState }

func (GetSecureConnectBundleUrlSecureBundleOutput) CustomDomainBundles

func (GetSecureConnectBundleUrlSecureBundleOutput) DatacenterId

The ID of the Astra datacenter. If omitted, all bundles will be fetched.

func (GetSecureConnectBundleUrlSecureBundleOutput) ElementType

func (GetSecureConnectBundleUrlSecureBundleOutput) InternalMigrationProxyUrl

func (o GetSecureConnectBundleUrlSecureBundleOutput) InternalMigrationProxyUrl() pulumi.StringOutput

func (GetSecureConnectBundleUrlSecureBundleOutput) InternalUrl

func (GetSecureConnectBundleUrlSecureBundleOutput) MigrationProxyUrl

func (GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutput

func (o GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput

func (GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext

func (o GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleOutput

func (GetSecureConnectBundleUrlSecureBundleOutput) Url

type GetStreamingTenantTokensArgs

type GetStreamingTenantTokensArgs struct {
	// Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1`
	ClusterName string `pulumi:"clusterName"`
	// Name of the streaming tenant for which to fetch tokens.
	TenantName string `pulumi:"tenantName"`
}

A collection of arguments for invoking getStreamingTenantTokens.

type GetStreamingTenantTokensOutputArgs

type GetStreamingTenantTokensOutputArgs struct {
	// Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1`
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// Name of the streaming tenant for which to fetch tokens.
	TenantName pulumi.StringInput `pulumi:"tenantName"`
}

A collection of arguments for invoking getStreamingTenantTokens.

func (GetStreamingTenantTokensOutputArgs) ElementType

type GetStreamingTenantTokensResult

type GetStreamingTenantTokensResult struct {
	// Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1`
	ClusterName string `pulumi:"clusterName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the streaming tenant for which to fetch tokens.
	TenantName string `pulumi:"tenantName"`
	// The list of tokens for the specified tenant.
	Tokens []GetStreamingTenantTokensToken `pulumi:"tokens"`
}

A collection of values returned by getStreamingTenantTokens.

func GetStreamingTenantTokens

func GetStreamingTenantTokens(ctx *pulumi.Context, args *GetStreamingTenantTokensArgs, opts ...pulumi.InvokeOption) (*GetStreamingTenantTokensResult, error)

`getStreamingTenantTokens` provides a datasource that lists streaming tenant tokens.

type GetStreamingTenantTokensResultOutput

type GetStreamingTenantTokensResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStreamingTenantTokens.

func (GetStreamingTenantTokensResultOutput) ClusterName

Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1`

func (GetStreamingTenantTokensResultOutput) ElementType

func (GetStreamingTenantTokensResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStreamingTenantTokensResultOutput) TenantName

Name of the streaming tenant for which to fetch tokens.

func (GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutput

func (o GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutput() GetStreamingTenantTokensResultOutput

func (GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutputWithContext

func (o GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutputWithContext(ctx context.Context) GetStreamingTenantTokensResultOutput

func (GetStreamingTenantTokensResultOutput) Tokens

The list of tokens for the specified tenant.

type GetStreamingTenantTokensToken

type GetStreamingTenantTokensToken struct {
	Iat     int    `pulumi:"iat"`
	Iss     string `pulumi:"iss"`
	Sub     string `pulumi:"sub"`
	Token   string `pulumi:"token"`
	TokenId string `pulumi:"tokenId"`
}

type GetStreamingTenantTokensTokenArgs

type GetStreamingTenantTokensTokenArgs struct {
	Iat     pulumi.IntInput    `pulumi:"iat"`
	Iss     pulumi.StringInput `pulumi:"iss"`
	Sub     pulumi.StringInput `pulumi:"sub"`
	Token   pulumi.StringInput `pulumi:"token"`
	TokenId pulumi.StringInput `pulumi:"tokenId"`
}

func (GetStreamingTenantTokensTokenArgs) ElementType

func (GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutput

func (i GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput

func (GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutputWithContext

func (i GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenOutput

type GetStreamingTenantTokensTokenArray

type GetStreamingTenantTokensTokenArray []GetStreamingTenantTokensTokenInput

func (GetStreamingTenantTokensTokenArray) ElementType

func (GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutput

func (i GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput

func (GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutputWithContext

func (i GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenArrayOutput

type GetStreamingTenantTokensTokenArrayInput

type GetStreamingTenantTokensTokenArrayInput interface {
	pulumi.Input

	ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput
	ToGetStreamingTenantTokensTokenArrayOutputWithContext(context.Context) GetStreamingTenantTokensTokenArrayOutput
}

GetStreamingTenantTokensTokenArrayInput is an input type that accepts GetStreamingTenantTokensTokenArray and GetStreamingTenantTokensTokenArrayOutput values. You can construct a concrete instance of `GetStreamingTenantTokensTokenArrayInput` via:

GetStreamingTenantTokensTokenArray{ GetStreamingTenantTokensTokenArgs{...} }

type GetStreamingTenantTokensTokenArrayOutput

type GetStreamingTenantTokensTokenArrayOutput struct{ *pulumi.OutputState }

func (GetStreamingTenantTokensTokenArrayOutput) ElementType

func (GetStreamingTenantTokensTokenArrayOutput) Index

func (GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutput

func (o GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput

func (GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutputWithContext

func (o GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenArrayOutput

type GetStreamingTenantTokensTokenInput

type GetStreamingTenantTokensTokenInput interface {
	pulumi.Input

	ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput
	ToGetStreamingTenantTokensTokenOutputWithContext(context.Context) GetStreamingTenantTokensTokenOutput
}

GetStreamingTenantTokensTokenInput is an input type that accepts GetStreamingTenantTokensTokenArgs and GetStreamingTenantTokensTokenOutput values. You can construct a concrete instance of `GetStreamingTenantTokensTokenInput` via:

GetStreamingTenantTokensTokenArgs{...}

type GetStreamingTenantTokensTokenOutput

type GetStreamingTenantTokensTokenOutput struct{ *pulumi.OutputState }

func (GetStreamingTenantTokensTokenOutput) ElementType

func (GetStreamingTenantTokensTokenOutput) Iat

func (GetStreamingTenantTokensTokenOutput) Iss

func (GetStreamingTenantTokensTokenOutput) Sub

func (GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutput

func (o GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput

func (GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutputWithContext

func (o GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenOutput

func (GetStreamingTenantTokensTokenOutput) Token

func (GetStreamingTenantTokensTokenOutput) TokenId

type GetUsersArgs

type GetUsersArgs struct {
	// Organization Name.
	OrgName *string `pulumi:"orgName"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs

type GetUsersOutputArgs struct {
	// Organization Name.
	OrgName pulumi.StringPtrInput `pulumi:"orgName"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult

type GetUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Organization ID.
	OrgId string `pulumi:"orgId"`
	// Organization Name.
	OrgName *string `pulumi:"orgName"`
	// The list of Astra users.
	Users []GetUsersUser `pulumi:"users"`
}

A collection of values returned by getUsers.

func GetUsers

func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)

`getUsers` provides a datasource for a list of Astra users. This can be used to select users within your Astra Organization.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.GetUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetUsersResultOutput

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func (GetUsersResultOutput) ElementType

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) OrgId

Organization ID.

func (GetUsersResultOutput) OrgName

Organization Name.

func (GetUsersResultOutput) ToGetUsersResultOutput

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext

func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput

func (GetUsersResultOutput) Users

The list of Astra users.

type GetUsersUser

type GetUsersUser struct {
	Email  string             `pulumi:"email"`
	Roles  []GetUsersUserRole `pulumi:"roles"`
	Status string             `pulumi:"status"`
	UserId string             `pulumi:"userId"`
}

type GetUsersUserArgs

type GetUsersUserArgs struct {
	Email  pulumi.StringInput         `pulumi:"email"`
	Roles  GetUsersUserRoleArrayInput `pulumi:"roles"`
	Status pulumi.StringInput         `pulumi:"status"`
	UserId pulumi.StringInput         `pulumi:"userId"`
}

func (GetUsersUserArgs) ElementType

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext

func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetUsersUserArray

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext

func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserArrayInput

type GetUsersUserArrayInput interface {
	pulumi.Input

	ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
	ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput
}

GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. You can construct a concrete instance of `GetUsersUserArrayInput` via:

GetUsersUserArray{ GetUsersUserArgs{...} }

type GetUsersUserArrayOutput

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserInput

type GetUsersUserInput interface {
	pulumi.Input

	ToGetUsersUserOutput() GetUsersUserOutput
	ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput
}

GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. You can construct a concrete instance of `GetUsersUserInput` via:

GetUsersUserArgs{...}

type GetUsersUserOutput

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) ElementType

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) Email

func (GetUsersUserOutput) Roles

func (GetUsersUserOutput) Status

func (GetUsersUserOutput) ToGetUsersUserOutput

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext

func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

func (GetUsersUserOutput) UserId

type GetUsersUserRole

type GetUsersUserRole struct {
	RoleId string `pulumi:"roleId"`
}

type GetUsersUserRoleArgs

type GetUsersUserRoleArgs struct {
	RoleId pulumi.StringInput `pulumi:"roleId"`
}

func (GetUsersUserRoleArgs) ElementType

func (GetUsersUserRoleArgs) ElementType() reflect.Type

func (GetUsersUserRoleArgs) ToGetUsersUserRoleOutput

func (i GetUsersUserRoleArgs) ToGetUsersUserRoleOutput() GetUsersUserRoleOutput

func (GetUsersUserRoleArgs) ToGetUsersUserRoleOutputWithContext

func (i GetUsersUserRoleArgs) ToGetUsersUserRoleOutputWithContext(ctx context.Context) GetUsersUserRoleOutput

type GetUsersUserRoleArray

type GetUsersUserRoleArray []GetUsersUserRoleInput

func (GetUsersUserRoleArray) ElementType

func (GetUsersUserRoleArray) ElementType() reflect.Type

func (GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutput

func (i GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutput() GetUsersUserRoleArrayOutput

func (GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutputWithContext

func (i GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutputWithContext(ctx context.Context) GetUsersUserRoleArrayOutput

type GetUsersUserRoleArrayInput

type GetUsersUserRoleArrayInput interface {
	pulumi.Input

	ToGetUsersUserRoleArrayOutput() GetUsersUserRoleArrayOutput
	ToGetUsersUserRoleArrayOutputWithContext(context.Context) GetUsersUserRoleArrayOutput
}

GetUsersUserRoleArrayInput is an input type that accepts GetUsersUserRoleArray and GetUsersUserRoleArrayOutput values. You can construct a concrete instance of `GetUsersUserRoleArrayInput` via:

GetUsersUserRoleArray{ GetUsersUserRoleArgs{...} }

type GetUsersUserRoleArrayOutput

type GetUsersUserRoleArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserRoleArrayOutput) ElementType

func (GetUsersUserRoleArrayOutput) Index

func (GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutput

func (o GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutput() GetUsersUserRoleArrayOutput

func (GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutputWithContext

func (o GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutputWithContext(ctx context.Context) GetUsersUserRoleArrayOutput

type GetUsersUserRoleInput

type GetUsersUserRoleInput interface {
	pulumi.Input

	ToGetUsersUserRoleOutput() GetUsersUserRoleOutput
	ToGetUsersUserRoleOutputWithContext(context.Context) GetUsersUserRoleOutput
}

GetUsersUserRoleInput is an input type that accepts GetUsersUserRoleArgs and GetUsersUserRoleOutput values. You can construct a concrete instance of `GetUsersUserRoleInput` via:

GetUsersUserRoleArgs{...}

type GetUsersUserRoleOutput

type GetUsersUserRoleOutput struct{ *pulumi.OutputState }

func (GetUsersUserRoleOutput) ElementType

func (GetUsersUserRoleOutput) ElementType() reflect.Type

func (GetUsersUserRoleOutput) RoleId

func (GetUsersUserRoleOutput) ToGetUsersUserRoleOutput

func (o GetUsersUserRoleOutput) ToGetUsersUserRoleOutput() GetUsersUserRoleOutput

func (GetUsersUserRoleOutput) ToGetUsersUserRoleOutputWithContext

func (o GetUsersUserRoleOutput) ToGetUsersUserRoleOutputWithContext(ctx context.Context) GetUsersUserRoleOutput

type Keyspace

type Keyspace struct {
	pulumi.CustomResourceState

	// Astra database to create the keyspace.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character.
	Name pulumi.StringOutput `pulumi:"name"`
}

`Keyspace` provides a keyspace resource. Keyspaces are groupings of tables for Cassandra. `Keyspace` resources are associated with a database id. You can have multiple keyspaces per DB in addition to the default keyspace provided in the `Database` resource.

## Example Usage

```go 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.NewKeyspace(ctx, "example", &astra.KeyspaceArgs{
			DatabaseId: pulumi.String("48bfc13b-c1a5-48db-b70f-b6ef9709872b"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

the import id includes the database_id and the keyspace name.

```sh

$ pulumi import astra:index/keyspace:Keyspace example 48bfc13b-c1a5-48db-b70f-b6ef9709872b/keyspace/example

```

func GetKeyspace

func GetKeyspace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyspaceState, opts ...pulumi.ResourceOption) (*Keyspace, error)

GetKeyspace gets an existing Keyspace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewKeyspace

func NewKeyspace(ctx *pulumi.Context,
	name string, args *KeyspaceArgs, opts ...pulumi.ResourceOption) (*Keyspace, error)

NewKeyspace registers a new resource with the given unique name, arguments, and options.

func (*Keyspace) ElementType

func (*Keyspace) ElementType() reflect.Type

func (*Keyspace) ToKeyspaceOutput

func (i *Keyspace) ToKeyspaceOutput() KeyspaceOutput

func (*Keyspace) ToKeyspaceOutputWithContext

func (i *Keyspace) ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput

type KeyspaceArgs

type KeyspaceArgs struct {
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringInput
	// Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Keyspace resource.

func (KeyspaceArgs) ElementType

func (KeyspaceArgs) ElementType() reflect.Type

type KeyspaceArray

type KeyspaceArray []KeyspaceInput

func (KeyspaceArray) ElementType

func (KeyspaceArray) ElementType() reflect.Type

func (KeyspaceArray) ToKeyspaceArrayOutput

func (i KeyspaceArray) ToKeyspaceArrayOutput() KeyspaceArrayOutput

func (KeyspaceArray) ToKeyspaceArrayOutputWithContext

func (i KeyspaceArray) ToKeyspaceArrayOutputWithContext(ctx context.Context) KeyspaceArrayOutput

type KeyspaceArrayInput

type KeyspaceArrayInput interface {
	pulumi.Input

	ToKeyspaceArrayOutput() KeyspaceArrayOutput
	ToKeyspaceArrayOutputWithContext(context.Context) KeyspaceArrayOutput
}

KeyspaceArrayInput is an input type that accepts KeyspaceArray and KeyspaceArrayOutput values. You can construct a concrete instance of `KeyspaceArrayInput` via:

KeyspaceArray{ KeyspaceArgs{...} }

type KeyspaceArrayOutput

type KeyspaceArrayOutput struct{ *pulumi.OutputState }

func (KeyspaceArrayOutput) ElementType

func (KeyspaceArrayOutput) ElementType() reflect.Type

func (KeyspaceArrayOutput) Index

func (KeyspaceArrayOutput) ToKeyspaceArrayOutput

func (o KeyspaceArrayOutput) ToKeyspaceArrayOutput() KeyspaceArrayOutput

func (KeyspaceArrayOutput) ToKeyspaceArrayOutputWithContext

func (o KeyspaceArrayOutput) ToKeyspaceArrayOutputWithContext(ctx context.Context) KeyspaceArrayOutput

type KeyspaceInput

type KeyspaceInput interface {
	pulumi.Input

	ToKeyspaceOutput() KeyspaceOutput
	ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput
}

type KeyspaceMap

type KeyspaceMap map[string]KeyspaceInput

func (KeyspaceMap) ElementType

func (KeyspaceMap) ElementType() reflect.Type

func (KeyspaceMap) ToKeyspaceMapOutput

func (i KeyspaceMap) ToKeyspaceMapOutput() KeyspaceMapOutput

func (KeyspaceMap) ToKeyspaceMapOutputWithContext

func (i KeyspaceMap) ToKeyspaceMapOutputWithContext(ctx context.Context) KeyspaceMapOutput

type KeyspaceMapInput

type KeyspaceMapInput interface {
	pulumi.Input

	ToKeyspaceMapOutput() KeyspaceMapOutput
	ToKeyspaceMapOutputWithContext(context.Context) KeyspaceMapOutput
}

KeyspaceMapInput is an input type that accepts KeyspaceMap and KeyspaceMapOutput values. You can construct a concrete instance of `KeyspaceMapInput` via:

KeyspaceMap{ "key": KeyspaceArgs{...} }

type KeyspaceMapOutput

type KeyspaceMapOutput struct{ *pulumi.OutputState }

func (KeyspaceMapOutput) ElementType

func (KeyspaceMapOutput) ElementType() reflect.Type

func (KeyspaceMapOutput) MapIndex

func (KeyspaceMapOutput) ToKeyspaceMapOutput

func (o KeyspaceMapOutput) ToKeyspaceMapOutput() KeyspaceMapOutput

func (KeyspaceMapOutput) ToKeyspaceMapOutputWithContext

func (o KeyspaceMapOutput) ToKeyspaceMapOutputWithContext(ctx context.Context) KeyspaceMapOutput

type KeyspaceOutput

type KeyspaceOutput struct{ *pulumi.OutputState }

func (KeyspaceOutput) DatabaseId

func (o KeyspaceOutput) DatabaseId() pulumi.StringOutput

Astra database to create the keyspace.

func (KeyspaceOutput) ElementType

func (KeyspaceOutput) ElementType() reflect.Type

func (KeyspaceOutput) Name

Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character.

func (KeyspaceOutput) ToKeyspaceOutput

func (o KeyspaceOutput) ToKeyspaceOutput() KeyspaceOutput

func (KeyspaceOutput) ToKeyspaceOutputWithContext

func (o KeyspaceOutput) ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput

type KeyspaceState

type KeyspaceState struct {
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringPtrInput
	// Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character.
	Name pulumi.StringPtrInput
}

func (KeyspaceState) ElementType

func (KeyspaceState) ElementType() reflect.Type

type LookupAccessListArgs

type LookupAccessListArgs struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
}

A collection of arguments for invoking getAccessList.

type LookupAccessListOutputArgs

type LookupAccessListOutputArgs struct {
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
}

A collection of arguments for invoking getAccessList.

func (LookupAccessListOutputArgs) ElementType

func (LookupAccessListOutputArgs) ElementType() reflect.Type

type LookupAccessListResult

type LookupAccessListResult struct {
	// Addresses in the access list.
	Addresses []GetAccessListAddress `pulumi:"addresses"`
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The Access list is enabled or disabled.
	Enabled bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getAccessList.

func LookupAccessList

func LookupAccessList(ctx *pulumi.Context, args *LookupAccessListArgs, opts ...pulumi.InvokeOption) (*LookupAccessListResult, error)

`AccessList` provides a datasource that lists the access lists for an Astra database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.LookupAccessList(ctx, &GetAccessListArgs{
			DatabaseId: "8d356587-73b3-430a-9c0e-d780332e2afb",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAccessListResultOutput

type LookupAccessListResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAccessList.

func (LookupAccessListResultOutput) Addresses

Addresses in the access list.

func (LookupAccessListResultOutput) DatabaseId

The ID of the Astra database.

func (LookupAccessListResultOutput) ElementType

func (LookupAccessListResultOutput) Enabled

The Access list is enabled or disabled.

func (LookupAccessListResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAccessListResultOutput) ToLookupAccessListResultOutput

func (o LookupAccessListResultOutput) ToLookupAccessListResultOutput() LookupAccessListResultOutput

func (LookupAccessListResultOutput) ToLookupAccessListResultOutputWithContext

func (o LookupAccessListResultOutput) ToLookupAccessListResultOutputWithContext(ctx context.Context) LookupAccessListResultOutput

type LookupAstraDatabasesArgs

type LookupAstraDatabasesArgs struct {
	// The cloud provider
	CloudProvider *string `pulumi:"cloudProvider"`
	// Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getAstraDatabases.

type LookupAstraDatabasesOutputArgs

type LookupAstraDatabasesOutputArgs struct {
	// The cloud provider
	CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"`
	// Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAstraDatabases.

func (LookupAstraDatabasesOutputArgs) ElementType

type LookupAstraDatabasesResult

type LookupAstraDatabasesResult struct {
	// The cloud provider
	CloudProvider *string `pulumi:"cloudProvider"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of Astra databases that match the search criteria.
	Results []GetAstraDatabasesResult `pulumi:"results"`
	// Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
	Status *string `pulumi:"status"`
}

A collection of values returned by getAstraDatabases.

func LookupAstraDatabases

func LookupAstraDatabases(ctx *pulumi.Context, args *LookupAstraDatabasesArgs, opts ...pulumi.InvokeOption) (*LookupAstraDatabasesResult, error)

`getAstraDatabases` provides a datasource for a list of Astra databases. This can be used to select databases within your Astra Organization.

type LookupAstraDatabasesResultOutput

type LookupAstraDatabasesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAstraDatabases.

func (LookupAstraDatabasesResultOutput) CloudProvider

The cloud provider

func (LookupAstraDatabasesResultOutput) ElementType

func (LookupAstraDatabasesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAstraDatabasesResultOutput) Results

The list of Astra databases that match the search criteria.

func (LookupAstraDatabasesResultOutput) Status

Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements

func (LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutput

func (o LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutput() LookupAstraDatabasesResultOutput

func (LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutputWithContext

func (o LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutputWithContext(ctx context.Context) LookupAstraDatabasesResultOutput

type LookupAvailableRegionsResult

type LookupAvailableRegionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of supported Astra regions by cloud provider and tier.
	Results []GetAvailableRegionsResult `pulumi:"results"`
}

A collection of values returned by getAvailableRegions.

func LookupAvailableRegions

func LookupAvailableRegions(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupAvailableRegionsResult, error)

Retrieve a list of available cloud regions in Astra

## Example Usage

```go 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.LookupAvailableRegions(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupKeyspaceArgs

type LookupKeyspaceArgs struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The keyspace name.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getKeyspace.

type LookupKeyspaceOutputArgs

type LookupKeyspaceOutputArgs struct {
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
	// The keyspace name.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getKeyspace.

func (LookupKeyspaceOutputArgs) ElementType

func (LookupKeyspaceOutputArgs) ElementType() reflect.Type

type LookupKeyspaceResult

type LookupKeyspaceResult struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The keyspace name.
	Name string `pulumi:"name"`
}

A collection of values returned by getKeyspace.

func LookupKeyspace

func LookupKeyspace(ctx *pulumi.Context, args *LookupKeyspaceArgs, opts ...pulumi.InvokeOption) (*LookupKeyspaceResult, error)

`Keyspace` provides a datasource for a particular keyspace. See `getKeyspaces` if you're looking to fetch all the keyspaces for a particular database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.LookupKeyspace(ctx, &GetKeyspaceArgs{
			DatabaseId: "f9f4b1e0-4c05-451e-9bba-d631295a7f73",
			Name:       "puppies",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupKeyspaceResultOutput

type LookupKeyspaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeyspace.

func (LookupKeyspaceResultOutput) DatabaseId

The ID of the Astra database.

func (LookupKeyspaceResultOutput) ElementType

func (LookupKeyspaceResultOutput) ElementType() reflect.Type

func (LookupKeyspaceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupKeyspaceResultOutput) Name

The keyspace name.

func (LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutput

func (o LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutput() LookupKeyspaceResultOutput

func (LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutputWithContext

func (o LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutputWithContext(ctx context.Context) LookupKeyspaceResultOutput

type LookupKeyspacesArgs

type LookupKeyspacesArgs struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
}

A collection of arguments for invoking getKeyspaces.

type LookupKeyspacesOutputArgs

type LookupKeyspacesOutputArgs struct {
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
}

A collection of arguments for invoking getKeyspaces.

func (LookupKeyspacesOutputArgs) ElementType

func (LookupKeyspacesOutputArgs) ElementType() reflect.Type

type LookupKeyspacesResult

type LookupKeyspacesResult struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of keyspaces that match the search criteria.
	Results []GetKeyspacesResult `pulumi:"results"`
}

A collection of values returned by getKeyspaces.

func LookupKeyspaces

func LookupKeyspaces(ctx *pulumi.Context, args *LookupKeyspacesArgs, opts ...pulumi.InvokeOption) (*LookupKeyspacesResult, error)

`getKeyspaces` provides a datasource that lists the keyspaces in an Astra database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.LookupKeyspaces(ctx, &GetKeyspacesArgs{
			DatabaseId: "f9f4b1e0-4c05-451e-9bba-d631295a7f73",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupKeyspacesResultOutput

type LookupKeyspacesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKeyspaces.

func (LookupKeyspacesResultOutput) DatabaseId

The ID of the Astra database.

func (LookupKeyspacesResultOutput) ElementType

func (LookupKeyspacesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupKeyspacesResultOutput) Results

The list of keyspaces that match the search criteria.

func (LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutput

func (o LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutput() LookupKeyspacesResultOutput

func (LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutputWithContext

func (o LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutputWithContext(ctx context.Context) LookupKeyspacesResultOutput

type LookupPrivateLinkEndpointsArgs

type LookupPrivateLinkEndpointsArgs struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The Datacenter ID of the Astra database.
	DatacenterId string `pulumi:"datacenterId"`
	// Endpoint ID.
	EndpointId string `pulumi:"endpointId"`
}

A collection of arguments for invoking getPrivateLinkEndpoints.

type LookupPrivateLinkEndpointsOutputArgs

type LookupPrivateLinkEndpointsOutputArgs struct {
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
	// The Datacenter ID of the Astra database.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// Endpoint ID.
	EndpointId pulumi.StringInput `pulumi:"endpointId"`
}

A collection of arguments for invoking getPrivateLinkEndpoints.

func (LookupPrivateLinkEndpointsOutputArgs) ElementType

type LookupPrivateLinkEndpointsResult

type LookupPrivateLinkEndpointsResult struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The Datacenter ID of the Astra database.
	DatacenterId string `pulumi:"datacenterId"`
	// Endpoint ID.
	EndpointId string `pulumi:"endpointId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of private links endpoint details that match the search criteria.
	Results []GetPrivateLinkEndpointsResult `pulumi:"results"`
}

A collection of values returned by getPrivateLinkEndpoints.

func LookupPrivateLinkEndpoints

func LookupPrivateLinkEndpoints(ctx *pulumi.Context, args *LookupPrivateLinkEndpointsArgs, opts ...pulumi.InvokeOption) (*LookupPrivateLinkEndpointsResult, error)

`getPrivateLinkEndpoints` provides a datasource that lists the private link endpoints for an Astra database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.LookupPrivateLinkEndpoints(ctx, &GetPrivateLinkEndpointsArgs{
			DatabaseId:   "8d356587-73b3-430a-9c0e-d780332e2afb",
			DatacenterId: "8d356587-73b3-430a-9c0e-d780332e2afb-1",
			EndpointId:   "com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPrivateLinkEndpointsResultOutput

type LookupPrivateLinkEndpointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPrivateLinkEndpoints.

func (LookupPrivateLinkEndpointsResultOutput) DatabaseId

The ID of the Astra database.

func (LookupPrivateLinkEndpointsResultOutput) DatacenterId

The Datacenter ID of the Astra database.

func (LookupPrivateLinkEndpointsResultOutput) ElementType

func (LookupPrivateLinkEndpointsResultOutput) EndpointId

Endpoint ID.

func (LookupPrivateLinkEndpointsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPrivateLinkEndpointsResultOutput) Results

The list of private links endpoint details that match the search criteria.

func (LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutput

func (o LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutput() LookupPrivateLinkEndpointsResultOutput

func (LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutputWithContext

func (o LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) LookupPrivateLinkEndpointsResultOutput

type LookupPrivateLinksArgs

type LookupPrivateLinksArgs struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The datacenter where of the Astra database.
	DatacenterId string `pulumi:"datacenterId"`
}

A collection of arguments for invoking getPrivateLinks.

type LookupPrivateLinksOutputArgs

type LookupPrivateLinksOutputArgs struct {
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
	// The datacenter where of the Astra database.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
}

A collection of arguments for invoking getPrivateLinks.

func (LookupPrivateLinksOutputArgs) ElementType

type LookupPrivateLinksResult

type LookupPrivateLinksResult struct {
	// The ID of the Astra database.
	DatabaseId string `pulumi:"databaseId"`
	// The datacenter where of the Astra database.
	DatacenterId string `pulumi:"datacenterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of private links that match the search criteria.
	Results []GetPrivateLinksResult `pulumi:"results"`
}

A collection of values returned by getPrivateLinks.

func LookupPrivateLinks(ctx *pulumi.Context, args *LookupPrivateLinksArgs, opts ...pulumi.InvokeOption) (*LookupPrivateLinksResult, error)

`getPrivateLinks` provides a datasource that lists the private links in an Astra database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.LookupPrivateLinks(ctx, &GetPrivateLinksArgs{
			DatabaseId:   "a6bc9c26-e7ce-424f-84c7-0a00afb12588",
			DatacenterId: "a6bc9c26-e7ce-424f-84c7-0a00afb12588-1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPrivateLinksResultOutput

type LookupPrivateLinksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPrivateLinks.

func (LookupPrivateLinksResultOutput) DatabaseId

The ID of the Astra database.

func (LookupPrivateLinksResultOutput) DatacenterId

The datacenter where of the Astra database.

func (LookupPrivateLinksResultOutput) ElementType

func (LookupPrivateLinksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPrivateLinksResultOutput) Results

The list of private links that match the search criteria.

func (LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutput

func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutput() LookupPrivateLinksResultOutput

func (LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutputWithContext

func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutputWithContext(ctx context.Context) LookupPrivateLinksResultOutput

type LookupRoleArgs

type LookupRoleArgs struct {
	// Role ID, system generated
	RoleId string `pulumi:"roleId"`
}

A collection of arguments for invoking getRole.

type LookupRoleOutputArgs

type LookupRoleOutputArgs struct {
	// Role ID, system generated
	RoleId pulumi.StringInput `pulumi:"roleId"`
}

A collection of arguments for invoking getRole.

func (LookupRoleOutputArgs) ElementType

func (LookupRoleOutputArgs) ElementType() reflect.Type

type LookupRoleResult

type LookupRoleResult struct {
	// Role description
	Description string `pulumi:"description"`
	// Role effect
	Effect string `pulumi:"effect"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.
	Policies []string `pulumi:"policies"`
	// Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).
	Resources []string `pulumi:"resources"`
	// Role ID, system generated
	RoleId string `pulumi:"roleId"`
	// Role name
	RoleName string `pulumi:"roleName"`
}

A collection of values returned by getRole.

func LookupRole

func LookupRole(ctx *pulumi.Context, args *LookupRoleArgs, opts ...pulumi.InvokeOption) (*LookupRoleResult, error)

`Role` provides a datasource that lists the custom roles for an org.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-astra/sdk/go/astra"
"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.LookupRole(ctx, &GetRoleArgs{
			RoleId: "role-id-here",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRoleResultOutput

type LookupRoleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRole.

func (LookupRoleResultOutput) Description

func (o LookupRoleResultOutput) Description() pulumi.StringOutput

Role description

func (LookupRoleResultOutput) Effect

Role effect

func (LookupRoleResultOutput) ElementType

func (LookupRoleResultOutput) ElementType() reflect.Type

func (LookupRoleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRoleResultOutput) Policies

List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.

func (LookupRoleResultOutput) Resources

Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).

func (LookupRoleResultOutput) RoleId

Role ID, system generated

func (LookupRoleResultOutput) RoleName

Role name

func (LookupRoleResultOutput) ToLookupRoleResultOutput

func (o LookupRoleResultOutput) ToLookupRoleResultOutput() LookupRoleResultOutput

func (LookupRoleResultOutput) ToLookupRoleResultOutputWithContext

func (o LookupRoleResultOutput) ToLookupRoleResultOutputWithContext(ctx context.Context) LookupRoleResultOutput

type LookupRolesResult

type LookupRolesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of Astra roles.
	Results []GetRolesResult `pulumi:"results"`
}

A collection of values returned by getRoles.

func LookupRoles

func LookupRoles(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupRolesResult, error)

`getRoles` provides a datasource for a list of Astra roles. This can be used to select roles within your Astra Organization.

## Example Usage

```go 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.LookupRoles(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type PrivateLink struct {
	pulumi.CustomResourceState

	// List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin).
	AllowedPrincipals pulumi.StringArrayOutput `pulumi:"allowedPrincipals"`
	// Astra database where private link will be enabled.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// Astra datacenter in the region where the private link will be created.
	DatacenterId pulumi.StringOutput `pulumi:"datacenterId"`
	// Name of the endpoint service for private link generated by the cloud provider.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
}

`PrivateLink` provides a private link resource. Private Link is a private network endpoint that can be created to connect from your vpc to Astra without using a publicly routable IP address. `PrivateLink` resources are associated with a database id. Once the privateLink resource is created in Astra it must be linked to an endpoint within your vpc, use `PrivateLinkEndpoint` to do this.

## Example Usage

```go 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.NewPrivateLink(ctx, "example", &astra.PrivateLinkArgs{
			AllowedPrincipals: pulumi.StringArray{
				pulumi.String("arn:aws:iam::111708290731:user/sebastian.estevez"),
			},
			DatabaseId:   pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import astra:index/privateLink:PrivateLink example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588/serviceNames/svc-name-here

```

func GetPrivateLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateLinkState, opts ...pulumi.ResourceOption) (*PrivateLink, error)

GetPrivateLink gets an existing PrivateLink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrivateLink(ctx *pulumi.Context,
	name string, args *PrivateLinkArgs, opts ...pulumi.ResourceOption) (*PrivateLink, error)

NewPrivateLink registers a new resource with the given unique name, arguments, and options.

func (*PrivateLink) ElementType

func (*PrivateLink) ElementType() reflect.Type

func (*PrivateLink) ToPrivateLinkOutput

func (i *PrivateLink) ToPrivateLinkOutput() PrivateLinkOutput

func (*PrivateLink) ToPrivateLinkOutputWithContext

func (i *PrivateLink) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput

type PrivateLinkArgs

type PrivateLinkArgs struct {
	// List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin).
	AllowedPrincipals pulumi.StringArrayInput
	// Astra database where private link will be enabled.
	DatabaseId pulumi.StringInput
	// Astra datacenter in the region where the private link will be created.
	DatacenterId pulumi.StringInput
}

The set of arguments for constructing a PrivateLink resource.

func (PrivateLinkArgs) ElementType

func (PrivateLinkArgs) ElementType() reflect.Type

type PrivateLinkArray

type PrivateLinkArray []PrivateLinkInput

func (PrivateLinkArray) ElementType

func (PrivateLinkArray) ElementType() reflect.Type

func (PrivateLinkArray) ToPrivateLinkArrayOutput

func (i PrivateLinkArray) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput

func (PrivateLinkArray) ToPrivateLinkArrayOutputWithContext

func (i PrivateLinkArray) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput

type PrivateLinkArrayInput

type PrivateLinkArrayInput interface {
	pulumi.Input

	ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
	ToPrivateLinkArrayOutputWithContext(context.Context) PrivateLinkArrayOutput
}

PrivateLinkArrayInput is an input type that accepts PrivateLinkArray and PrivateLinkArrayOutput values. You can construct a concrete instance of `PrivateLinkArrayInput` via:

PrivateLinkArray{ PrivateLinkArgs{...} }

type PrivateLinkArrayOutput

type PrivateLinkArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkArrayOutput) ElementType

func (PrivateLinkArrayOutput) ElementType() reflect.Type

func (PrivateLinkArrayOutput) Index

func (PrivateLinkArrayOutput) ToPrivateLinkArrayOutput

func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput

func (PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext

func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput

type PrivateLinkEndpoint

type PrivateLinkEndpoint struct {
	pulumi.CustomResourceState

	// Endpoint ID for referencing within Astra. May be different than the endpointId of this resource.
	AstraEndpointId pulumi.StringOutput `pulumi:"astraEndpointId"`
	// The ID of the Astra database.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// Astra datacenter in the region where the private link will be created.
	DatacenterId pulumi.StringOutput `pulumi:"datacenterId"`
	// Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
	EndpointId pulumi.StringOutput `pulumi:"endpointId"`
}

`PrivateLinkEndpoint` completes the creation of a private link endpoint by associating it with your endpoint.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/privatelink"
"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/compute"
"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.NewPrivateLink(ctx, "exampleAstraIndex/privateLinkPrivateLink", &astra.PrivateLinkArgs{
			AllowedPrincipals: pulumi.StringArray{
				pulumi.String("arn:aws:iam::445559476293:user/Sebastian"),
			},
			DatabaseId:   pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"),
		})
		if err != nil {
			return err
		}
		exampleVpcEndpoint, err := ec2.NewVpcEndpoint(ctx, "exampleVpcEndpoint", &ec2.VpcEndpointArgs{
			VpcId:           pulumi.String("vpc-f939e884"),
			ServiceName:     exampleAstraIndex / privateLinkPrivateLink.ServiceName,
			VpcEndpointType: pulumi.String("Interface"),
			SubnetIds: pulumi.StringArray{
				pulumi.String("subnet-4d376300"),
				pulumi.String("subnet-4d85066c"),
				pulumi.String("subnet-030e8b65"),
			},
			SecurityGroupIds: pulumi.StringArray{
				pulumi.String("sg-74ae4d41"),
			},
		})
		if err != nil {
			return err
		}
		_, err = astra.NewPrivateLinkEndpoint(ctx, "examplePrivateLinkEndpoint", &astra.PrivateLinkEndpointArgs{
			DatabaseId:   pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"),
			EndpointId:   exampleVpcEndpoint.ID(),
		})
		if err != nil {
			return err
		}
		_, err = astra.NewPrivateLink(ctx, "examplePrivateLink", &astra.PrivateLinkArgs{
			AllowedPrincipals: pulumi.StringArray{
				pulumi.String("my-project"),
			},
			DatabaseId:   pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"),
		})
		if err != nil {
			return err
		}
		exampleNetwork, err := compute.NewNetwork(ctx, "exampleNetwork", &compute.NetworkArgs{
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		exampleSubnetwork, err := compute.NewSubnetwork(ctx, "exampleSubnetwork", &compute.SubnetworkArgs{
			IpCidrRange: pulumi.String("10.142.0.0/20"),
			Region:      pulumi.String("us-east1"),
			Network:     exampleNetwork.ID(),
		})
		if err != nil {
			return err
		}
		exampleAddress, err := compute.NewAddress(ctx, "exampleAddress", &compute.AddressArgs{
			Subnetwork:  exampleSubnetwork.ID(),
			AddressType: pulumi.String("INTERNAL"),
			Region:      pulumi.String("us-east1"),
		})
		if err != nil {
			return err
		}
		_, err = compute.NewForwardingRule(ctx, "exampleForwardingRule", &compute.ForwardingRuleArgs{
			Target:              pulumi.String(fmt.Sprintf("https://www.googleapis.com/compute/v1/%v", exampleAstraIndex/privateLinkPrivateLink.ServiceName)),
			Project:             exampleNetwork.Project,
			IpAddress:           exampleAddress.ID(),
			Network:             exampleNetwork.ID(),
			Region:              pulumi.String("us-east1"),
			LoadBalancingScheme: pulumi.String(""),
		})
		if err != nil {
			return err
		}
		_, err = astra.NewPrivateLinkEndpoint(ctx, "endpoint", &astra.PrivateLinkEndpointArgs{
			DatabaseId:   pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"),
			EndpointId:   pulumi.String("13585698993864708"),
		})
		if err != nil {
			return err
		}
		current, err := core.LookupSubscription(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{
			Name: "example-rg",
		}, nil)
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.LookupVirtualNetwork(ctx, &network.LookupVirtualNetworkArgs{
			Name:              "example-virtual-network",
			ResourceGroupName: exampleResourceGroup.Name,
		}, nil)
		if err != nil {
			return err
		}
		exampleSubnet, err := network.LookupSubnet(ctx, &network.LookupSubnetArgs{
			Name:               "example-subnet",
			VirtualNetworkName: exampleVirtualNetwork.Name,
			ResourceGroupName:  exampleResourceGroup.Name,
		}, nil)
		if err != nil {
			return err
		}
		_, err = astra.NewPrivateLink(ctx, "exampleIndex/privateLinkPrivateLink", &astra.PrivateLinkArgs{
			AllowedPrincipals: pulumi.StringArray{
				pulumi.String(current.SubscriptionId),
			},
			DatabaseId:   pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"),
		})
		if err != nil {
			return err
		}
		exampleEndpoint, err := privatelink.NewEndpoint(ctx, "exampleEndpoint", &privatelink.EndpointArgs{
			Location:          pulumi.String(exampleResourceGroup.Location),
			ResourceGroupName: pulumi.String(exampleResourceGroup.Name),
			SubnetId:          pulumi.String(exampleSubnet.Id),
			PrivateServiceConnection: &privatelink.EndpointPrivateServiceConnectionArgs{
				Name:                           pulumi.String("example-private-connection"),
				PrivateConnectionResourceAlias: exampleAstraIndex / privateLinkPrivateLink.ServiceName,
				IsManualConnection:             pulumi.Bool(true),
				RequestMessage:                 pulumi.String("Private connection from AKS subnet to Astra DB"),
			},
		})
		if err != nil {
			return err
		}
		_, err = astra.NewPrivateLinkEndpoint(ctx, "azPrivateLinkEndpoint", &astra.PrivateLinkEndpointArgs{
			DatabaseId:   pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"),
			DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"),
			EndpointId: exampleEndpoint.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("%v/providers/Microsoft.Network/privateEndpoints/%v", exampleResourceGroup.Id, name), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Amazon AWS example

```sh

$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/vpce-0f7aed6e7a18a1791

```

Google GCP example

```sh

$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/13585698993864708

```

Azure EKS example

```sh

$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/dc5ee5b1-4fc2-463e-a56b-ff54dd38b879/providers/Microsoft.Network/privateEndpoints/private-endpoint-example

```

func GetPrivateLinkEndpoint

func GetPrivateLinkEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateLinkEndpointState, opts ...pulumi.ResourceOption) (*PrivateLinkEndpoint, error)

GetPrivateLinkEndpoint gets an existing PrivateLinkEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrivateLinkEndpoint

func NewPrivateLinkEndpoint(ctx *pulumi.Context,
	name string, args *PrivateLinkEndpointArgs, opts ...pulumi.ResourceOption) (*PrivateLinkEndpoint, error)

NewPrivateLinkEndpoint registers a new resource with the given unique name, arguments, and options.

func (*PrivateLinkEndpoint) ElementType

func (*PrivateLinkEndpoint) ElementType() reflect.Type

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutput

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput

type PrivateLinkEndpointArgs

type PrivateLinkEndpointArgs struct {
	// The ID of the Astra database.
	DatabaseId pulumi.StringInput
	// Astra datacenter in the region where the private link will be created.
	DatacenterId pulumi.StringInput
	// Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
	EndpointId pulumi.StringInput
}

The set of arguments for constructing a PrivateLinkEndpoint resource.

func (PrivateLinkEndpointArgs) ElementType

func (PrivateLinkEndpointArgs) ElementType() reflect.Type

type PrivateLinkEndpointArray

type PrivateLinkEndpointArray []PrivateLinkEndpointInput

func (PrivateLinkEndpointArray) ElementType

func (PrivateLinkEndpointArray) ElementType() reflect.Type

func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput

func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput

func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext

func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput

type PrivateLinkEndpointArrayInput

type PrivateLinkEndpointArrayInput interface {
	pulumi.Input

	ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput
	ToPrivateLinkEndpointArrayOutputWithContext(context.Context) PrivateLinkEndpointArrayOutput
}

PrivateLinkEndpointArrayInput is an input type that accepts PrivateLinkEndpointArray and PrivateLinkEndpointArrayOutput values. You can construct a concrete instance of `PrivateLinkEndpointArrayInput` via:

PrivateLinkEndpointArray{ PrivateLinkEndpointArgs{...} }

type PrivateLinkEndpointArrayOutput

type PrivateLinkEndpointArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointArrayOutput) ElementType

func (PrivateLinkEndpointArrayOutput) Index

func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput

func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput

func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext

func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput

type PrivateLinkEndpointInput

type PrivateLinkEndpointInput interface {
	pulumi.Input

	ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput
	ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput
}

type PrivateLinkEndpointMap

type PrivateLinkEndpointMap map[string]PrivateLinkEndpointInput

func (PrivateLinkEndpointMap) ElementType

func (PrivateLinkEndpointMap) ElementType() reflect.Type

func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput

func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput

func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext

func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput

type PrivateLinkEndpointMapInput

type PrivateLinkEndpointMapInput interface {
	pulumi.Input

	ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput
	ToPrivateLinkEndpointMapOutputWithContext(context.Context) PrivateLinkEndpointMapOutput
}

PrivateLinkEndpointMapInput is an input type that accepts PrivateLinkEndpointMap and PrivateLinkEndpointMapOutput values. You can construct a concrete instance of `PrivateLinkEndpointMapInput` via:

PrivateLinkEndpointMap{ "key": PrivateLinkEndpointArgs{...} }

type PrivateLinkEndpointMapOutput

type PrivateLinkEndpointMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointMapOutput) ElementType

func (PrivateLinkEndpointMapOutput) MapIndex

func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput

func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput

func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext

func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput

type PrivateLinkEndpointOutput

type PrivateLinkEndpointOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointOutput) AstraEndpointId

func (o PrivateLinkEndpointOutput) AstraEndpointId() pulumi.StringOutput

Endpoint ID for referencing within Astra. May be different than the endpointId of this resource.

func (PrivateLinkEndpointOutput) DatabaseId

The ID of the Astra database.

func (PrivateLinkEndpointOutput) DatacenterId

Astra datacenter in the region where the private link will be created.

func (PrivateLinkEndpointOutput) ElementType

func (PrivateLinkEndpointOutput) ElementType() reflect.Type

func (PrivateLinkEndpointOutput) EndpointId

Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput

type PrivateLinkEndpointState

type PrivateLinkEndpointState struct {
	// Endpoint ID for referencing within Astra. May be different than the endpointId of this resource.
	AstraEndpointId pulumi.StringPtrInput
	// The ID of the Astra database.
	DatabaseId pulumi.StringPtrInput
	// Astra datacenter in the region where the private link will be created.
	DatacenterId pulumi.StringPtrInput
	// Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
	EndpointId pulumi.StringPtrInput
}

func (PrivateLinkEndpointState) ElementType

func (PrivateLinkEndpointState) ElementType() reflect.Type

type PrivateLinkInput

type PrivateLinkInput interface {
	pulumi.Input

	ToPrivateLinkOutput() PrivateLinkOutput
	ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput
}

type PrivateLinkMap

type PrivateLinkMap map[string]PrivateLinkInput

func (PrivateLinkMap) ElementType

func (PrivateLinkMap) ElementType() reflect.Type

func (PrivateLinkMap) ToPrivateLinkMapOutput

func (i PrivateLinkMap) ToPrivateLinkMapOutput() PrivateLinkMapOutput

func (PrivateLinkMap) ToPrivateLinkMapOutputWithContext

func (i PrivateLinkMap) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput

type PrivateLinkMapInput

type PrivateLinkMapInput interface {
	pulumi.Input

	ToPrivateLinkMapOutput() PrivateLinkMapOutput
	ToPrivateLinkMapOutputWithContext(context.Context) PrivateLinkMapOutput
}

PrivateLinkMapInput is an input type that accepts PrivateLinkMap and PrivateLinkMapOutput values. You can construct a concrete instance of `PrivateLinkMapInput` via:

PrivateLinkMap{ "key": PrivateLinkArgs{...} }

type PrivateLinkMapOutput

type PrivateLinkMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkMapOutput) ElementType

func (PrivateLinkMapOutput) ElementType() reflect.Type

func (PrivateLinkMapOutput) MapIndex

func (PrivateLinkMapOutput) ToPrivateLinkMapOutput

func (o PrivateLinkMapOutput) ToPrivateLinkMapOutput() PrivateLinkMapOutput

func (PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext

func (o PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput

type PrivateLinkOutput

type PrivateLinkOutput struct{ *pulumi.OutputState }

func (PrivateLinkOutput) AllowedPrincipals

func (o PrivateLinkOutput) AllowedPrincipals() pulumi.StringArrayOutput

List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin).

func (PrivateLinkOutput) DatabaseId

func (o PrivateLinkOutput) DatabaseId() pulumi.StringOutput

Astra database where private link will be enabled.

func (PrivateLinkOutput) DatacenterId

func (o PrivateLinkOutput) DatacenterId() pulumi.StringOutput

Astra datacenter in the region where the private link will be created.

func (PrivateLinkOutput) ElementType

func (PrivateLinkOutput) ElementType() reflect.Type

func (PrivateLinkOutput) ServiceName

func (o PrivateLinkOutput) ServiceName() pulumi.StringOutput

Name of the endpoint service for private link generated by the cloud provider.

func (PrivateLinkOutput) ToPrivateLinkOutput

func (o PrivateLinkOutput) ToPrivateLinkOutput() PrivateLinkOutput

func (PrivateLinkOutput) ToPrivateLinkOutputWithContext

func (o PrivateLinkOutput) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput

type PrivateLinkState

type PrivateLinkState struct {
	// List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin).
	AllowedPrincipals pulumi.StringArrayInput
	// Astra database where private link will be enabled.
	DatabaseId pulumi.StringPtrInput
	// Astra datacenter in the region where the private link will be created.
	DatacenterId pulumi.StringPtrInput
	// Name of the endpoint service for private link generated by the cloud provider.
	ServiceName pulumi.StringPtrInput
}

func (PrivateLinkState) ElementType

func (PrivateLinkState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// Authentication token for Astra API.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

The provider type for the astra package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// Authentication token for Astra API.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Token

Authentication token for Astra API.

type Role

type Role struct {
	pulumi.CustomResourceState

	// Role description
	Description pulumi.StringOutput `pulumi:"description"`
	// Role effect
	Effect pulumi.StringOutput `pulumi:"effect"`
	// List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.
	Policies pulumi.StringArrayOutput `pulumi:"policies"`
	// Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).
	Resources pulumi.StringArrayOutput `pulumi:"resources"`
	// Role ID, system generated
	RoleId pulumi.StringOutput `pulumi:"roleId"`
	// Role name
	RoleName pulumi.StringOutput `pulumi:"roleName"`
}

`Role` resource represents custom roles for a particular Astra Org. Custom roles can be assigned to an Astra user is to grant them granular permissions when the default roles in the UI are not specific enough. Roles are composed of policies which are granted to resources.

## Example Usage

```go package main

import (

"fmt"

"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.NewRole(ctx, "alldbsrole", &astra.RoleArgs{
			RoleName:    pulumi.String("alldbsrole"),
			Description: pulumi.String("Role that applies to all DBs in an org"),
			Effect:      pulumi.String("allow"),
			Resources: pulumi.StringArray{
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:*"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:*:keyspace:*"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:*:keyspace:*:table:*"),
			},
			Policies: pulumi.StringArray{
				pulumi.String("org-db-view"),
				pulumi.String("db-cql"),
				pulumi.String("db-table-alter"),
				pulumi.String("db-table-create"),
				pulumi.String("db-table-describe"),
				pulumi.String("db-table-modify"),
				pulumi.String("db-table-select"),
				pulumi.String("db-keyspace-alter"),
				pulumi.String("db-keyspace-describe"),
				pulumi.String("db-keyspace-modify"),
				pulumi.String("db-keyspace-authorize"),
				pulumi.String("db-keyspace-drop"),
				pulumi.String("db-keyspace-create"),
				pulumi.String("db-keyspace-grant"),
			},
		})
		if err != nil {
			return err
		}
		exampledb, err := astra.NewDatabase(ctx, "exampledb", &astra.DatabaseArgs{
			Keyspace:      pulumi.String("primaryks"),
			CloudProvider: pulumi.String("gcp"),
			Regions: pulumi.StringArray{
				pulumi.String("us-east1"),
			},
		})
		if err != nil {
			return err
		}
		appks1, err := astra.NewKeyspace(ctx, "appks1", &astra.KeyspaceArgs{
			DatabaseId: exampledb.ID(),
		})
		if err != nil {
			return err
		}
		appks2, err := astra.NewKeyspace(ctx, "appks2", &astra.KeyspaceArgs{
			DatabaseId: exampledb.ID(),
		})
		if err != nil {
			return err
		}
		appks3, err := astra.NewKeyspace(ctx, "appks3", &astra.KeyspaceArgs{
			DatabaseId: exampledb.ID(),
		})
		if err != nil {
			return err
		}
		_, err = astra.NewRole(ctx, "singledbrole", &astra.RoleArgs{
			RoleName:    pulumi.String("singledbrole"),
			Description: pulumi.String("Role that applies to specific keyspaces for a single Astra DB"),
			Effect:      pulumi.String("allow"),
			Resources: pulumi.StringArray{
				pulumi.All(exampledb.ID(), exampledb.Keyspace).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					keyspace := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, keyspace), nil
				}).(pulumi.StringOutput),
				pulumi.All(exampledb.ID(), exampledb.Keyspace).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					keyspace := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, keyspace), nil
				}).(pulumi.StringOutput),
				pulumi.All(exampledb.ID(), appks1.Name).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					name := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, name), nil
				}).(pulumi.StringOutput),
				pulumi.All(exampledb.ID(), appks1.Name).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					name := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, name), nil
				}).(pulumi.StringOutput),
				pulumi.All(exampledb.ID(), appks2.Name).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					name := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, name), nil
				}).(pulumi.StringOutput),
				pulumi.All(exampledb.ID(), appks2.Name).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					name := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, name), nil
				}).(pulumi.StringOutput),
				pulumi.All(exampledb.ID(), appks3.Name).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					name := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, name), nil
				}).(pulumi.StringOutput),
				pulumi.All(exampledb.ID(), appks3.Name).ApplyT(func(_args []interface{}) (string, error) {
					id := _args[0].(string)
					name := _args[1].(string)
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, name), nil
				}).(pulumi.StringOutput),
				exampledb.ID().ApplyT(func(id string) (string, error) {
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:futureks", id), nil
				}).(pulumi.StringOutput),
				exampledb.ID().ApplyT(func(id string) (string, error) {
					return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:futureks:table:*", id), nil
				}).(pulumi.StringOutput),
			},
			Policies: pulumi.StringArray{
				pulumi.String("org-db-view"),
				pulumi.String("db-cql"),
				pulumi.String("db-table-alter"),
				pulumi.String("db-table-create"),
				pulumi.String("db-table-describe"),
				pulumi.String("db-table-modify"),
				pulumi.String("db-table-select"),
				pulumi.String("db-keyspace-alter"),
				pulumi.String("db-keyspace-describe"),
				pulumi.String("db-keyspace-modify"),
				pulumi.String("db-keyspace-authorize"),
				pulumi.String("db-keyspace-drop"),
				pulumi.String("db-keyspace-create"),
				pulumi.String("db-keyspace-grant"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import astra:index/role:Role example role-id

```

func GetRole

func GetRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleState, opts ...pulumi.ResourceOption) (*Role, error)

GetRole gets an existing Role resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRole

func NewRole(ctx *pulumi.Context,
	name string, args *RoleArgs, opts ...pulumi.ResourceOption) (*Role, error)

NewRole registers a new resource with the given unique name, arguments, and options.

func (*Role) ElementType

func (*Role) ElementType() reflect.Type

func (*Role) ToRoleOutput

func (i *Role) ToRoleOutput() RoleOutput

func (*Role) ToRoleOutputWithContext

func (i *Role) ToRoleOutputWithContext(ctx context.Context) RoleOutput

type RoleArgs

type RoleArgs struct {
	// Role description
	Description pulumi.StringInput
	// Role effect
	Effect pulumi.StringInput
	// List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.
	Policies pulumi.StringArrayInput
	// Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).
	Resources pulumi.StringArrayInput
	// Role name
	RoleName pulumi.StringInput
}

The set of arguments for constructing a Role resource.

func (RoleArgs) ElementType

func (RoleArgs) ElementType() reflect.Type

type RoleArray

type RoleArray []RoleInput

func (RoleArray) ElementType

func (RoleArray) ElementType() reflect.Type

func (RoleArray) ToRoleArrayOutput

func (i RoleArray) ToRoleArrayOutput() RoleArrayOutput

func (RoleArray) ToRoleArrayOutputWithContext

func (i RoleArray) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput

type RoleArrayInput

type RoleArrayInput interface {
	pulumi.Input

	ToRoleArrayOutput() RoleArrayOutput
	ToRoleArrayOutputWithContext(context.Context) RoleArrayOutput
}

RoleArrayInput is an input type that accepts RoleArray and RoleArrayOutput values. You can construct a concrete instance of `RoleArrayInput` via:

RoleArray{ RoleArgs{...} }

type RoleArrayOutput

type RoleArrayOutput struct{ *pulumi.OutputState }

func (RoleArrayOutput) ElementType

func (RoleArrayOutput) ElementType() reflect.Type

func (RoleArrayOutput) Index

func (RoleArrayOutput) ToRoleArrayOutput

func (o RoleArrayOutput) ToRoleArrayOutput() RoleArrayOutput

func (RoleArrayOutput) ToRoleArrayOutputWithContext

func (o RoleArrayOutput) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput

type RoleInput

type RoleInput interface {
	pulumi.Input

	ToRoleOutput() RoleOutput
	ToRoleOutputWithContext(ctx context.Context) RoleOutput
}

type RoleMap

type RoleMap map[string]RoleInput

func (RoleMap) ElementType

func (RoleMap) ElementType() reflect.Type

func (RoleMap) ToRoleMapOutput

func (i RoleMap) ToRoleMapOutput() RoleMapOutput

func (RoleMap) ToRoleMapOutputWithContext

func (i RoleMap) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput

type RoleMapInput

type RoleMapInput interface {
	pulumi.Input

	ToRoleMapOutput() RoleMapOutput
	ToRoleMapOutputWithContext(context.Context) RoleMapOutput
}

RoleMapInput is an input type that accepts RoleMap and RoleMapOutput values. You can construct a concrete instance of `RoleMapInput` via:

RoleMap{ "key": RoleArgs{...} }

type RoleMapOutput

type RoleMapOutput struct{ *pulumi.OutputState }

func (RoleMapOutput) ElementType

func (RoleMapOutput) ElementType() reflect.Type

func (RoleMapOutput) MapIndex

func (RoleMapOutput) ToRoleMapOutput

func (o RoleMapOutput) ToRoleMapOutput() RoleMapOutput

func (RoleMapOutput) ToRoleMapOutputWithContext

func (o RoleMapOutput) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput

type RoleOutput

type RoleOutput struct{ *pulumi.OutputState }

func (RoleOutput) Description

func (o RoleOutput) Description() pulumi.StringOutput

Role description

func (RoleOutput) Effect

func (o RoleOutput) Effect() pulumi.StringOutput

Role effect

func (RoleOutput) ElementType

func (RoleOutput) ElementType() reflect.Type

func (RoleOutput) Policies

func (o RoleOutput) Policies() pulumi.StringArrayOutput

List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.

func (RoleOutput) Resources

func (o RoleOutput) Resources() pulumi.StringArrayOutput

Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).

func (RoleOutput) RoleId

func (o RoleOutput) RoleId() pulumi.StringOutput

Role ID, system generated

func (RoleOutput) RoleName

func (o RoleOutput) RoleName() pulumi.StringOutput

Role name

func (RoleOutput) ToRoleOutput

func (o RoleOutput) ToRoleOutput() RoleOutput

func (RoleOutput) ToRoleOutputWithContext

func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput

type RoleState

type RoleState struct {
	// Role description
	Description pulumi.StringPtrInput
	// Role effect
	Effect pulumi.StringPtrInput
	// List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.
	Policies pulumi.StringArrayInput
	// Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).
	Resources pulumi.StringArrayInput
	// Role ID, system generated
	RoleId pulumi.StringPtrInput
	// Role name
	RoleName pulumi.StringPtrInput
}

func (RoleState) ElementType

func (RoleState) ElementType() reflect.Type

type StreamingSink

type StreamingSink struct {
	pulumi.CustomResourceState

	// auto ack
	AutoAck pulumi.BoolOutput `pulumi:"autoAck"`
	// Cloud provider
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state,
	// a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// Pulsar Namespace
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// Parallelism for Pulsar sink
	Parallelism pulumi.IntOutput `pulumi:"parallelism"`
	// "ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE".
	ProcessingGuarantees pulumi.StringOutput `pulumi:"processingGuarantees"`
	// cloud region
	Region pulumi.StringOutput `pulumi:"region"`
	// Retain ordering.
	RetainOrdering pulumi.BoolOutput `pulumi:"retainOrdering"`
	// Sink Configs
	SinkConfigs pulumi.StringOutput `pulumi:"sinkConfigs"`
	// Name of the sink.
	SinkName pulumi.StringOutput `pulumi:"sinkName"`
	// Streaming tenant name.
	TenantName pulumi.StringOutput `pulumi:"tenantName"`
	// Streaming tenant topic.
	Topic pulumi.StringOutput `pulumi:"topic"`
}

`StreamingSink` creates a streaming sink which sends data from a topic to a target system.

## Example Usage

```go package main

import (

"encoding/json"

"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{
			TenantName:    pulumi.String("terraformtest2"),
			Topic:         pulumi.String("terraformtest"),
			Region:        pulumi.String("useast-4"),
			CloudProvider: pulumi.String("gcp"),
			UserEmail:     pulumi.String("seb@datastax.com"),
		})
		if err != nil {
			return err
		}
		_, err = astra.NewCdc(ctx, "cdc-1", &astra.CdcArgs{
			DatabaseId:      pulumi.String("5b70892f-e01a-4595-98e6-19ecc9985d50"),
			DatabaseName:    pulumi.String("sai_test"),
			Table:           pulumi.String("test"),
			Keyspace:        pulumi.String("sai_test"),
			TopicPartitions: pulumi.Int(3),
			TenantName:      streamingTenant_1.TenantName,
		}, pulumi.DependsOn([]pulumi.Resource{
			streamingTenant_1,
		}))
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"userName":  "clickhouse",
			"password":  "password",
			"jdbcUrl":   "jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink",
			"tableName": "pulsar_clickhouse_jdbc_sink",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = astra.NewStreamingSink(ctx, "streamingSink-1", &astra.StreamingSinkArgs{
			TenantName:           streamingTenant_1.TenantName,
			Topic:                cdc_1.DataTopic,
			Region:               pulumi.String("useast-4"),
			CloudProvider:        pulumi.String("gcp"),
			SinkName:             pulumi.String("jdbc-clickhouse"),
			RetainOrdering:       pulumi.Bool(true),
			ProcessingGuarantees: pulumi.String("ATLEAST_ONCE"),
			Parallelism:          pulumi.Int(3),
			Namespace:            pulumi.String("default"),
			SinkConfigs:          pulumi.String(json0),
			AutoAck:              pulumi.Bool(true),
		}, pulumi.DependsOn([]pulumi.Resource{
			streamingTenant_1,
			cdc_1,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import astra:index/streamingSink:StreamingSink example tenant_name/topic

```

func GetStreamingSink

func GetStreamingSink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamingSinkState, opts ...pulumi.ResourceOption) (*StreamingSink, error)

GetStreamingSink gets an existing StreamingSink resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStreamingSink

func NewStreamingSink(ctx *pulumi.Context,
	name string, args *StreamingSinkArgs, opts ...pulumi.ResourceOption) (*StreamingSink, error)

NewStreamingSink registers a new resource with the given unique name, arguments, and options.

func (*StreamingSink) ElementType

func (*StreamingSink) ElementType() reflect.Type

func (*StreamingSink) ToStreamingSinkOutput

func (i *StreamingSink) ToStreamingSinkOutput() StreamingSinkOutput

func (*StreamingSink) ToStreamingSinkOutputWithContext

func (i *StreamingSink) ToStreamingSinkOutputWithContext(ctx context.Context) StreamingSinkOutput

type StreamingSinkArgs

type StreamingSinkArgs struct {
	// auto ack
	AutoAck pulumi.BoolInput
	// Cloud provider
	CloudProvider pulumi.StringInput
	// Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state,
	// a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// Pulsar Namespace
	Namespace pulumi.StringInput
	// Parallelism for Pulsar sink
	Parallelism pulumi.IntInput
	// "ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE".
	ProcessingGuarantees pulumi.StringInput
	// cloud region
	Region pulumi.StringInput
	// Retain ordering.
	RetainOrdering pulumi.BoolInput
	// Sink Configs
	SinkConfigs pulumi.StringInput
	// Name of the sink.
	SinkName pulumi.StringInput
	// Streaming tenant name.
	TenantName pulumi.StringInput
	// Streaming tenant topic.
	Topic pulumi.StringInput
}

The set of arguments for constructing a StreamingSink resource.

func (StreamingSinkArgs) ElementType

func (StreamingSinkArgs) ElementType() reflect.Type

type StreamingSinkArray

type StreamingSinkArray []StreamingSinkInput

func (StreamingSinkArray) ElementType

func (StreamingSinkArray) ElementType() reflect.Type

func (StreamingSinkArray) ToStreamingSinkArrayOutput

func (i StreamingSinkArray) ToStreamingSinkArrayOutput() StreamingSinkArrayOutput

func (StreamingSinkArray) ToStreamingSinkArrayOutputWithContext

func (i StreamingSinkArray) ToStreamingSinkArrayOutputWithContext(ctx context.Context) StreamingSinkArrayOutput

type StreamingSinkArrayInput

type StreamingSinkArrayInput interface {
	pulumi.Input

	ToStreamingSinkArrayOutput() StreamingSinkArrayOutput
	ToStreamingSinkArrayOutputWithContext(context.Context) StreamingSinkArrayOutput
}

StreamingSinkArrayInput is an input type that accepts StreamingSinkArray and StreamingSinkArrayOutput values. You can construct a concrete instance of `StreamingSinkArrayInput` via:

StreamingSinkArray{ StreamingSinkArgs{...} }

type StreamingSinkArrayOutput

type StreamingSinkArrayOutput struct{ *pulumi.OutputState }

func (StreamingSinkArrayOutput) ElementType

func (StreamingSinkArrayOutput) ElementType() reflect.Type

func (StreamingSinkArrayOutput) Index

func (StreamingSinkArrayOutput) ToStreamingSinkArrayOutput

func (o StreamingSinkArrayOutput) ToStreamingSinkArrayOutput() StreamingSinkArrayOutput

func (StreamingSinkArrayOutput) ToStreamingSinkArrayOutputWithContext

func (o StreamingSinkArrayOutput) ToStreamingSinkArrayOutputWithContext(ctx context.Context) StreamingSinkArrayOutput

type StreamingSinkInput

type StreamingSinkInput interface {
	pulumi.Input

	ToStreamingSinkOutput() StreamingSinkOutput
	ToStreamingSinkOutputWithContext(ctx context.Context) StreamingSinkOutput
}

type StreamingSinkMap

type StreamingSinkMap map[string]StreamingSinkInput

func (StreamingSinkMap) ElementType

func (StreamingSinkMap) ElementType() reflect.Type

func (StreamingSinkMap) ToStreamingSinkMapOutput

func (i StreamingSinkMap) ToStreamingSinkMapOutput() StreamingSinkMapOutput

func (StreamingSinkMap) ToStreamingSinkMapOutputWithContext

func (i StreamingSinkMap) ToStreamingSinkMapOutputWithContext(ctx context.Context) StreamingSinkMapOutput

type StreamingSinkMapInput

type StreamingSinkMapInput interface {
	pulumi.Input

	ToStreamingSinkMapOutput() StreamingSinkMapOutput
	ToStreamingSinkMapOutputWithContext(context.Context) StreamingSinkMapOutput
}

StreamingSinkMapInput is an input type that accepts StreamingSinkMap and StreamingSinkMapOutput values. You can construct a concrete instance of `StreamingSinkMapInput` via:

StreamingSinkMap{ "key": StreamingSinkArgs{...} }

type StreamingSinkMapOutput

type StreamingSinkMapOutput struct{ *pulumi.OutputState }

func (StreamingSinkMapOutput) ElementType

func (StreamingSinkMapOutput) ElementType() reflect.Type

func (StreamingSinkMapOutput) MapIndex

func (StreamingSinkMapOutput) ToStreamingSinkMapOutput

func (o StreamingSinkMapOutput) ToStreamingSinkMapOutput() StreamingSinkMapOutput

func (StreamingSinkMapOutput) ToStreamingSinkMapOutputWithContext

func (o StreamingSinkMapOutput) ToStreamingSinkMapOutputWithContext(ctx context.Context) StreamingSinkMapOutput

type StreamingSinkOutput

type StreamingSinkOutput struct{ *pulumi.OutputState }

func (StreamingSinkOutput) AutoAck

auto ack

func (StreamingSinkOutput) CloudProvider

func (o StreamingSinkOutput) CloudProvider() pulumi.StringOutput

Cloud provider

func (StreamingSinkOutput) DeletionProtection

func (o StreamingSinkOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.

func (StreamingSinkOutput) ElementType

func (StreamingSinkOutput) ElementType() reflect.Type

func (StreamingSinkOutput) Namespace

func (o StreamingSinkOutput) Namespace() pulumi.StringOutput

Pulsar Namespace

func (StreamingSinkOutput) Parallelism

func (o StreamingSinkOutput) Parallelism() pulumi.IntOutput

Parallelism for Pulsar sink

func (StreamingSinkOutput) ProcessingGuarantees

func (o StreamingSinkOutput) ProcessingGuarantees() pulumi.StringOutput

"ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE".

func (StreamingSinkOutput) Region

cloud region

func (StreamingSinkOutput) RetainOrdering

func (o StreamingSinkOutput) RetainOrdering() pulumi.BoolOutput

Retain ordering.

func (StreamingSinkOutput) SinkConfigs

func (o StreamingSinkOutput) SinkConfigs() pulumi.StringOutput

Sink Configs

func (StreamingSinkOutput) SinkName

Name of the sink.

func (StreamingSinkOutput) TenantName

func (o StreamingSinkOutput) TenantName() pulumi.StringOutput

Streaming tenant name.

func (StreamingSinkOutput) ToStreamingSinkOutput

func (o StreamingSinkOutput) ToStreamingSinkOutput() StreamingSinkOutput

func (StreamingSinkOutput) ToStreamingSinkOutputWithContext

func (o StreamingSinkOutput) ToStreamingSinkOutputWithContext(ctx context.Context) StreamingSinkOutput

func (StreamingSinkOutput) Topic

Streaming tenant topic.

type StreamingSinkState

type StreamingSinkState struct {
	// auto ack
	AutoAck pulumi.BoolPtrInput
	// Cloud provider
	CloudProvider pulumi.StringPtrInput
	// Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state,
	// a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// Pulsar Namespace
	Namespace pulumi.StringPtrInput
	// Parallelism for Pulsar sink
	Parallelism pulumi.IntPtrInput
	// "ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE".
	ProcessingGuarantees pulumi.StringPtrInput
	// cloud region
	Region pulumi.StringPtrInput
	// Retain ordering.
	RetainOrdering pulumi.BoolPtrInput
	// Sink Configs
	SinkConfigs pulumi.StringPtrInput
	// Name of the sink.
	SinkName pulumi.StringPtrInput
	// Streaming tenant name.
	TenantName pulumi.StringPtrInput
	// Streaming tenant topic.
	Topic pulumi.StringPtrInput
}

func (StreamingSinkState) ElementType

func (StreamingSinkState) ElementType() reflect.Type

type StreamingTenant

type StreamingTenant struct {
	pulumi.CustomResourceState

	// The Pulsar Binary Protocol URL used for production and consumption of messages.
	BrokerServiceUrl pulumi.StringOutput `pulumi:"brokerServiceUrl"`
	// Cloud provider
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// Pulsar cluster name.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a
	// `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// cloud region
	Region pulumi.StringOutput `pulumi:"region"`
	// UUID for the tenant.
	TenantId pulumi.StringOutput `pulumi:"tenantId"`
	// Streaming tenant name.
	TenantName pulumi.StringOutput `pulumi:"tenantName"`
	// Streaming tenant topic.
	Topic pulumi.StringOutput `pulumi:"topic"`
	// User email for tenant.
	UserEmail pulumi.StringOutput `pulumi:"userEmail"`
	// URL for metrics.
	UserMetricsUrl pulumi.StringOutput `pulumi:"userMetricsUrl"`
	// URL used for administrative operations.
	WebServiceUrl pulumi.StringOutput `pulumi:"webServiceUrl"`
	// URL used for web socket query parameter operations.
	WebSocketQueryParamUrl pulumi.StringOutput `pulumi:"webSocketQueryParamUrl"`
	// URL used for web socket operations.
	WebSocketUrl pulumi.StringOutput `pulumi:"webSocketUrl"`
}

`StreamingTenant` creates an Astra Streaming tenant.

## Example Usage

```go 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
	})
}

```

## Import

```sh

$ pulumi import astra:index/streamingTenant:StreamingTenant example tenant_name

```

func GetStreamingTenant

func GetStreamingTenant(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamingTenantState, opts ...pulumi.ResourceOption) (*StreamingTenant, error)

GetStreamingTenant gets an existing StreamingTenant resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStreamingTenant

func NewStreamingTenant(ctx *pulumi.Context,
	name string, args *StreamingTenantArgs, opts ...pulumi.ResourceOption) (*StreamingTenant, error)

NewStreamingTenant registers a new resource with the given unique name, arguments, and options.

func (*StreamingTenant) ElementType

func (*StreamingTenant) ElementType() reflect.Type

func (*StreamingTenant) ToStreamingTenantOutput

func (i *StreamingTenant) ToStreamingTenantOutput() StreamingTenantOutput

func (*StreamingTenant) ToStreamingTenantOutputWithContext

func (i *StreamingTenant) ToStreamingTenantOutputWithContext(ctx context.Context) StreamingTenantOutput

type StreamingTenantArgs

type StreamingTenantArgs struct {
	// Cloud provider
	CloudProvider pulumi.StringInput
	// Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a
	// `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// cloud region
	Region pulumi.StringInput
	// Streaming tenant name.
	TenantName pulumi.StringInput
	// Streaming tenant topic.
	Topic pulumi.StringInput
	// User email for tenant.
	UserEmail pulumi.StringInput
}

The set of arguments for constructing a StreamingTenant resource.

func (StreamingTenantArgs) ElementType

func (StreamingTenantArgs) ElementType() reflect.Type

type StreamingTenantArray

type StreamingTenantArray []StreamingTenantInput

func (StreamingTenantArray) ElementType

func (StreamingTenantArray) ElementType() reflect.Type

func (StreamingTenantArray) ToStreamingTenantArrayOutput

func (i StreamingTenantArray) ToStreamingTenantArrayOutput() StreamingTenantArrayOutput

func (StreamingTenantArray) ToStreamingTenantArrayOutputWithContext

func (i StreamingTenantArray) ToStreamingTenantArrayOutputWithContext(ctx context.Context) StreamingTenantArrayOutput

type StreamingTenantArrayInput

type StreamingTenantArrayInput interface {
	pulumi.Input

	ToStreamingTenantArrayOutput() StreamingTenantArrayOutput
	ToStreamingTenantArrayOutputWithContext(context.Context) StreamingTenantArrayOutput
}

StreamingTenantArrayInput is an input type that accepts StreamingTenantArray and StreamingTenantArrayOutput values. You can construct a concrete instance of `StreamingTenantArrayInput` via:

StreamingTenantArray{ StreamingTenantArgs{...} }

type StreamingTenantArrayOutput

type StreamingTenantArrayOutput struct{ *pulumi.OutputState }

func (StreamingTenantArrayOutput) ElementType

func (StreamingTenantArrayOutput) ElementType() reflect.Type

func (StreamingTenantArrayOutput) Index

func (StreamingTenantArrayOutput) ToStreamingTenantArrayOutput

func (o StreamingTenantArrayOutput) ToStreamingTenantArrayOutput() StreamingTenantArrayOutput

func (StreamingTenantArrayOutput) ToStreamingTenantArrayOutputWithContext

func (o StreamingTenantArrayOutput) ToStreamingTenantArrayOutputWithContext(ctx context.Context) StreamingTenantArrayOutput

type StreamingTenantInput

type StreamingTenantInput interface {
	pulumi.Input

	ToStreamingTenantOutput() StreamingTenantOutput
	ToStreamingTenantOutputWithContext(ctx context.Context) StreamingTenantOutput
}

type StreamingTenantMap

type StreamingTenantMap map[string]StreamingTenantInput

func (StreamingTenantMap) ElementType

func (StreamingTenantMap) ElementType() reflect.Type

func (StreamingTenantMap) ToStreamingTenantMapOutput

func (i StreamingTenantMap) ToStreamingTenantMapOutput() StreamingTenantMapOutput

func (StreamingTenantMap) ToStreamingTenantMapOutputWithContext

func (i StreamingTenantMap) ToStreamingTenantMapOutputWithContext(ctx context.Context) StreamingTenantMapOutput

type StreamingTenantMapInput

type StreamingTenantMapInput interface {
	pulumi.Input

	ToStreamingTenantMapOutput() StreamingTenantMapOutput
	ToStreamingTenantMapOutputWithContext(context.Context) StreamingTenantMapOutput
}

StreamingTenantMapInput is an input type that accepts StreamingTenantMap and StreamingTenantMapOutput values. You can construct a concrete instance of `StreamingTenantMapInput` via:

StreamingTenantMap{ "key": StreamingTenantArgs{...} }

type StreamingTenantMapOutput

type StreamingTenantMapOutput struct{ *pulumi.OutputState }

func (StreamingTenantMapOutput) ElementType

func (StreamingTenantMapOutput) ElementType() reflect.Type

func (StreamingTenantMapOutput) MapIndex

func (StreamingTenantMapOutput) ToStreamingTenantMapOutput

func (o StreamingTenantMapOutput) ToStreamingTenantMapOutput() StreamingTenantMapOutput

func (StreamingTenantMapOutput) ToStreamingTenantMapOutputWithContext

func (o StreamingTenantMapOutput) ToStreamingTenantMapOutputWithContext(ctx context.Context) StreamingTenantMapOutput

type StreamingTenantOutput

type StreamingTenantOutput struct{ *pulumi.OutputState }

func (StreamingTenantOutput) BrokerServiceUrl

func (o StreamingTenantOutput) BrokerServiceUrl() pulumi.StringOutput

The Pulsar Binary Protocol URL used for production and consumption of messages.

func (StreamingTenantOutput) CloudProvider

func (o StreamingTenantOutput) CloudProvider() pulumi.StringOutput

Cloud provider

func (StreamingTenantOutput) ClusterName

func (o StreamingTenantOutput) ClusterName() pulumi.StringOutput

Pulsar cluster name.

func (StreamingTenantOutput) DeletionProtection

func (o StreamingTenantOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.

func (StreamingTenantOutput) ElementType

func (StreamingTenantOutput) ElementType() reflect.Type

func (StreamingTenantOutput) Region

cloud region

func (StreamingTenantOutput) TenantId

UUID for the tenant.

func (StreamingTenantOutput) TenantName

func (o StreamingTenantOutput) TenantName() pulumi.StringOutput

Streaming tenant name.

func (StreamingTenantOutput) ToStreamingTenantOutput

func (o StreamingTenantOutput) ToStreamingTenantOutput() StreamingTenantOutput

func (StreamingTenantOutput) ToStreamingTenantOutputWithContext

func (o StreamingTenantOutput) ToStreamingTenantOutputWithContext(ctx context.Context) StreamingTenantOutput

func (StreamingTenantOutput) Topic

Streaming tenant topic.

func (StreamingTenantOutput) UserEmail

User email for tenant.

func (StreamingTenantOutput) UserMetricsUrl

func (o StreamingTenantOutput) UserMetricsUrl() pulumi.StringOutput

URL for metrics.

func (StreamingTenantOutput) WebServiceUrl

func (o StreamingTenantOutput) WebServiceUrl() pulumi.StringOutput

URL used for administrative operations.

func (StreamingTenantOutput) WebSocketQueryParamUrl

func (o StreamingTenantOutput) WebSocketQueryParamUrl() pulumi.StringOutput

URL used for web socket query parameter operations.

func (StreamingTenantOutput) WebSocketUrl

func (o StreamingTenantOutput) WebSocketUrl() pulumi.StringOutput

URL used for web socket operations.

type StreamingTenantState

type StreamingTenantState struct {
	// The Pulsar Binary Protocol URL used for production and consumption of messages.
	BrokerServiceUrl pulumi.StringPtrInput
	// Cloud provider
	CloudProvider pulumi.StringPtrInput
	// Pulsar cluster name.
	ClusterName pulumi.StringPtrInput
	// Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a
	// `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// cloud region
	Region pulumi.StringPtrInput
	// UUID for the tenant.
	TenantId pulumi.StringPtrInput
	// Streaming tenant name.
	TenantName pulumi.StringPtrInput
	// Streaming tenant topic.
	Topic pulumi.StringPtrInput
	// User email for tenant.
	UserEmail pulumi.StringPtrInput
	// URL for metrics.
	UserMetricsUrl pulumi.StringPtrInput
	// URL used for administrative operations.
	WebServiceUrl pulumi.StringPtrInput
	// URL used for web socket query parameter operations.
	WebSocketQueryParamUrl pulumi.StringPtrInput
	// URL used for web socket operations.
	WebSocketUrl pulumi.StringPtrInput
}

func (StreamingTenantState) ElementType

func (StreamingTenantState) ElementType() reflect.Type

type StreamingTopic

type StreamingTopic struct {
	pulumi.CustomResourceState

	// Cloud provider
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state,
	// a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// Pulsar Namespace
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// cloud region
	Region pulumi.StringOutput `pulumi:"region"`
	// Streaming tenant name.
	TenantName pulumi.StringOutput `pulumi:"tenantName"`
	// Streaming tenant topic.
	Topic pulumi.StringOutput `pulumi:"topic"`
}

`StreamingTopic` creates an Astra Streaming topic.

func GetStreamingTopic

func GetStreamingTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StreamingTopicState, opts ...pulumi.ResourceOption) (*StreamingTopic, error)

GetStreamingTopic gets an existing StreamingTopic resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStreamingTopic

func NewStreamingTopic(ctx *pulumi.Context,
	name string, args *StreamingTopicArgs, opts ...pulumi.ResourceOption) (*StreamingTopic, error)

NewStreamingTopic registers a new resource with the given unique name, arguments, and options.

func (*StreamingTopic) ElementType

func (*StreamingTopic) ElementType() reflect.Type

func (*StreamingTopic) ToStreamingTopicOutput

func (i *StreamingTopic) ToStreamingTopicOutput() StreamingTopicOutput

func (*StreamingTopic) ToStreamingTopicOutputWithContext

func (i *StreamingTopic) ToStreamingTopicOutputWithContext(ctx context.Context) StreamingTopicOutput

type StreamingTopicArgs

type StreamingTopicArgs struct {
	// Cloud provider
	CloudProvider pulumi.StringInput
	// Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state,
	// a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// Pulsar Namespace
	Namespace pulumi.StringInput
	// cloud region
	Region pulumi.StringInput
	// Streaming tenant name.
	TenantName pulumi.StringInput
	// Streaming tenant topic.
	Topic pulumi.StringInput
}

The set of arguments for constructing a StreamingTopic resource.

func (StreamingTopicArgs) ElementType

func (StreamingTopicArgs) ElementType() reflect.Type

type StreamingTopicArray

type StreamingTopicArray []StreamingTopicInput

func (StreamingTopicArray) ElementType

func (StreamingTopicArray) ElementType() reflect.Type

func (StreamingTopicArray) ToStreamingTopicArrayOutput

func (i StreamingTopicArray) ToStreamingTopicArrayOutput() StreamingTopicArrayOutput

func (StreamingTopicArray) ToStreamingTopicArrayOutputWithContext

func (i StreamingTopicArray) ToStreamingTopicArrayOutputWithContext(ctx context.Context) StreamingTopicArrayOutput

type StreamingTopicArrayInput

type StreamingTopicArrayInput interface {
	pulumi.Input

	ToStreamingTopicArrayOutput() StreamingTopicArrayOutput
	ToStreamingTopicArrayOutputWithContext(context.Context) StreamingTopicArrayOutput
}

StreamingTopicArrayInput is an input type that accepts StreamingTopicArray and StreamingTopicArrayOutput values. You can construct a concrete instance of `StreamingTopicArrayInput` via:

StreamingTopicArray{ StreamingTopicArgs{...} }

type StreamingTopicArrayOutput

type StreamingTopicArrayOutput struct{ *pulumi.OutputState }

func (StreamingTopicArrayOutput) ElementType

func (StreamingTopicArrayOutput) ElementType() reflect.Type

func (StreamingTopicArrayOutput) Index

func (StreamingTopicArrayOutput) ToStreamingTopicArrayOutput

func (o StreamingTopicArrayOutput) ToStreamingTopicArrayOutput() StreamingTopicArrayOutput

func (StreamingTopicArrayOutput) ToStreamingTopicArrayOutputWithContext

func (o StreamingTopicArrayOutput) ToStreamingTopicArrayOutputWithContext(ctx context.Context) StreamingTopicArrayOutput

type StreamingTopicInput

type StreamingTopicInput interface {
	pulumi.Input

	ToStreamingTopicOutput() StreamingTopicOutput
	ToStreamingTopicOutputWithContext(ctx context.Context) StreamingTopicOutput
}

type StreamingTopicMap

type StreamingTopicMap map[string]StreamingTopicInput

func (StreamingTopicMap) ElementType

func (StreamingTopicMap) ElementType() reflect.Type

func (StreamingTopicMap) ToStreamingTopicMapOutput

func (i StreamingTopicMap) ToStreamingTopicMapOutput() StreamingTopicMapOutput

func (StreamingTopicMap) ToStreamingTopicMapOutputWithContext

func (i StreamingTopicMap) ToStreamingTopicMapOutputWithContext(ctx context.Context) StreamingTopicMapOutput

type StreamingTopicMapInput

type StreamingTopicMapInput interface {
	pulumi.Input

	ToStreamingTopicMapOutput() StreamingTopicMapOutput
	ToStreamingTopicMapOutputWithContext(context.Context) StreamingTopicMapOutput
}

StreamingTopicMapInput is an input type that accepts StreamingTopicMap and StreamingTopicMapOutput values. You can construct a concrete instance of `StreamingTopicMapInput` via:

StreamingTopicMap{ "key": StreamingTopicArgs{...} }

type StreamingTopicMapOutput

type StreamingTopicMapOutput struct{ *pulumi.OutputState }

func (StreamingTopicMapOutput) ElementType

func (StreamingTopicMapOutput) ElementType() reflect.Type

func (StreamingTopicMapOutput) MapIndex

func (StreamingTopicMapOutput) ToStreamingTopicMapOutput

func (o StreamingTopicMapOutput) ToStreamingTopicMapOutput() StreamingTopicMapOutput

func (StreamingTopicMapOutput) ToStreamingTopicMapOutputWithContext

func (o StreamingTopicMapOutput) ToStreamingTopicMapOutputWithContext(ctx context.Context) StreamingTopicMapOutput

type StreamingTopicOutput

type StreamingTopicOutput struct{ *pulumi.OutputState }

func (StreamingTopicOutput) CloudProvider

func (o StreamingTopicOutput) CloudProvider() pulumi.StringOutput

Cloud provider

func (StreamingTopicOutput) DeletionProtection

func (o StreamingTopicOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.

func (StreamingTopicOutput) ElementType

func (StreamingTopicOutput) ElementType() reflect.Type

func (StreamingTopicOutput) Namespace

Pulsar Namespace

func (StreamingTopicOutput) Region

cloud region

func (StreamingTopicOutput) TenantName

func (o StreamingTopicOutput) TenantName() pulumi.StringOutput

Streaming tenant name.

func (StreamingTopicOutput) ToStreamingTopicOutput

func (o StreamingTopicOutput) ToStreamingTopicOutput() StreamingTopicOutput

func (StreamingTopicOutput) ToStreamingTopicOutputWithContext

func (o StreamingTopicOutput) ToStreamingTopicOutputWithContext(ctx context.Context) StreamingTopicOutput

func (StreamingTopicOutput) Topic

Streaming tenant topic.

type StreamingTopicState

type StreamingTopicState struct {
	// Cloud provider
	CloudProvider pulumi.StringPtrInput
	// Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state,
	// a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// Pulsar Namespace
	Namespace pulumi.StringPtrInput
	// cloud region
	Region pulumi.StringPtrInput
	// Streaming tenant name.
	TenantName pulumi.StringPtrInput
	// Streaming tenant topic.
	Topic pulumi.StringPtrInput
}

func (StreamingTopicState) ElementType

func (StreamingTopicState) ElementType() reflect.Type

type Table

type Table struct {
	pulumi.CustomResourceState

	// Clustering column(s), separated by :
	ClusteringColumns pulumi.StringOutput `pulumi:"clusteringColumns"`
	// A list of table Definitions
	ColumnDefinitions pulumi.StringMapArrayOutput `pulumi:"columnDefinitions"`
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
	Keyspace pulumi.StringOutput `pulumi:"keyspace"`
	// Partition key(s), separated by :
	PartitionKeys pulumi.StringOutput `pulumi:"partitionKeys"`
	// region.
	Region pulumi.StringOutput `pulumi:"region"`
	// Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
	Table pulumi.StringOutput `pulumi:"table"`
}

`Table` provides a table resource which represents a table in cassandra.

## Example Usage

```go 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 {
		dev, err := astra.NewDatabase(ctx, "dev", &astra.DatabaseArgs{
			Keyspace:      pulumi.String("puppies"),
			CloudProvider: pulumi.String("gcp"),
			Regions: pulumi.StringArray{
				pulumi.String("us-east1"),
			},
		})
		if err != nil {
			return err
		}
		_, err = astra.NewTable(ctx, "table-1", &astra.TableArgs{
			Table:             pulumi.String("mytable"),
			Keyspace:          pulumi.String("puppies"),
			DatabaseId:        dev.ID(),
			Region:            pulumi.String("us-east1"),
			ClusteringColumns: pulumi.String("a:b"),
			PartitionKeys:     pulumi.String("c:d"),
			ColumnDefinitions: pulumi.StringMapArray{
				pulumi.StringMap{
					"Name":           pulumi.String("a"),
					"Static":         pulumi.String("false"),
					"TypeDefinition": pulumi.String("text"),
				},
				pulumi.StringMap{
					"Name":           pulumi.String("b"),
					"Static":         pulumi.String("false"),
					"TypeDefinition": pulumi.String("text"),
				},
				pulumi.StringMap{
					"Name":           pulumi.String("c"),
					"Static":         pulumi.String("false"),
					"TypeDefinition": pulumi.String("text"),
				},
				pulumi.StringMap{
					"Name":           pulumi.String("d"),
					"Static":         pulumi.String("false"),
					"TypeDefinition": pulumi.String("text"),
				},
				pulumi.StringMap{
					"Name":           pulumi.String("e"),
					"Static":         pulumi.String("false"),
					"TypeDefinition": pulumi.String("text"),
				},
				pulumi.StringMap{
					"Name":           pulumi.String("f"),
					"Static":         pulumi.String("false"),
					"TypeDefinition": pulumi.String("text"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

the import id includes the database_id, keyspace name, and table name.

```sh

$ pulumi import astra:index/table:Table example 48bfc13b-c1a5-48db-b70f-b6ef9709872b/kayspacename/tablename

```

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

GetTable gets an existing Table resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTable

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

NewTable registers a new resource with the given unique name, arguments, and options.

func (*Table) ElementType

func (*Table) ElementType() reflect.Type

func (*Table) ToTableOutput

func (i *Table) ToTableOutput() TableOutput

func (*Table) ToTableOutputWithContext

func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableArgs

type TableArgs struct {
	// Clustering column(s), separated by :
	ClusteringColumns pulumi.StringInput
	// A list of table Definitions
	ColumnDefinitions pulumi.StringMapArrayInput
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringInput
	// Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
	Keyspace pulumi.StringInput
	// Partition key(s), separated by :
	PartitionKeys pulumi.StringInput
	// region.
	Region pulumi.StringInput
	// Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
	Table pulumi.StringInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableArray

type TableArray []TableInput

func (TableArray) ElementType

func (TableArray) ElementType() reflect.Type

func (TableArray) ToTableArrayOutput

func (i TableArray) ToTableArrayOutput() TableArrayOutput

func (TableArray) ToTableArrayOutputWithContext

func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableArrayInput

type TableArrayInput interface {
	pulumi.Input

	ToTableArrayOutput() TableArrayOutput
	ToTableArrayOutputWithContext(context.Context) TableArrayOutput
}

TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:

TableArray{ TableArgs{...} }

type TableArrayOutput

type TableArrayOutput struct{ *pulumi.OutputState }

func (TableArrayOutput) ElementType

func (TableArrayOutput) ElementType() reflect.Type

func (TableArrayOutput) Index

func (TableArrayOutput) ToTableArrayOutput

func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput

func (TableArrayOutput) ToTableArrayOutputWithContext

func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableInput

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableMap

type TableMap map[string]TableInput

func (TableMap) ElementType

func (TableMap) ElementType() reflect.Type

func (TableMap) ToTableMapOutput

func (i TableMap) ToTableMapOutput() TableMapOutput

func (TableMap) ToTableMapOutputWithContext

func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableMapInput

type TableMapInput interface {
	pulumi.Input

	ToTableMapOutput() TableMapOutput
	ToTableMapOutputWithContext(context.Context) TableMapOutput
}

TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:

TableMap{ "key": TableArgs{...} }

type TableMapOutput

type TableMapOutput struct{ *pulumi.OutputState }

func (TableMapOutput) ElementType

func (TableMapOutput) ElementType() reflect.Type

func (TableMapOutput) MapIndex

func (TableMapOutput) ToTableMapOutput

func (o TableMapOutput) ToTableMapOutput() TableMapOutput

func (TableMapOutput) ToTableMapOutputWithContext

func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableOutput

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) ClusteringColumns

func (o TableOutput) ClusteringColumns() pulumi.StringOutput

Clustering column(s), separated by :

func (TableOutput) ColumnDefinitions

func (o TableOutput) ColumnDefinitions() pulumi.StringMapArrayOutput

A list of table Definitions

func (TableOutput) DatabaseId

func (o TableOutput) DatabaseId() pulumi.StringOutput

Astra database to create the keyspace.

func (TableOutput) ElementType

func (TableOutput) ElementType() reflect.Type

func (TableOutput) Keyspace

func (o TableOutput) Keyspace() pulumi.StringOutput

Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.

func (TableOutput) PartitionKeys

func (o TableOutput) PartitionKeys() pulumi.StringOutput

Partition key(s), separated by :

func (TableOutput) Region

func (o TableOutput) Region() pulumi.StringOutput

region.

func (TableOutput) Table

func (o TableOutput) Table() pulumi.StringOutput

Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.

func (TableOutput) ToTableOutput

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableState

type TableState struct {
	// Clustering column(s), separated by :
	ClusteringColumns pulumi.StringPtrInput
	// A list of table Definitions
	ColumnDefinitions pulumi.StringMapArrayInput
	// Astra database to create the keyspace.
	DatabaseId pulumi.StringPtrInput
	// Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
	Keyspace pulumi.StringPtrInput
	// Partition key(s), separated by :
	PartitionKeys pulumi.StringPtrInput
	// region.
	Region pulumi.StringPtrInput
	// Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
	Table pulumi.StringPtrInput
}

func (TableState) ElementType

func (TableState) ElementType() reflect.Type

type Token

type Token struct {
	pulumi.CustomResourceState

	// Client id, use as username in cql to connect
	ClientId pulumi.StringOutput `pulumi:"clientId"`
	// List of Role IDs to be assigned to the generated token
	Roles pulumi.StringArrayOutput `pulumi:"roles"`
	// Secret, use as password in cql to connect
	Secret pulumi.StringOutput `pulumi:"secret"`
	// Token, use as auth bearer for API calls or as password in combination with the word `token` in cql
	Token pulumi.StringOutput `pulumi:"token"`
}

`Token` resource represents a token with a specific role assigned.

## Example Usage

```go 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.NewToken(ctx, "example", &astra.TokenArgs{
			Roles: pulumi.StringArray{
				pulumi.String("a8cd363d-5069-4a2b-86d8-0578139812ac"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

```sh

$ pulumi import astra:index/token:Token example client-secret

```

func GetToken

func GetToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TokenState, opts ...pulumi.ResourceOption) (*Token, error)

GetToken gets an existing Token resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewToken

func NewToken(ctx *pulumi.Context,
	name string, args *TokenArgs, opts ...pulumi.ResourceOption) (*Token, error)

NewToken registers a new resource with the given unique name, arguments, and options.

func (*Token) ElementType

func (*Token) ElementType() reflect.Type

func (*Token) ToTokenOutput

func (i *Token) ToTokenOutput() TokenOutput

func (*Token) ToTokenOutputWithContext

func (i *Token) ToTokenOutputWithContext(ctx context.Context) TokenOutput

type TokenArgs

type TokenArgs struct {
	// List of Role IDs to be assigned to the generated token
	Roles pulumi.StringArrayInput
}

The set of arguments for constructing a Token resource.

func (TokenArgs) ElementType

func (TokenArgs) ElementType() reflect.Type

type TokenArray

type TokenArray []TokenInput

func (TokenArray) ElementType

func (TokenArray) ElementType() reflect.Type

func (TokenArray) ToTokenArrayOutput

func (i TokenArray) ToTokenArrayOutput() TokenArrayOutput

func (TokenArray) ToTokenArrayOutputWithContext

func (i TokenArray) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput

type TokenArrayInput

type TokenArrayInput interface {
	pulumi.Input

	ToTokenArrayOutput() TokenArrayOutput
	ToTokenArrayOutputWithContext(context.Context) TokenArrayOutput
}

TokenArrayInput is an input type that accepts TokenArray and TokenArrayOutput values. You can construct a concrete instance of `TokenArrayInput` via:

TokenArray{ TokenArgs{...} }

type TokenArrayOutput

type TokenArrayOutput struct{ *pulumi.OutputState }

func (TokenArrayOutput) ElementType

func (TokenArrayOutput) ElementType() reflect.Type

func (TokenArrayOutput) Index

func (TokenArrayOutput) ToTokenArrayOutput

func (o TokenArrayOutput) ToTokenArrayOutput() TokenArrayOutput

func (TokenArrayOutput) ToTokenArrayOutputWithContext

func (o TokenArrayOutput) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput

type TokenInput

type TokenInput interface {
	pulumi.Input

	ToTokenOutput() TokenOutput
	ToTokenOutputWithContext(ctx context.Context) TokenOutput
}

type TokenMap

type TokenMap map[string]TokenInput

func (TokenMap) ElementType

func (TokenMap) ElementType() reflect.Type

func (TokenMap) ToTokenMapOutput

func (i TokenMap) ToTokenMapOutput() TokenMapOutput

func (TokenMap) ToTokenMapOutputWithContext

func (i TokenMap) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput

type TokenMapInput

type TokenMapInput interface {
	pulumi.Input

	ToTokenMapOutput() TokenMapOutput
	ToTokenMapOutputWithContext(context.Context) TokenMapOutput
}

TokenMapInput is an input type that accepts TokenMap and TokenMapOutput values. You can construct a concrete instance of `TokenMapInput` via:

TokenMap{ "key": TokenArgs{...} }

type TokenMapOutput

type TokenMapOutput struct{ *pulumi.OutputState }

func (TokenMapOutput) ElementType

func (TokenMapOutput) ElementType() reflect.Type

func (TokenMapOutput) MapIndex

func (TokenMapOutput) ToTokenMapOutput

func (o TokenMapOutput) ToTokenMapOutput() TokenMapOutput

func (TokenMapOutput) ToTokenMapOutputWithContext

func (o TokenMapOutput) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput

type TokenOutput

type TokenOutput struct{ *pulumi.OutputState }

func (TokenOutput) ClientId

func (o TokenOutput) ClientId() pulumi.StringOutput

Client id, use as username in cql to connect

func (TokenOutput) ElementType

func (TokenOutput) ElementType() reflect.Type

func (TokenOutput) Roles

List of Role IDs to be assigned to the generated token

func (TokenOutput) Secret

func (o TokenOutput) Secret() pulumi.StringOutput

Secret, use as password in cql to connect

func (TokenOutput) ToTokenOutput

func (o TokenOutput) ToTokenOutput() TokenOutput

func (TokenOutput) ToTokenOutputWithContext

func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput

func (TokenOutput) Token

func (o TokenOutput) Token() pulumi.StringOutput

Token, use as auth bearer for API calls or as password in combination with the word `token` in cql

type TokenState

type TokenState struct {
	// Client id, use as username in cql to connect
	ClientId pulumi.StringPtrInput
	// List of Role IDs to be assigned to the generated token
	Roles pulumi.StringArrayInput
	// Secret, use as password in cql to connect
	Secret pulumi.StringPtrInput
	// Token, use as auth bearer for API calls or as password in combination with the word `token` in cql
	Token pulumi.StringPtrInput
}

func (TokenState) ElementType

func (TokenState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL