index

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

Overview

A Pulumi package for creating and managing astra cloud resources.

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-index/sdk/go/index"

)

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 {
	Address     string  `pulumi:"address"`
	Description *string `pulumi:"description"`
	Enabled     bool    `pulumi:"enabled"`
}

type AccessListAddressArgs

type AccessListAddressArgs struct {
	Address     pulumi.StringInput    `pulumi:"address"`
	Description pulumi.StringPtrInput `pulumi:"description"`
	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

func (AccessListAddressOutput) Description

func (AccessListAddressOutput) ElementType

func (AccessListAddressOutput) ElementType() reflect.Type

func (AccessListAddressOutput) Enabled

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

	// Streaming tenant name
	ConnectorStatus pulumi.StringOutput `pulumi:"connectorStatus"`
	// Streaming tenant 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 astra_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-index/sdk/go/index"

)

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 astra_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

Streaming tenant name

func (CdcOutput) DataTopic

func (o CdcOutput) DataTopic() pulumi.StringOutput

Streaming tenant 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 astra_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 {
	// Streaming tenant name
	ConnectorStatus pulumi.StringPtrInput
	// Streaming tenant 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 astra_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"`
	// The grafana_url
	GrafanaUrl pulumi.StringOutput `pulumi:"grafanaUrl"`
	// The graphql_url
	GraphqlUrl pulumi.StringOutput `pulumi:"graphqlUrl"`
	// Initial keyspace name. For additional keyspaces, use the astra_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-index/sdk/go/index"

)

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
	// Initial keyspace name. For additional keyspaces, use the astra_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) 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 astra_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
	// The grafana_url
	GrafanaUrl pulumi.StringPtrInput
	// The graphql_url
	GraphqlUrl pulumi.StringPtrInput
	// Initial keyspace name. For additional keyspaces, use the astra_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"`
	Enabled     bool    `pulumi:"enabled"`
}

type GetAccessListAddressArgs

type GetAccessListAddressArgs struct {
	Address     pulumi.StringInput    `pulumi:"address"`
	Description pulumi.StringPtrInput `pulumi:"description"`
	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

func (GetAccessListAddressOutput) ToGetAccessListAddressOutput

func (o GetAccessListAddressOutput) ToGetAccessListAddressOutput() GetAccessListAddressOutput

func (GetAccessListAddressOutput) ToGetAccessListAddressOutputWithContext

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

type GetAstraDatabaseArgs

type GetAstraDatabaseArgs struct {
	DatabaseId string `pulumi:"databaseId"`
}

A collection of arguments for invoking getAstraDatabase.

type GetAstraDatabaseOutputArgs

type GetAstraDatabaseOutputArgs struct {
	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 {
	AdditionalKeyspaces []string          `pulumi:"additionalKeyspaces"`
	CloudProvider       string            `pulumi:"cloudProvider"`
	CqlshUrl            string            `pulumi:"cqlshUrl"`
	DataEndpointUrl     string            `pulumi:"dataEndpointUrl"`
	DatabaseId          string            `pulumi:"databaseId"`
	Datacenters         map[string]string `pulumi:"datacenters"`
	GrafanaUrl          string            `pulumi:"grafanaUrl"`
	GraphqlUrl          string            `pulumi:"graphqlUrl"`
	// The provider-assigned unique ID for this managed 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            string   `pulumi:"status"`
	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-index/sdk/go/index"

)

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

func (GetAstraDatabaseResultOutput) CloudProvider

func (GetAstraDatabaseResultOutput) CqlshUrl

func (GetAstraDatabaseResultOutput) DataEndpointUrl

func (o GetAstraDatabaseResultOutput) DataEndpointUrl() pulumi.StringOutput

func (GetAstraDatabaseResultOutput) DatabaseId

func (GetAstraDatabaseResultOutput) Datacenters

func (GetAstraDatabaseResultOutput) ElementType

func (GetAstraDatabaseResultOutput) GrafanaUrl

func (GetAstraDatabaseResultOutput) GraphqlUrl

func (GetAstraDatabaseResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAstraDatabaseResultOutput) Keyspace

func (GetAstraDatabaseResultOutput) Name

func (GetAstraDatabaseResultOutput) NodeCount

func (GetAstraDatabaseResultOutput) OrganizationId

func (GetAstraDatabaseResultOutput) OwnerId

func (GetAstraDatabaseResultOutput) Regions

func (GetAstraDatabaseResultOutput) ReplicationFactor

func (o GetAstraDatabaseResultOutput) ReplicationFactor() pulumi.IntOutput

func (GetAstraDatabaseResultOutput) Status

func (GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutput

func (o GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutput() GetAstraDatabaseResultOutput

func (GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutputWithContext

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

func (GetAstraDatabaseResultOutput) TotalStorage

type GetAstraDatabasesResult

type GetAstraDatabasesResult struct {
	AdditionalKeyspaces []string          `pulumi:"additionalKeyspaces"`
	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"`
	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              string            `pulumi:"status"`
	TotalStorage        int               `pulumi:"totalStorage"`
}

type GetAstraDatabasesResultArgs

type GetAstraDatabasesResultArgs struct {
	AdditionalKeyspaces pulumi.StringArrayInput `pulumi:"additionalKeyspaces"`
	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"`
	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              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

func (GetAstraDatabasesResultOutput) CqlshUrl

func (GetAstraDatabasesResultOutput) DataEndpointUrl

func (GetAstraDatabasesResultOutput) Datacenters

func (GetAstraDatabasesResultOutput) ElementType

func (GetAstraDatabasesResultOutput) GrafanaUrl

func (GetAstraDatabasesResultOutput) GraphqlUrl

func (GetAstraDatabasesResultOutput) Id

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

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"`
	EndpointId  string `pulumi:"endpointId"`
	Status      string `pulumi:"status"`
}

type GetPrivateLinkEndpointsResultArgs

type GetPrivateLinkEndpointsResultArgs struct {
	CreateTime  pulumi.StringInput `pulumi:"createTime"`
	Description pulumi.StringInput `pulumi:"description"`
	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

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"`
	DatacenterId      string   `pulumi:"datacenterId"`
	Endpoints         []string `pulumi:"endpoints"`
	ServiceName       string   `pulumi:"serviceName"`
}

type GetPrivateLinksResultArgs

type GetPrivateLinksResultArgs struct {
	AllowedPrincipals pulumi.StringArrayInput `pulumi:"allowedPrincipals"`
	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

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 GetRolesArgs

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

A collection of arguments for invoking getRoles.

type GetRolesOutputArgs

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

A collection of arguments for invoking getRoles.

func (GetRolesOutputArgs) ElementType

func (GetRolesOutputArgs) ElementType() reflect.Type

type GetRolesResult

type GetRolesResult struct {
	Description string `pulumi:"description"`
	Effect      string `pulumi:"effect"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Policies  []string `pulumi:"policies"`
	Resources []string `pulumi:"resources"`
	RoleId    string   `pulumi:"roleId"`
	RoleName  string   `pulumi:"roleName"`
}

A collection of values returned by getRoles.

func GetRoles

func GetRoles(ctx *pulumi.Context, args *GetRolesArgs, opts ...pulumi.InvokeOption) (*GetRolesResult, 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-index/sdk/go/index"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := astra.GetRoles(ctx, &GetRolesArgs{
			RoleId: "role-id-here",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRolesResultOutput

type GetRolesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRoles.

func (GetRolesResultOutput) Description

func (o GetRolesResultOutput) Description() pulumi.StringOutput

func (GetRolesResultOutput) Effect

func (GetRolesResultOutput) ElementType

func (GetRolesResultOutput) ElementType() reflect.Type

func (GetRolesResultOutput) Id

The provider-assigned unique ID for this managed resource.

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 {
	DatabaseId string `pulumi:"databaseId"`
}

A collection of arguments for invoking getSecureConnectBundleUrl.

type GetSecureConnectBundleUrlOutputArgs

type GetSecureConnectBundleUrlOutputArgs struct {
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
}

A collection of arguments for invoking getSecureConnectBundleUrl.

func (GetSecureConnectBundleUrlOutputArgs) ElementType

type GetSecureConnectBundleUrlResult

type GetSecureConnectBundleUrlResult struct {
	DatabaseId string `pulumi:"databaseId"`
	// The provider-assigned unique ID for this managed resource.
	Id  string `pulumi:"id"`
	Url string `pulumi:"url"`
}

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.

## 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-index/sdk/go/index"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := astra.GetSecureConnectBundleUrl(ctx, &GetSecureConnectBundleUrlArgs{
			DatabaseId: "f9f4b1e0-4c05-451e-9bba-d631295a7f73",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSecureConnectBundleUrlResultOutput

type GetSecureConnectBundleUrlResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecureConnectBundleUrl.

func (GetSecureConnectBundleUrlResultOutput) DatabaseId

func (GetSecureConnectBundleUrlResultOutput) ElementType

func (GetSecureConnectBundleUrlResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutput

func (o GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutput() GetSecureConnectBundleUrlResultOutput

func (GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutputWithContext

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

func (GetSecureConnectBundleUrlResultOutput) Url

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-index/sdk/go/index"

)

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 {
	DatabaseId string `pulumi:"databaseId"`
}

A collection of arguments for invoking getAccessList.

type LookupAccessListOutputArgs

type LookupAccessListOutputArgs struct {
	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  []GetAccessListAddress `pulumi:"addresses"`
	DatabaseId string                 `pulumi:"databaseId"`
	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-index/sdk/go/index"

)

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

func (LookupAccessListResultOutput) DatabaseId

func (LookupAccessListResultOutput) ElementType

func (LookupAccessListResultOutput) Enabled

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 {
	CloudProvider *string `pulumi:"cloudProvider"`
	Status        *string `pulumi:"status"`
}

A collection of arguments for invoking getAstraDatabases.

type LookupAstraDatabasesOutputArgs

type LookupAstraDatabasesOutputArgs struct {
	CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"`
	Status        pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getAstraDatabases.

func (LookupAstraDatabasesOutputArgs) ElementType

type LookupAstraDatabasesResult

type LookupAstraDatabasesResult struct {
	CloudProvider *string `pulumi:"cloudProvider"`
	// The provider-assigned unique ID for this managed resource.
	Id      string                    `pulumi:"id"`
	Results []GetAstraDatabasesResult `pulumi:"results"`
	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

func (LookupAstraDatabasesResultOutput) ElementType

func (LookupAstraDatabasesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAstraDatabasesResultOutput) Results

func (LookupAstraDatabasesResultOutput) Status

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"`
	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-index/sdk/go/index"

)

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 {
	DatabaseId string `pulumi:"databaseId"`
	Name       string `pulumi:"name"`
}

A collection of arguments for invoking getKeyspace.

type LookupKeyspaceOutputArgs

type LookupKeyspaceOutputArgs struct {
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
	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 {
	DatabaseId string `pulumi:"databaseId"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	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-index/sdk/go/index"

)

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

func (LookupKeyspaceResultOutput) ElementType

func (LookupKeyspaceResultOutput) ElementType() reflect.Type

func (LookupKeyspaceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupKeyspaceResultOutput) 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 {
	DatabaseId string `pulumi:"databaseId"`
}

A collection of arguments for invoking getKeyspaces.

type LookupKeyspacesOutputArgs

type LookupKeyspacesOutputArgs struct {
	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 {
	DatabaseId string `pulumi:"databaseId"`
	// The provider-assigned unique ID for this managed resource.
	Id      string               `pulumi:"id"`
	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-index/sdk/go/index"

)

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

func (LookupKeyspacesResultOutput) ElementType

func (LookupKeyspacesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupKeyspacesResultOutput) Results

func (LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutput

func (o LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutput() LookupKeyspacesResultOutput

func (LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutputWithContext

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

type LookupPrivateLinkEndpointsArgs

type LookupPrivateLinkEndpointsArgs struct {
	DatabaseId   string `pulumi:"databaseId"`
	DatacenterId string `pulumi:"datacenterId"`
	EndpointId   string `pulumi:"endpointId"`
}

A collection of arguments for invoking getPrivateLinkEndpoints.

type LookupPrivateLinkEndpointsOutputArgs

type LookupPrivateLinkEndpointsOutputArgs struct {
	DatabaseId   pulumi.StringInput `pulumi:"databaseId"`
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	EndpointId   pulumi.StringInput `pulumi:"endpointId"`
}

A collection of arguments for invoking getPrivateLinkEndpoints.

func (LookupPrivateLinkEndpointsOutputArgs) ElementType

type LookupPrivateLinkEndpointsResult

type LookupPrivateLinkEndpointsResult struct {
	DatabaseId   string `pulumi:"databaseId"`
	DatacenterId string `pulumi:"datacenterId"`
	EndpointId   string `pulumi:"endpointId"`
	// The provider-assigned unique ID for this managed resource.
	Id      string                          `pulumi:"id"`
	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-index/sdk/go/index"

)

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

func (LookupPrivateLinkEndpointsResultOutput) DatacenterId

func (LookupPrivateLinkEndpointsResultOutput) ElementType

func (LookupPrivateLinkEndpointsResultOutput) EndpointId

func (LookupPrivateLinkEndpointsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPrivateLinkEndpointsResultOutput) Results

func (LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutput

func (o LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutput() LookupPrivateLinkEndpointsResultOutput

func (LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutputWithContext

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

type LookupPrivateLinksArgs

type LookupPrivateLinksArgs struct {
	DatabaseId   string `pulumi:"databaseId"`
	DatacenterId string `pulumi:"datacenterId"`
}

A collection of arguments for invoking getPrivateLinks.

type LookupPrivateLinksOutputArgs

type LookupPrivateLinksOutputArgs struct {
	DatabaseId   pulumi.StringInput `pulumi:"databaseId"`
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
}

A collection of arguments for invoking getPrivateLinks.

func (LookupPrivateLinksOutputArgs) ElementType

type LookupPrivateLinksResult

type LookupPrivateLinksResult struct {
	DatabaseId   string `pulumi:"databaseId"`
	DatacenterId string `pulumi:"datacenterId"`
	// The provider-assigned unique ID for this managed resource.
	Id      string                  `pulumi:"id"`
	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-index/sdk/go/index"

)

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

func (LookupPrivateLinksResultOutput) DatacenterId

func (LookupPrivateLinksResultOutput) ElementType

func (LookupPrivateLinksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPrivateLinksResultOutput) Results

func (LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutput

func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutput() LookupPrivateLinksResultOutput

func (LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutputWithContext

func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutputWithContext(ctx context.Context) LookupPrivateLinksResultOutput
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-index/sdk/go/index"

)

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 endpoint_id 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.

## 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 endpoint_id 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 endpoint_id 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:<org UUID>", 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 (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-index/sdk/go/index"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := astra.NewRole(ctx, "example", &astra.RoleArgs{
			Description: pulumi.String("test role"),
			Effect:      pulumi.String("allow"),
			Policies: pulumi.StringArray{
				pulumi.String("db-all-keyspace-create"),
			},
			Resources: pulumi.StringArray{
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73"),
			},
			RoleName: pulumi.String("puppies"),
		})
		if err != nil {
			return err
		}
		_, err = astra.NewRole(ctx, "example2", &astra.RoleArgs{
			Description: pulumi.String("complex role"),
			Effect:      pulumi.String("allow"),
			Policies: pulumi.StringArray{
				pulumi.String("accesslist-read"),
				pulumi.String("db-all-keyspace-describe"),
				pulumi.String("db-keyspace-describe"),
				pulumi.String("db-table-select"),
				pulumi.String("db-table-describe"),
				pulumi.String("db-graphql"),
				pulumi.String("db-rest"),
				pulumi.String("db-cql"),
			},
			Resources: pulumi.StringArray{
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:5b70892f-e01a-4595-98e6-19ecc9985d50"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:5b70892f-e01a-4595-98e6-19ecc9985d50:keyspace:system_schema:table:*"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:5b70892f-e01a-4595-98e6-19ecc9985d50:keyspace:system:table:*"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:5b70892f-e01a-4595-98e6-19ecc9985d50:keyspace:system_virtual_schema:table:*"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:5b70892f-e01a-4595-98e6-19ecc9985d50:keyspace:*"),
				pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:5b70892f-e01a-4595-98e6-19ecc9985d50:keyspace:*:table:*"),
			},
			RoleName: pulumi.String("puppies"),
		})
		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:<org UUID>", 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:<org UUID>", 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:<org UUID>", 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 StreamingTenant

type StreamingTenant struct {
	pulumi.CustomResourceState

	// Cloud provider
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// cloud region
	Region pulumi.StringOutput `pulumi:"region"`
	// 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"`
}

`StreamingTenant` creates an Astra Streaming tenant.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-index/sdk/go/index"

)

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
	// 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) CloudProvider

func (o StreamingTenantOutput) CloudProvider() pulumi.StringOutput

Cloud provider

func (StreamingTenantOutput) ElementType

func (StreamingTenantOutput) ElementType() reflect.Type

func (StreamingTenantOutput) Region

cloud region

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.

type StreamingTenantState

type StreamingTenantState struct {
	// Cloud provider
	CloudProvider pulumi.StringPtrInput
	// cloud region
	Region pulumi.StringPtrInput
	// Streaming tenant name.
	TenantName pulumi.StringPtrInput
	// Streaming tenant topic.
	Topic pulumi.StringPtrInput
	// User email for tenant.
	UserEmail pulumi.StringPtrInput
}

func (StreamingTenantState) ElementType

func (StreamingTenantState) 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-index/sdk/go/index"

)

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