dbaas

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetInMemoryDBReplicaSetConnection

type GetInMemoryDBReplicaSetConnection struct {
	// [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
	Cidr string `pulumi:"cidr"`
	// [string] The datacenter to connect your instance to.
	DatacenterId string `pulumi:"datacenterId"`
	// [string] The numeric LAN ID to connect your instance to.
	LanId string `pulumi:"lanId"`
}

type GetInMemoryDBReplicaSetConnectionArgs

type GetInMemoryDBReplicaSetConnectionArgs struct {
	// [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
	Cidr pulumi.StringInput `pulumi:"cidr"`
	// [string] The datacenter to connect your instance to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// [string] The numeric LAN ID to connect your instance to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (GetInMemoryDBReplicaSetConnectionArgs) ElementType

func (GetInMemoryDBReplicaSetConnectionArgs) ToGetInMemoryDBReplicaSetConnectionOutput

func (i GetInMemoryDBReplicaSetConnectionArgs) ToGetInMemoryDBReplicaSetConnectionOutput() GetInMemoryDBReplicaSetConnectionOutput

func (GetInMemoryDBReplicaSetConnectionArgs) ToGetInMemoryDBReplicaSetConnectionOutputWithContext

func (i GetInMemoryDBReplicaSetConnectionArgs) ToGetInMemoryDBReplicaSetConnectionOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetConnectionOutput

type GetInMemoryDBReplicaSetConnectionArray

type GetInMemoryDBReplicaSetConnectionArray []GetInMemoryDBReplicaSetConnectionInput

func (GetInMemoryDBReplicaSetConnectionArray) ElementType

func (GetInMemoryDBReplicaSetConnectionArray) ToGetInMemoryDBReplicaSetConnectionArrayOutput

func (i GetInMemoryDBReplicaSetConnectionArray) ToGetInMemoryDBReplicaSetConnectionArrayOutput() GetInMemoryDBReplicaSetConnectionArrayOutput

func (GetInMemoryDBReplicaSetConnectionArray) ToGetInMemoryDBReplicaSetConnectionArrayOutputWithContext

func (i GetInMemoryDBReplicaSetConnectionArray) ToGetInMemoryDBReplicaSetConnectionArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetConnectionArrayOutput

type GetInMemoryDBReplicaSetConnectionArrayInput

type GetInMemoryDBReplicaSetConnectionArrayInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetConnectionArrayOutput() GetInMemoryDBReplicaSetConnectionArrayOutput
	ToGetInMemoryDBReplicaSetConnectionArrayOutputWithContext(context.Context) GetInMemoryDBReplicaSetConnectionArrayOutput
}

GetInMemoryDBReplicaSetConnectionArrayInput is an input type that accepts GetInMemoryDBReplicaSetConnectionArray and GetInMemoryDBReplicaSetConnectionArrayOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetConnectionArrayInput` via:

GetInMemoryDBReplicaSetConnectionArray{ GetInMemoryDBReplicaSetConnectionArgs{...} }

type GetInMemoryDBReplicaSetConnectionArrayOutput

type GetInMemoryDBReplicaSetConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetConnectionArrayOutput) ElementType

func (GetInMemoryDBReplicaSetConnectionArrayOutput) Index

func (GetInMemoryDBReplicaSetConnectionArrayOutput) ToGetInMemoryDBReplicaSetConnectionArrayOutput

func (o GetInMemoryDBReplicaSetConnectionArrayOutput) ToGetInMemoryDBReplicaSetConnectionArrayOutput() GetInMemoryDBReplicaSetConnectionArrayOutput

func (GetInMemoryDBReplicaSetConnectionArrayOutput) ToGetInMemoryDBReplicaSetConnectionArrayOutputWithContext

func (o GetInMemoryDBReplicaSetConnectionArrayOutput) ToGetInMemoryDBReplicaSetConnectionArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetConnectionArrayOutput

type GetInMemoryDBReplicaSetConnectionInput

type GetInMemoryDBReplicaSetConnectionInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetConnectionOutput() GetInMemoryDBReplicaSetConnectionOutput
	ToGetInMemoryDBReplicaSetConnectionOutputWithContext(context.Context) GetInMemoryDBReplicaSetConnectionOutput
}

GetInMemoryDBReplicaSetConnectionInput is an input type that accepts GetInMemoryDBReplicaSetConnectionArgs and GetInMemoryDBReplicaSetConnectionOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetConnectionInput` via:

GetInMemoryDBReplicaSetConnectionArgs{...}

type GetInMemoryDBReplicaSetConnectionOutput

type GetInMemoryDBReplicaSetConnectionOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetConnectionOutput) Cidr

[string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.

func (GetInMemoryDBReplicaSetConnectionOutput) DatacenterId

[string] The datacenter to connect your instance to.

func (GetInMemoryDBReplicaSetConnectionOutput) ElementType

func (GetInMemoryDBReplicaSetConnectionOutput) LanId

[string] The numeric LAN ID to connect your instance to.

func (GetInMemoryDBReplicaSetConnectionOutput) ToGetInMemoryDBReplicaSetConnectionOutput

func (o GetInMemoryDBReplicaSetConnectionOutput) ToGetInMemoryDBReplicaSetConnectionOutput() GetInMemoryDBReplicaSetConnectionOutput

func (GetInMemoryDBReplicaSetConnectionOutput) ToGetInMemoryDBReplicaSetConnectionOutputWithContext

func (o GetInMemoryDBReplicaSetConnectionOutput) ToGetInMemoryDBReplicaSetConnectionOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetConnectionOutput

type GetInMemoryDBReplicaSetCredential

type GetInMemoryDBReplicaSetCredential struct {
	// [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
	Username string `pulumi:"username"`
}

type GetInMemoryDBReplicaSetCredentialArgs

type GetInMemoryDBReplicaSetCredentialArgs struct {
	// [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
	Username pulumi.StringInput `pulumi:"username"`
}

func (GetInMemoryDBReplicaSetCredentialArgs) ElementType

func (GetInMemoryDBReplicaSetCredentialArgs) ToGetInMemoryDBReplicaSetCredentialOutput

func (i GetInMemoryDBReplicaSetCredentialArgs) ToGetInMemoryDBReplicaSetCredentialOutput() GetInMemoryDBReplicaSetCredentialOutput

func (GetInMemoryDBReplicaSetCredentialArgs) ToGetInMemoryDBReplicaSetCredentialOutputWithContext

func (i GetInMemoryDBReplicaSetCredentialArgs) ToGetInMemoryDBReplicaSetCredentialOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetCredentialOutput

type GetInMemoryDBReplicaSetCredentialArray

type GetInMemoryDBReplicaSetCredentialArray []GetInMemoryDBReplicaSetCredentialInput

func (GetInMemoryDBReplicaSetCredentialArray) ElementType

func (GetInMemoryDBReplicaSetCredentialArray) ToGetInMemoryDBReplicaSetCredentialArrayOutput

func (i GetInMemoryDBReplicaSetCredentialArray) ToGetInMemoryDBReplicaSetCredentialArrayOutput() GetInMemoryDBReplicaSetCredentialArrayOutput

func (GetInMemoryDBReplicaSetCredentialArray) ToGetInMemoryDBReplicaSetCredentialArrayOutputWithContext

func (i GetInMemoryDBReplicaSetCredentialArray) ToGetInMemoryDBReplicaSetCredentialArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetCredentialArrayOutput

type GetInMemoryDBReplicaSetCredentialArrayInput

type GetInMemoryDBReplicaSetCredentialArrayInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetCredentialArrayOutput() GetInMemoryDBReplicaSetCredentialArrayOutput
	ToGetInMemoryDBReplicaSetCredentialArrayOutputWithContext(context.Context) GetInMemoryDBReplicaSetCredentialArrayOutput
}

GetInMemoryDBReplicaSetCredentialArrayInput is an input type that accepts GetInMemoryDBReplicaSetCredentialArray and GetInMemoryDBReplicaSetCredentialArrayOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetCredentialArrayInput` via:

GetInMemoryDBReplicaSetCredentialArray{ GetInMemoryDBReplicaSetCredentialArgs{...} }

type GetInMemoryDBReplicaSetCredentialArrayOutput

type GetInMemoryDBReplicaSetCredentialArrayOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetCredentialArrayOutput) ElementType

func (GetInMemoryDBReplicaSetCredentialArrayOutput) Index

func (GetInMemoryDBReplicaSetCredentialArrayOutput) ToGetInMemoryDBReplicaSetCredentialArrayOutput

func (o GetInMemoryDBReplicaSetCredentialArrayOutput) ToGetInMemoryDBReplicaSetCredentialArrayOutput() GetInMemoryDBReplicaSetCredentialArrayOutput

func (GetInMemoryDBReplicaSetCredentialArrayOutput) ToGetInMemoryDBReplicaSetCredentialArrayOutputWithContext

func (o GetInMemoryDBReplicaSetCredentialArrayOutput) ToGetInMemoryDBReplicaSetCredentialArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetCredentialArrayOutput

type GetInMemoryDBReplicaSetCredentialInput

type GetInMemoryDBReplicaSetCredentialInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetCredentialOutput() GetInMemoryDBReplicaSetCredentialOutput
	ToGetInMemoryDBReplicaSetCredentialOutputWithContext(context.Context) GetInMemoryDBReplicaSetCredentialOutput
}

GetInMemoryDBReplicaSetCredentialInput is an input type that accepts GetInMemoryDBReplicaSetCredentialArgs and GetInMemoryDBReplicaSetCredentialOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetCredentialInput` via:

GetInMemoryDBReplicaSetCredentialArgs{...}

type GetInMemoryDBReplicaSetCredentialOutput

type GetInMemoryDBReplicaSetCredentialOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetCredentialOutput) ElementType

func (GetInMemoryDBReplicaSetCredentialOutput) ToGetInMemoryDBReplicaSetCredentialOutput

func (o GetInMemoryDBReplicaSetCredentialOutput) ToGetInMemoryDBReplicaSetCredentialOutput() GetInMemoryDBReplicaSetCredentialOutput

func (GetInMemoryDBReplicaSetCredentialOutput) ToGetInMemoryDBReplicaSetCredentialOutputWithContext

func (o GetInMemoryDBReplicaSetCredentialOutput) ToGetInMemoryDBReplicaSetCredentialOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetCredentialOutput

func (GetInMemoryDBReplicaSetCredentialOutput) Username

[string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').

type GetInMemoryDBReplicaSetMaintenanceWindow

type GetInMemoryDBReplicaSetMaintenanceWindow struct {
	// [string] The name of the week day.
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time string `pulumi:"time"`
}

type GetInMemoryDBReplicaSetMaintenanceWindowArgs

type GetInMemoryDBReplicaSetMaintenanceWindowArgs struct {
	// [string] The name of the week day.
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time pulumi.StringInput `pulumi:"time"`
}

func (GetInMemoryDBReplicaSetMaintenanceWindowArgs) ElementType

func (GetInMemoryDBReplicaSetMaintenanceWindowArgs) ToGetInMemoryDBReplicaSetMaintenanceWindowOutput

func (i GetInMemoryDBReplicaSetMaintenanceWindowArgs) ToGetInMemoryDBReplicaSetMaintenanceWindowOutput() GetInMemoryDBReplicaSetMaintenanceWindowOutput

func (GetInMemoryDBReplicaSetMaintenanceWindowArgs) ToGetInMemoryDBReplicaSetMaintenanceWindowOutputWithContext

func (i GetInMemoryDBReplicaSetMaintenanceWindowArgs) ToGetInMemoryDBReplicaSetMaintenanceWindowOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetMaintenanceWindowOutput

type GetInMemoryDBReplicaSetMaintenanceWindowArray

type GetInMemoryDBReplicaSetMaintenanceWindowArray []GetInMemoryDBReplicaSetMaintenanceWindowInput

func (GetInMemoryDBReplicaSetMaintenanceWindowArray) ElementType

func (GetInMemoryDBReplicaSetMaintenanceWindowArray) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutput

func (i GetInMemoryDBReplicaSetMaintenanceWindowArray) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutput() GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput

func (GetInMemoryDBReplicaSetMaintenanceWindowArray) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutputWithContext

func (i GetInMemoryDBReplicaSetMaintenanceWindowArray) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput

type GetInMemoryDBReplicaSetMaintenanceWindowArrayInput

type GetInMemoryDBReplicaSetMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutput() GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput
	ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutputWithContext(context.Context) GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput
}

GetInMemoryDBReplicaSetMaintenanceWindowArrayInput is an input type that accepts GetInMemoryDBReplicaSetMaintenanceWindowArray and GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetMaintenanceWindowArrayInput` via:

GetInMemoryDBReplicaSetMaintenanceWindowArray{ GetInMemoryDBReplicaSetMaintenanceWindowArgs{...} }

type GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput

type GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput) ElementType

func (GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput) Index

func (GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutput

func (o GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutput() GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput

func (GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutputWithContext

func (o GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetMaintenanceWindowArrayOutput

type GetInMemoryDBReplicaSetMaintenanceWindowInput

type GetInMemoryDBReplicaSetMaintenanceWindowInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetMaintenanceWindowOutput() GetInMemoryDBReplicaSetMaintenanceWindowOutput
	ToGetInMemoryDBReplicaSetMaintenanceWindowOutputWithContext(context.Context) GetInMemoryDBReplicaSetMaintenanceWindowOutput
}

GetInMemoryDBReplicaSetMaintenanceWindowInput is an input type that accepts GetInMemoryDBReplicaSetMaintenanceWindowArgs and GetInMemoryDBReplicaSetMaintenanceWindowOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetMaintenanceWindowInput` via:

GetInMemoryDBReplicaSetMaintenanceWindowArgs{...}

type GetInMemoryDBReplicaSetMaintenanceWindowOutput

type GetInMemoryDBReplicaSetMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetMaintenanceWindowOutput) DayOfTheWeek

[string] The name of the week day.

func (GetInMemoryDBReplicaSetMaintenanceWindowOutput) ElementType

func (GetInMemoryDBReplicaSetMaintenanceWindowOutput) Time

[string] Start of the maintenance window in UTC time.

func (GetInMemoryDBReplicaSetMaintenanceWindowOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowOutput

func (o GetInMemoryDBReplicaSetMaintenanceWindowOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowOutput() GetInMemoryDBReplicaSetMaintenanceWindowOutput

func (GetInMemoryDBReplicaSetMaintenanceWindowOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowOutputWithContext

func (o GetInMemoryDBReplicaSetMaintenanceWindowOutput) ToGetInMemoryDBReplicaSetMaintenanceWindowOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetMaintenanceWindowOutput

type GetInMemoryDBReplicaSetResource

type GetInMemoryDBReplicaSetResource struct {
	// [int] The number of CPU cores per instance.
	Cores int `pulumi:"cores"`
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram int `pulumi:"ram"`
	// [int] The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable.
	Storage int `pulumi:"storage"`
}

type GetInMemoryDBReplicaSetResourceArgs

type GetInMemoryDBReplicaSetResourceArgs struct {
	// [int] The number of CPU cores per instance.
	Cores pulumi.IntInput `pulumi:"cores"`
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram pulumi.IntInput `pulumi:"ram"`
	// [int] The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable.
	Storage pulumi.IntInput `pulumi:"storage"`
}

func (GetInMemoryDBReplicaSetResourceArgs) ElementType

func (GetInMemoryDBReplicaSetResourceArgs) ToGetInMemoryDBReplicaSetResourceOutput

func (i GetInMemoryDBReplicaSetResourceArgs) ToGetInMemoryDBReplicaSetResourceOutput() GetInMemoryDBReplicaSetResourceOutput

func (GetInMemoryDBReplicaSetResourceArgs) ToGetInMemoryDBReplicaSetResourceOutputWithContext

func (i GetInMemoryDBReplicaSetResourceArgs) ToGetInMemoryDBReplicaSetResourceOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetResourceOutput

type GetInMemoryDBReplicaSetResourceArray

type GetInMemoryDBReplicaSetResourceArray []GetInMemoryDBReplicaSetResourceInput

func (GetInMemoryDBReplicaSetResourceArray) ElementType

func (GetInMemoryDBReplicaSetResourceArray) ToGetInMemoryDBReplicaSetResourceArrayOutput

func (i GetInMemoryDBReplicaSetResourceArray) ToGetInMemoryDBReplicaSetResourceArrayOutput() GetInMemoryDBReplicaSetResourceArrayOutput

func (GetInMemoryDBReplicaSetResourceArray) ToGetInMemoryDBReplicaSetResourceArrayOutputWithContext

func (i GetInMemoryDBReplicaSetResourceArray) ToGetInMemoryDBReplicaSetResourceArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetResourceArrayOutput

type GetInMemoryDBReplicaSetResourceArrayInput

type GetInMemoryDBReplicaSetResourceArrayInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetResourceArrayOutput() GetInMemoryDBReplicaSetResourceArrayOutput
	ToGetInMemoryDBReplicaSetResourceArrayOutputWithContext(context.Context) GetInMemoryDBReplicaSetResourceArrayOutput
}

GetInMemoryDBReplicaSetResourceArrayInput is an input type that accepts GetInMemoryDBReplicaSetResourceArray and GetInMemoryDBReplicaSetResourceArrayOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetResourceArrayInput` via:

GetInMemoryDBReplicaSetResourceArray{ GetInMemoryDBReplicaSetResourceArgs{...} }

type GetInMemoryDBReplicaSetResourceArrayOutput

type GetInMemoryDBReplicaSetResourceArrayOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetResourceArrayOutput) ElementType

func (GetInMemoryDBReplicaSetResourceArrayOutput) Index

func (GetInMemoryDBReplicaSetResourceArrayOutput) ToGetInMemoryDBReplicaSetResourceArrayOutput

func (o GetInMemoryDBReplicaSetResourceArrayOutput) ToGetInMemoryDBReplicaSetResourceArrayOutput() GetInMemoryDBReplicaSetResourceArrayOutput

func (GetInMemoryDBReplicaSetResourceArrayOutput) ToGetInMemoryDBReplicaSetResourceArrayOutputWithContext

func (o GetInMemoryDBReplicaSetResourceArrayOutput) ToGetInMemoryDBReplicaSetResourceArrayOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetResourceArrayOutput

type GetInMemoryDBReplicaSetResourceInput

type GetInMemoryDBReplicaSetResourceInput interface {
	pulumi.Input

	ToGetInMemoryDBReplicaSetResourceOutput() GetInMemoryDBReplicaSetResourceOutput
	ToGetInMemoryDBReplicaSetResourceOutputWithContext(context.Context) GetInMemoryDBReplicaSetResourceOutput
}

GetInMemoryDBReplicaSetResourceInput is an input type that accepts GetInMemoryDBReplicaSetResourceArgs and GetInMemoryDBReplicaSetResourceOutput values. You can construct a concrete instance of `GetInMemoryDBReplicaSetResourceInput` via:

GetInMemoryDBReplicaSetResourceArgs{...}

type GetInMemoryDBReplicaSetResourceOutput

type GetInMemoryDBReplicaSetResourceOutput struct{ *pulumi.OutputState }

func (GetInMemoryDBReplicaSetResourceOutput) Cores

[int] The number of CPU cores per instance.

func (GetInMemoryDBReplicaSetResourceOutput) ElementType

func (GetInMemoryDBReplicaSetResourceOutput) Ram

[int] The amount of memory per instance in gigabytes (GB).

func (GetInMemoryDBReplicaSetResourceOutput) Storage

[int] The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable.

func (GetInMemoryDBReplicaSetResourceOutput) ToGetInMemoryDBReplicaSetResourceOutput

func (o GetInMemoryDBReplicaSetResourceOutput) ToGetInMemoryDBReplicaSetResourceOutput() GetInMemoryDBReplicaSetResourceOutput

func (GetInMemoryDBReplicaSetResourceOutput) ToGetInMemoryDBReplicaSetResourceOutputWithContext

func (o GetInMemoryDBReplicaSetResourceOutput) ToGetInMemoryDBReplicaSetResourceOutputWithContext(ctx context.Context) GetInMemoryDBReplicaSetResourceOutput

type GetInmemorydbSnapshotArgs

type GetInmemorydbSnapshotArgs struct {
	// The ID of the InMemoryDB Snapshot.
	Id string `pulumi:"id"`
	// The location of the InMemoryDB Snapshot.
	Location string `pulumi:"location"`
}

A collection of arguments for invoking getInmemorydbSnapshot.

type GetInmemorydbSnapshotMetadata

type GetInmemorydbSnapshotMetadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate string `pulumi:"createdDate"`
	// The ID of the datacenter in which the snapshot is located.
	DatacenterId string `pulumi:"datacenterId"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate string `pulumi:"lastModifiedDate"`
	// The ID of the replica set from which the snapshot was created.
	ReplicaSetId string `pulumi:"replicaSetId"`
	// The time at which the snapshot was taken.
	SnapshotTime string `pulumi:"snapshotTime"`
}

type GetInmemorydbSnapshotMetadataArgs

type GetInmemorydbSnapshotMetadataArgs struct {
	// The ISO 8601 creation timestamp.
	CreatedDate pulumi.StringInput `pulumi:"createdDate"`
	// The ID of the datacenter in which the snapshot is located.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate pulumi.StringInput `pulumi:"lastModifiedDate"`
	// The ID of the replica set from which the snapshot was created.
	ReplicaSetId pulumi.StringInput `pulumi:"replicaSetId"`
	// The time at which the snapshot was taken.
	SnapshotTime pulumi.StringInput `pulumi:"snapshotTime"`
}

func (GetInmemorydbSnapshotMetadataArgs) ElementType

func (GetInmemorydbSnapshotMetadataArgs) ToGetInmemorydbSnapshotMetadataOutput

func (i GetInmemorydbSnapshotMetadataArgs) ToGetInmemorydbSnapshotMetadataOutput() GetInmemorydbSnapshotMetadataOutput

func (GetInmemorydbSnapshotMetadataArgs) ToGetInmemorydbSnapshotMetadataOutputWithContext

func (i GetInmemorydbSnapshotMetadataArgs) ToGetInmemorydbSnapshotMetadataOutputWithContext(ctx context.Context) GetInmemorydbSnapshotMetadataOutput

type GetInmemorydbSnapshotMetadataArray

type GetInmemorydbSnapshotMetadataArray []GetInmemorydbSnapshotMetadataInput

func (GetInmemorydbSnapshotMetadataArray) ElementType

func (GetInmemorydbSnapshotMetadataArray) ToGetInmemorydbSnapshotMetadataArrayOutput

func (i GetInmemorydbSnapshotMetadataArray) ToGetInmemorydbSnapshotMetadataArrayOutput() GetInmemorydbSnapshotMetadataArrayOutput

func (GetInmemorydbSnapshotMetadataArray) ToGetInmemorydbSnapshotMetadataArrayOutputWithContext

func (i GetInmemorydbSnapshotMetadataArray) ToGetInmemorydbSnapshotMetadataArrayOutputWithContext(ctx context.Context) GetInmemorydbSnapshotMetadataArrayOutput

type GetInmemorydbSnapshotMetadataArrayInput

type GetInmemorydbSnapshotMetadataArrayInput interface {
	pulumi.Input

	ToGetInmemorydbSnapshotMetadataArrayOutput() GetInmemorydbSnapshotMetadataArrayOutput
	ToGetInmemorydbSnapshotMetadataArrayOutputWithContext(context.Context) GetInmemorydbSnapshotMetadataArrayOutput
}

GetInmemorydbSnapshotMetadataArrayInput is an input type that accepts GetInmemorydbSnapshotMetadataArray and GetInmemorydbSnapshotMetadataArrayOutput values. You can construct a concrete instance of `GetInmemorydbSnapshotMetadataArrayInput` via:

GetInmemorydbSnapshotMetadataArray{ GetInmemorydbSnapshotMetadataArgs{...} }

type GetInmemorydbSnapshotMetadataArrayOutput

type GetInmemorydbSnapshotMetadataArrayOutput struct{ *pulumi.OutputState }

func (GetInmemorydbSnapshotMetadataArrayOutput) ElementType

func (GetInmemorydbSnapshotMetadataArrayOutput) Index

func (GetInmemorydbSnapshotMetadataArrayOutput) ToGetInmemorydbSnapshotMetadataArrayOutput

func (o GetInmemorydbSnapshotMetadataArrayOutput) ToGetInmemorydbSnapshotMetadataArrayOutput() GetInmemorydbSnapshotMetadataArrayOutput

func (GetInmemorydbSnapshotMetadataArrayOutput) ToGetInmemorydbSnapshotMetadataArrayOutputWithContext

func (o GetInmemorydbSnapshotMetadataArrayOutput) ToGetInmemorydbSnapshotMetadataArrayOutputWithContext(ctx context.Context) GetInmemorydbSnapshotMetadataArrayOutput

type GetInmemorydbSnapshotMetadataInput

type GetInmemorydbSnapshotMetadataInput interface {
	pulumi.Input

	ToGetInmemorydbSnapshotMetadataOutput() GetInmemorydbSnapshotMetadataOutput
	ToGetInmemorydbSnapshotMetadataOutputWithContext(context.Context) GetInmemorydbSnapshotMetadataOutput
}

GetInmemorydbSnapshotMetadataInput is an input type that accepts GetInmemorydbSnapshotMetadataArgs and GetInmemorydbSnapshotMetadataOutput values. You can construct a concrete instance of `GetInmemorydbSnapshotMetadataInput` via:

GetInmemorydbSnapshotMetadataArgs{...}

type GetInmemorydbSnapshotMetadataOutput

type GetInmemorydbSnapshotMetadataOutput struct{ *pulumi.OutputState }

func (GetInmemorydbSnapshotMetadataOutput) CreatedDate

The ISO 8601 creation timestamp.

func (GetInmemorydbSnapshotMetadataOutput) DatacenterId

The ID of the datacenter in which the snapshot is located.

func (GetInmemorydbSnapshotMetadataOutput) ElementType

func (GetInmemorydbSnapshotMetadataOutput) LastModifiedDate

The ISO 8601 modified timestamp.

func (GetInmemorydbSnapshotMetadataOutput) ReplicaSetId

The ID of the replica set from which the snapshot was created.

func (GetInmemorydbSnapshotMetadataOutput) SnapshotTime

The time at which the snapshot was taken.

func (GetInmemorydbSnapshotMetadataOutput) ToGetInmemorydbSnapshotMetadataOutput

func (o GetInmemorydbSnapshotMetadataOutput) ToGetInmemorydbSnapshotMetadataOutput() GetInmemorydbSnapshotMetadataOutput

func (GetInmemorydbSnapshotMetadataOutput) ToGetInmemorydbSnapshotMetadataOutputWithContext

func (o GetInmemorydbSnapshotMetadataOutput) ToGetInmemorydbSnapshotMetadataOutputWithContext(ctx context.Context) GetInmemorydbSnapshotMetadataOutput

type GetInmemorydbSnapshotOutputArgs

type GetInmemorydbSnapshotOutputArgs struct {
	// The ID of the InMemoryDB Snapshot.
	Id pulumi.StringInput `pulumi:"id"`
	// The location of the InMemoryDB Snapshot.
	Location pulumi.StringInput `pulumi:"location"`
}

A collection of arguments for invoking getInmemorydbSnapshot.

func (GetInmemorydbSnapshotOutputArgs) ElementType

type GetInmemorydbSnapshotResult

type GetInmemorydbSnapshotResult struct {
	Id       string `pulumi:"id"`
	Location string `pulumi:"location"`
	// Metadata of the snapshot.
	Metadatas []GetInmemorydbSnapshotMetadata `pulumi:"metadatas"`
}

A collection of values returned by getInmemorydbSnapshot.

func GetInmemorydbSnapshot

func GetInmemorydbSnapshot(ctx *pulumi.Context, args *GetInmemorydbSnapshotArgs, opts ...pulumi.InvokeOption) (*GetInmemorydbSnapshotResult, error)

The `dbaas.getInmemorydbSnapshot` data source can be used to retrieve information about an existing InMemoryDB Snapshot.

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetInmemorydbSnapshot(ctx, &dbaas.GetInmemorydbSnapshotArgs{
			Id:       "snapshot-id",
			Location: "de/txl",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInmemorydbSnapshotResultOutput

type GetInmemorydbSnapshotResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInmemorydbSnapshot.

func (GetInmemorydbSnapshotResultOutput) ElementType

func (GetInmemorydbSnapshotResultOutput) Id

func (GetInmemorydbSnapshotResultOutput) Location

func (GetInmemorydbSnapshotResultOutput) Metadatas

Metadata of the snapshot.

func (GetInmemorydbSnapshotResultOutput) ToGetInmemorydbSnapshotResultOutput

func (o GetInmemorydbSnapshotResultOutput) ToGetInmemorydbSnapshotResultOutput() GetInmemorydbSnapshotResultOutput

func (GetInmemorydbSnapshotResultOutput) ToGetInmemorydbSnapshotResultOutputWithContext

func (o GetInmemorydbSnapshotResultOutput) ToGetInmemorydbSnapshotResultOutputWithContext(ctx context.Context) GetInmemorydbSnapshotResultOutput

type GetMariaDBBackupsArgs

type GetMariaDBBackupsArgs struct {
	// [string] The unique ID of the backup.
	BackupId *string `pulumi:"backupId"`
	// [string] The unique ID of the cluster.
	ClusterId *string `pulumi:"clusterId"`
	// [string] The location of the cluster. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
	//
	// ⚠️ **Note:** Either `clusterId` or `backupId` must be used, but not both at the same time.
	//
	// > **⚠ WARNING:** `Location` attribute will become required in the future.
	Location *string `pulumi:"location"`
}

A collection of arguments for invoking getMariaDBBackups.

type GetMariaDBBackupsBackup

type GetMariaDBBackupsBackup struct {
	// The list of backups for the specified cluster
	BaseBackups []GetMariaDBBackupsBackupBaseBackup `pulumi:"baseBackups"`
	// [string] The unique ID of the cluster.
	ClusterId string `pulumi:"clusterId"`
	// The oldest available timestamp to which you can restore.
	EarliestRecoveryTargetTime string `pulumi:"earliestRecoveryTargetTime"`
	// The size of the backup in Mebibytes (MiB). This is the size of the binary backup file that was stored
	Size int `pulumi:"size"`
}

type GetMariaDBBackupsBackupArgs

type GetMariaDBBackupsBackupArgs struct {
	// The list of backups for the specified cluster
	BaseBackups GetMariaDBBackupsBackupBaseBackupArrayInput `pulumi:"baseBackups"`
	// [string] The unique ID of the cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The oldest available timestamp to which you can restore.
	EarliestRecoveryTargetTime pulumi.StringInput `pulumi:"earliestRecoveryTargetTime"`
	// The size of the backup in Mebibytes (MiB). This is the size of the binary backup file that was stored
	Size pulumi.IntInput `pulumi:"size"`
}

func (GetMariaDBBackupsBackupArgs) ElementType

func (GetMariaDBBackupsBackupArgs) ToGetMariaDBBackupsBackupOutput

func (i GetMariaDBBackupsBackupArgs) ToGetMariaDBBackupsBackupOutput() GetMariaDBBackupsBackupOutput

func (GetMariaDBBackupsBackupArgs) ToGetMariaDBBackupsBackupOutputWithContext

func (i GetMariaDBBackupsBackupArgs) ToGetMariaDBBackupsBackupOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupOutput

type GetMariaDBBackupsBackupArray

type GetMariaDBBackupsBackupArray []GetMariaDBBackupsBackupInput

func (GetMariaDBBackupsBackupArray) ElementType

func (GetMariaDBBackupsBackupArray) ToGetMariaDBBackupsBackupArrayOutput

func (i GetMariaDBBackupsBackupArray) ToGetMariaDBBackupsBackupArrayOutput() GetMariaDBBackupsBackupArrayOutput

func (GetMariaDBBackupsBackupArray) ToGetMariaDBBackupsBackupArrayOutputWithContext

func (i GetMariaDBBackupsBackupArray) ToGetMariaDBBackupsBackupArrayOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupArrayOutput

type GetMariaDBBackupsBackupArrayInput

type GetMariaDBBackupsBackupArrayInput interface {
	pulumi.Input

	ToGetMariaDBBackupsBackupArrayOutput() GetMariaDBBackupsBackupArrayOutput
	ToGetMariaDBBackupsBackupArrayOutputWithContext(context.Context) GetMariaDBBackupsBackupArrayOutput
}

GetMariaDBBackupsBackupArrayInput is an input type that accepts GetMariaDBBackupsBackupArray and GetMariaDBBackupsBackupArrayOutput values. You can construct a concrete instance of `GetMariaDBBackupsBackupArrayInput` via:

GetMariaDBBackupsBackupArray{ GetMariaDBBackupsBackupArgs{...} }

type GetMariaDBBackupsBackupArrayOutput

type GetMariaDBBackupsBackupArrayOutput struct{ *pulumi.OutputState }

func (GetMariaDBBackupsBackupArrayOutput) ElementType

func (GetMariaDBBackupsBackupArrayOutput) Index

func (GetMariaDBBackupsBackupArrayOutput) ToGetMariaDBBackupsBackupArrayOutput

func (o GetMariaDBBackupsBackupArrayOutput) ToGetMariaDBBackupsBackupArrayOutput() GetMariaDBBackupsBackupArrayOutput

func (GetMariaDBBackupsBackupArrayOutput) ToGetMariaDBBackupsBackupArrayOutputWithContext

func (o GetMariaDBBackupsBackupArrayOutput) ToGetMariaDBBackupsBackupArrayOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupArrayOutput

type GetMariaDBBackupsBackupBaseBackup

type GetMariaDBBackupsBackupBaseBackup struct {
	// The ISO 8601 creation timestamp
	Created string `pulumi:"created"`
	// The size of the backup in Mebibytes (MiB). This is the size of the binary backup file that was stored
	Size int `pulumi:"size"`
}

type GetMariaDBBackupsBackupBaseBackupArgs

type GetMariaDBBackupsBackupBaseBackupArgs struct {
	// The ISO 8601 creation timestamp
	Created pulumi.StringInput `pulumi:"created"`
	// The size of the backup in Mebibytes (MiB). This is the size of the binary backup file that was stored
	Size pulumi.IntInput `pulumi:"size"`
}

func (GetMariaDBBackupsBackupBaseBackupArgs) ElementType

func (GetMariaDBBackupsBackupBaseBackupArgs) ToGetMariaDBBackupsBackupBaseBackupOutput

func (i GetMariaDBBackupsBackupBaseBackupArgs) ToGetMariaDBBackupsBackupBaseBackupOutput() GetMariaDBBackupsBackupBaseBackupOutput

func (GetMariaDBBackupsBackupBaseBackupArgs) ToGetMariaDBBackupsBackupBaseBackupOutputWithContext

func (i GetMariaDBBackupsBackupBaseBackupArgs) ToGetMariaDBBackupsBackupBaseBackupOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupBaseBackupOutput

type GetMariaDBBackupsBackupBaseBackupArray

type GetMariaDBBackupsBackupBaseBackupArray []GetMariaDBBackupsBackupBaseBackupInput

func (GetMariaDBBackupsBackupBaseBackupArray) ElementType

func (GetMariaDBBackupsBackupBaseBackupArray) ToGetMariaDBBackupsBackupBaseBackupArrayOutput

func (i GetMariaDBBackupsBackupBaseBackupArray) ToGetMariaDBBackupsBackupBaseBackupArrayOutput() GetMariaDBBackupsBackupBaseBackupArrayOutput

func (GetMariaDBBackupsBackupBaseBackupArray) ToGetMariaDBBackupsBackupBaseBackupArrayOutputWithContext

func (i GetMariaDBBackupsBackupBaseBackupArray) ToGetMariaDBBackupsBackupBaseBackupArrayOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupBaseBackupArrayOutput

type GetMariaDBBackupsBackupBaseBackupArrayInput

type GetMariaDBBackupsBackupBaseBackupArrayInput interface {
	pulumi.Input

	ToGetMariaDBBackupsBackupBaseBackupArrayOutput() GetMariaDBBackupsBackupBaseBackupArrayOutput
	ToGetMariaDBBackupsBackupBaseBackupArrayOutputWithContext(context.Context) GetMariaDBBackupsBackupBaseBackupArrayOutput
}

GetMariaDBBackupsBackupBaseBackupArrayInput is an input type that accepts GetMariaDBBackupsBackupBaseBackupArray and GetMariaDBBackupsBackupBaseBackupArrayOutput values. You can construct a concrete instance of `GetMariaDBBackupsBackupBaseBackupArrayInput` via:

GetMariaDBBackupsBackupBaseBackupArray{ GetMariaDBBackupsBackupBaseBackupArgs{...} }

type GetMariaDBBackupsBackupBaseBackupArrayOutput

type GetMariaDBBackupsBackupBaseBackupArrayOutput struct{ *pulumi.OutputState }

func (GetMariaDBBackupsBackupBaseBackupArrayOutput) ElementType

func (GetMariaDBBackupsBackupBaseBackupArrayOutput) Index

func (GetMariaDBBackupsBackupBaseBackupArrayOutput) ToGetMariaDBBackupsBackupBaseBackupArrayOutput

func (o GetMariaDBBackupsBackupBaseBackupArrayOutput) ToGetMariaDBBackupsBackupBaseBackupArrayOutput() GetMariaDBBackupsBackupBaseBackupArrayOutput

func (GetMariaDBBackupsBackupBaseBackupArrayOutput) ToGetMariaDBBackupsBackupBaseBackupArrayOutputWithContext

func (o GetMariaDBBackupsBackupBaseBackupArrayOutput) ToGetMariaDBBackupsBackupBaseBackupArrayOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupBaseBackupArrayOutput

type GetMariaDBBackupsBackupBaseBackupInput

type GetMariaDBBackupsBackupBaseBackupInput interface {
	pulumi.Input

	ToGetMariaDBBackupsBackupBaseBackupOutput() GetMariaDBBackupsBackupBaseBackupOutput
	ToGetMariaDBBackupsBackupBaseBackupOutputWithContext(context.Context) GetMariaDBBackupsBackupBaseBackupOutput
}

GetMariaDBBackupsBackupBaseBackupInput is an input type that accepts GetMariaDBBackupsBackupBaseBackupArgs and GetMariaDBBackupsBackupBaseBackupOutput values. You can construct a concrete instance of `GetMariaDBBackupsBackupBaseBackupInput` via:

GetMariaDBBackupsBackupBaseBackupArgs{...}

type GetMariaDBBackupsBackupBaseBackupOutput

type GetMariaDBBackupsBackupBaseBackupOutput struct{ *pulumi.OutputState }

func (GetMariaDBBackupsBackupBaseBackupOutput) Created

The ISO 8601 creation timestamp

func (GetMariaDBBackupsBackupBaseBackupOutput) ElementType

func (GetMariaDBBackupsBackupBaseBackupOutput) Size

The size of the backup in Mebibytes (MiB). This is the size of the binary backup file that was stored

func (GetMariaDBBackupsBackupBaseBackupOutput) ToGetMariaDBBackupsBackupBaseBackupOutput

func (o GetMariaDBBackupsBackupBaseBackupOutput) ToGetMariaDBBackupsBackupBaseBackupOutput() GetMariaDBBackupsBackupBaseBackupOutput

func (GetMariaDBBackupsBackupBaseBackupOutput) ToGetMariaDBBackupsBackupBaseBackupOutputWithContext

func (o GetMariaDBBackupsBackupBaseBackupOutput) ToGetMariaDBBackupsBackupBaseBackupOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupBaseBackupOutput

type GetMariaDBBackupsBackupInput

type GetMariaDBBackupsBackupInput interface {
	pulumi.Input

	ToGetMariaDBBackupsBackupOutput() GetMariaDBBackupsBackupOutput
	ToGetMariaDBBackupsBackupOutputWithContext(context.Context) GetMariaDBBackupsBackupOutput
}

GetMariaDBBackupsBackupInput is an input type that accepts GetMariaDBBackupsBackupArgs and GetMariaDBBackupsBackupOutput values. You can construct a concrete instance of `GetMariaDBBackupsBackupInput` via:

GetMariaDBBackupsBackupArgs{...}

type GetMariaDBBackupsBackupOutput

type GetMariaDBBackupsBackupOutput struct{ *pulumi.OutputState }

func (GetMariaDBBackupsBackupOutput) BaseBackups

The list of backups for the specified cluster

func (GetMariaDBBackupsBackupOutput) ClusterId

[string] The unique ID of the cluster.

func (GetMariaDBBackupsBackupOutput) EarliestRecoveryTargetTime

func (o GetMariaDBBackupsBackupOutput) EarliestRecoveryTargetTime() pulumi.StringOutput

The oldest available timestamp to which you can restore.

func (GetMariaDBBackupsBackupOutput) ElementType

func (GetMariaDBBackupsBackupOutput) Size

The size of the backup in Mebibytes (MiB). This is the size of the binary backup file that was stored

func (GetMariaDBBackupsBackupOutput) ToGetMariaDBBackupsBackupOutput

func (o GetMariaDBBackupsBackupOutput) ToGetMariaDBBackupsBackupOutput() GetMariaDBBackupsBackupOutput

func (GetMariaDBBackupsBackupOutput) ToGetMariaDBBackupsBackupOutputWithContext

func (o GetMariaDBBackupsBackupOutput) ToGetMariaDBBackupsBackupOutputWithContext(ctx context.Context) GetMariaDBBackupsBackupOutput

type GetMariaDBBackupsOutputArgs

type GetMariaDBBackupsOutputArgs struct {
	// [string] The unique ID of the backup.
	BackupId pulumi.StringPtrInput `pulumi:"backupId"`
	// [string] The unique ID of the cluster.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
	// [string] The location of the cluster. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
	//
	// ⚠️ **Note:** Either `clusterId` or `backupId` must be used, but not both at the same time.
	//
	// > **⚠ WARNING:** `Location` attribute will become required in the future.
	Location pulumi.StringPtrInput `pulumi:"location"`
}

A collection of arguments for invoking getMariaDBBackups.

func (GetMariaDBBackupsOutputArgs) ElementType

type GetMariaDBBackupsResult

type GetMariaDBBackupsResult struct {
	BackupId string                    `pulumi:"backupId"`
	Backups  []GetMariaDBBackupsBackup `pulumi:"backups"`
	// The unique ID of the cluster that was backed up.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id       string  `pulumi:"id"`
	Location *string `pulumi:"location"`
}

A collection of values returned by getMariaDBBackups.

func GetMariaDBBackups

func GetMariaDBBackups(ctx *pulumi.Context, args *GetMariaDBBackupsArgs, opts ...pulumi.InvokeOption) (*GetMariaDBBackupsResult, error)

The **DBaaS MariaDB Backups data source** can be used to search for and return existing DBaaS MariaDB Backups for a specific cluster.

## Example Usage

### Get all backups for a specific cluster ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetMariaDBBackups(ctx, &dbaas.GetMariaDBBackupsArgs{
			ClusterId: pulumi.StringRef("cluster_id"),
			Location:  pulumi.StringRef("de/txl"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Get a specific backup ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetMariaDBBackups(ctx, &dbaas.GetMariaDBBackupsArgs{
			BackupId: pulumi.StringRef("backup_id"),
			Location: pulumi.StringRef("de/txl"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetMariaDBBackupsResultOutput

type GetMariaDBBackupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMariaDBBackups.

func (GetMariaDBBackupsResultOutput) BackupId

func (GetMariaDBBackupsResultOutput) Backups

func (GetMariaDBBackupsResultOutput) ClusterId

The unique ID of the cluster that was backed up.

func (GetMariaDBBackupsResultOutput) ElementType

func (GetMariaDBBackupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetMariaDBBackupsResultOutput) Location

func (GetMariaDBBackupsResultOutput) ToGetMariaDBBackupsResultOutput

func (o GetMariaDBBackupsResultOutput) ToGetMariaDBBackupsResultOutput() GetMariaDBBackupsResultOutput

func (GetMariaDBBackupsResultOutput) ToGetMariaDBBackupsResultOutputWithContext

func (o GetMariaDBBackupsResultOutput) ToGetMariaDBBackupsResultOutputWithContext(ctx context.Context) GetMariaDBBackupsResultOutput

type GetMariaDBClusterConnection

type GetMariaDBClusterConnection struct {
	// [string] The IP and subnet for your cluster.
	Cidr string `pulumi:"cidr"`
	// [string] The datacenter to connect your cluster to.
	DatacenterId string `pulumi:"datacenterId"`
	// [string] The LAN to connect your cluster to.
	LanId string `pulumi:"lanId"`
}

type GetMariaDBClusterConnectionArgs

type GetMariaDBClusterConnectionArgs struct {
	// [string] The IP and subnet for your cluster.
	Cidr pulumi.StringInput `pulumi:"cidr"`
	// [string] The datacenter to connect your cluster to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// [string] The LAN to connect your cluster to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (GetMariaDBClusterConnectionArgs) ElementType

func (GetMariaDBClusterConnectionArgs) ToGetMariaDBClusterConnectionOutput

func (i GetMariaDBClusterConnectionArgs) ToGetMariaDBClusterConnectionOutput() GetMariaDBClusterConnectionOutput

func (GetMariaDBClusterConnectionArgs) ToGetMariaDBClusterConnectionOutputWithContext

func (i GetMariaDBClusterConnectionArgs) ToGetMariaDBClusterConnectionOutputWithContext(ctx context.Context) GetMariaDBClusterConnectionOutput

type GetMariaDBClusterConnectionArray

type GetMariaDBClusterConnectionArray []GetMariaDBClusterConnectionInput

func (GetMariaDBClusterConnectionArray) ElementType

func (GetMariaDBClusterConnectionArray) ToGetMariaDBClusterConnectionArrayOutput

func (i GetMariaDBClusterConnectionArray) ToGetMariaDBClusterConnectionArrayOutput() GetMariaDBClusterConnectionArrayOutput

func (GetMariaDBClusterConnectionArray) ToGetMariaDBClusterConnectionArrayOutputWithContext

func (i GetMariaDBClusterConnectionArray) ToGetMariaDBClusterConnectionArrayOutputWithContext(ctx context.Context) GetMariaDBClusterConnectionArrayOutput

type GetMariaDBClusterConnectionArrayInput

type GetMariaDBClusterConnectionArrayInput interface {
	pulumi.Input

	ToGetMariaDBClusterConnectionArrayOutput() GetMariaDBClusterConnectionArrayOutput
	ToGetMariaDBClusterConnectionArrayOutputWithContext(context.Context) GetMariaDBClusterConnectionArrayOutput
}

GetMariaDBClusterConnectionArrayInput is an input type that accepts GetMariaDBClusterConnectionArray and GetMariaDBClusterConnectionArrayOutput values. You can construct a concrete instance of `GetMariaDBClusterConnectionArrayInput` via:

GetMariaDBClusterConnectionArray{ GetMariaDBClusterConnectionArgs{...} }

type GetMariaDBClusterConnectionArrayOutput

type GetMariaDBClusterConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetMariaDBClusterConnectionArrayOutput) ElementType

func (GetMariaDBClusterConnectionArrayOutput) Index

func (GetMariaDBClusterConnectionArrayOutput) ToGetMariaDBClusterConnectionArrayOutput

func (o GetMariaDBClusterConnectionArrayOutput) ToGetMariaDBClusterConnectionArrayOutput() GetMariaDBClusterConnectionArrayOutput

func (GetMariaDBClusterConnectionArrayOutput) ToGetMariaDBClusterConnectionArrayOutputWithContext

func (o GetMariaDBClusterConnectionArrayOutput) ToGetMariaDBClusterConnectionArrayOutputWithContext(ctx context.Context) GetMariaDBClusterConnectionArrayOutput

type GetMariaDBClusterConnectionInput

type GetMariaDBClusterConnectionInput interface {
	pulumi.Input

	ToGetMariaDBClusterConnectionOutput() GetMariaDBClusterConnectionOutput
	ToGetMariaDBClusterConnectionOutputWithContext(context.Context) GetMariaDBClusterConnectionOutput
}

GetMariaDBClusterConnectionInput is an input type that accepts GetMariaDBClusterConnectionArgs and GetMariaDBClusterConnectionOutput values. You can construct a concrete instance of `GetMariaDBClusterConnectionInput` via:

GetMariaDBClusterConnectionArgs{...}

type GetMariaDBClusterConnectionOutput

type GetMariaDBClusterConnectionOutput struct{ *pulumi.OutputState }

func (GetMariaDBClusterConnectionOutput) Cidr

[string] The IP and subnet for your cluster.

func (GetMariaDBClusterConnectionOutput) DatacenterId

[string] The datacenter to connect your cluster to.

func (GetMariaDBClusterConnectionOutput) ElementType

func (GetMariaDBClusterConnectionOutput) LanId

[string] The LAN to connect your cluster to.

func (GetMariaDBClusterConnectionOutput) ToGetMariaDBClusterConnectionOutput

func (o GetMariaDBClusterConnectionOutput) ToGetMariaDBClusterConnectionOutput() GetMariaDBClusterConnectionOutput

func (GetMariaDBClusterConnectionOutput) ToGetMariaDBClusterConnectionOutputWithContext

func (o GetMariaDBClusterConnectionOutput) ToGetMariaDBClusterConnectionOutputWithContext(ctx context.Context) GetMariaDBClusterConnectionOutput

type GetMariaDBClusterMaintenanceWindow

type GetMariaDBClusterMaintenanceWindow struct {
	// [string] The name of the week day.
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time string `pulumi:"time"`
}

type GetMariaDBClusterMaintenanceWindowArgs

type GetMariaDBClusterMaintenanceWindowArgs struct {
	// [string] The name of the week day.
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time pulumi.StringInput `pulumi:"time"`
}

func (GetMariaDBClusterMaintenanceWindowArgs) ElementType

func (GetMariaDBClusterMaintenanceWindowArgs) ToGetMariaDBClusterMaintenanceWindowOutput

func (i GetMariaDBClusterMaintenanceWindowArgs) ToGetMariaDBClusterMaintenanceWindowOutput() GetMariaDBClusterMaintenanceWindowOutput

func (GetMariaDBClusterMaintenanceWindowArgs) ToGetMariaDBClusterMaintenanceWindowOutputWithContext

func (i GetMariaDBClusterMaintenanceWindowArgs) ToGetMariaDBClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetMariaDBClusterMaintenanceWindowOutput

type GetMariaDBClusterMaintenanceWindowArray

type GetMariaDBClusterMaintenanceWindowArray []GetMariaDBClusterMaintenanceWindowInput

func (GetMariaDBClusterMaintenanceWindowArray) ElementType

func (GetMariaDBClusterMaintenanceWindowArray) ToGetMariaDBClusterMaintenanceWindowArrayOutput

func (i GetMariaDBClusterMaintenanceWindowArray) ToGetMariaDBClusterMaintenanceWindowArrayOutput() GetMariaDBClusterMaintenanceWindowArrayOutput

func (GetMariaDBClusterMaintenanceWindowArray) ToGetMariaDBClusterMaintenanceWindowArrayOutputWithContext

func (i GetMariaDBClusterMaintenanceWindowArray) ToGetMariaDBClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetMariaDBClusterMaintenanceWindowArrayOutput

type GetMariaDBClusterMaintenanceWindowArrayInput

type GetMariaDBClusterMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetMariaDBClusterMaintenanceWindowArrayOutput() GetMariaDBClusterMaintenanceWindowArrayOutput
	ToGetMariaDBClusterMaintenanceWindowArrayOutputWithContext(context.Context) GetMariaDBClusterMaintenanceWindowArrayOutput
}

GetMariaDBClusterMaintenanceWindowArrayInput is an input type that accepts GetMariaDBClusterMaintenanceWindowArray and GetMariaDBClusterMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetMariaDBClusterMaintenanceWindowArrayInput` via:

GetMariaDBClusterMaintenanceWindowArray{ GetMariaDBClusterMaintenanceWindowArgs{...} }

type GetMariaDBClusterMaintenanceWindowArrayOutput

type GetMariaDBClusterMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetMariaDBClusterMaintenanceWindowArrayOutput) ElementType

func (GetMariaDBClusterMaintenanceWindowArrayOutput) Index

func (GetMariaDBClusterMaintenanceWindowArrayOutput) ToGetMariaDBClusterMaintenanceWindowArrayOutput

func (o GetMariaDBClusterMaintenanceWindowArrayOutput) ToGetMariaDBClusterMaintenanceWindowArrayOutput() GetMariaDBClusterMaintenanceWindowArrayOutput

func (GetMariaDBClusterMaintenanceWindowArrayOutput) ToGetMariaDBClusterMaintenanceWindowArrayOutputWithContext

func (o GetMariaDBClusterMaintenanceWindowArrayOutput) ToGetMariaDBClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetMariaDBClusterMaintenanceWindowArrayOutput

type GetMariaDBClusterMaintenanceWindowInput

type GetMariaDBClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToGetMariaDBClusterMaintenanceWindowOutput() GetMariaDBClusterMaintenanceWindowOutput
	ToGetMariaDBClusterMaintenanceWindowOutputWithContext(context.Context) GetMariaDBClusterMaintenanceWindowOutput
}

GetMariaDBClusterMaintenanceWindowInput is an input type that accepts GetMariaDBClusterMaintenanceWindowArgs and GetMariaDBClusterMaintenanceWindowOutput values. You can construct a concrete instance of `GetMariaDBClusterMaintenanceWindowInput` via:

GetMariaDBClusterMaintenanceWindowArgs{...}

type GetMariaDBClusterMaintenanceWindowOutput

type GetMariaDBClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetMariaDBClusterMaintenanceWindowOutput) DayOfTheWeek

[string] The name of the week day.

func (GetMariaDBClusterMaintenanceWindowOutput) ElementType

func (GetMariaDBClusterMaintenanceWindowOutput) Time

[string] Start of the maintenance window in UTC time.

func (GetMariaDBClusterMaintenanceWindowOutput) ToGetMariaDBClusterMaintenanceWindowOutput

func (o GetMariaDBClusterMaintenanceWindowOutput) ToGetMariaDBClusterMaintenanceWindowOutput() GetMariaDBClusterMaintenanceWindowOutput

func (GetMariaDBClusterMaintenanceWindowOutput) ToGetMariaDBClusterMaintenanceWindowOutputWithContext

func (o GetMariaDBClusterMaintenanceWindowOutput) ToGetMariaDBClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetMariaDBClusterMaintenanceWindowOutput

type GetMongoClusterBackup

type GetMongoClusterBackup struct {
	// The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.
	Location string `pulumi:"location"`
}

type GetMongoClusterBackupArgs

type GetMongoClusterBackupArgs struct {
	// The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.
	Location pulumi.StringInput `pulumi:"location"`
}

func (GetMongoClusterBackupArgs) ElementType

func (GetMongoClusterBackupArgs) ElementType() reflect.Type

func (GetMongoClusterBackupArgs) ToGetMongoClusterBackupOutput

func (i GetMongoClusterBackupArgs) ToGetMongoClusterBackupOutput() GetMongoClusterBackupOutput

func (GetMongoClusterBackupArgs) ToGetMongoClusterBackupOutputWithContext

func (i GetMongoClusterBackupArgs) ToGetMongoClusterBackupOutputWithContext(ctx context.Context) GetMongoClusterBackupOutput

type GetMongoClusterBackupArray

type GetMongoClusterBackupArray []GetMongoClusterBackupInput

func (GetMongoClusterBackupArray) ElementType

func (GetMongoClusterBackupArray) ElementType() reflect.Type

func (GetMongoClusterBackupArray) ToGetMongoClusterBackupArrayOutput

func (i GetMongoClusterBackupArray) ToGetMongoClusterBackupArrayOutput() GetMongoClusterBackupArrayOutput

func (GetMongoClusterBackupArray) ToGetMongoClusterBackupArrayOutputWithContext

func (i GetMongoClusterBackupArray) ToGetMongoClusterBackupArrayOutputWithContext(ctx context.Context) GetMongoClusterBackupArrayOutput

type GetMongoClusterBackupArrayInput

type GetMongoClusterBackupArrayInput interface {
	pulumi.Input

	ToGetMongoClusterBackupArrayOutput() GetMongoClusterBackupArrayOutput
	ToGetMongoClusterBackupArrayOutputWithContext(context.Context) GetMongoClusterBackupArrayOutput
}

GetMongoClusterBackupArrayInput is an input type that accepts GetMongoClusterBackupArray and GetMongoClusterBackupArrayOutput values. You can construct a concrete instance of `GetMongoClusterBackupArrayInput` via:

GetMongoClusterBackupArray{ GetMongoClusterBackupArgs{...} }

type GetMongoClusterBackupArrayOutput

type GetMongoClusterBackupArrayOutput struct{ *pulumi.OutputState }

func (GetMongoClusterBackupArrayOutput) ElementType

func (GetMongoClusterBackupArrayOutput) Index

func (GetMongoClusterBackupArrayOutput) ToGetMongoClusterBackupArrayOutput

func (o GetMongoClusterBackupArrayOutput) ToGetMongoClusterBackupArrayOutput() GetMongoClusterBackupArrayOutput

func (GetMongoClusterBackupArrayOutput) ToGetMongoClusterBackupArrayOutputWithContext

func (o GetMongoClusterBackupArrayOutput) ToGetMongoClusterBackupArrayOutputWithContext(ctx context.Context) GetMongoClusterBackupArrayOutput

type GetMongoClusterBackupInput

type GetMongoClusterBackupInput interface {
	pulumi.Input

	ToGetMongoClusterBackupOutput() GetMongoClusterBackupOutput
	ToGetMongoClusterBackupOutputWithContext(context.Context) GetMongoClusterBackupOutput
}

GetMongoClusterBackupInput is an input type that accepts GetMongoClusterBackupArgs and GetMongoClusterBackupOutput values. You can construct a concrete instance of `GetMongoClusterBackupInput` via:

GetMongoClusterBackupArgs{...}

type GetMongoClusterBackupOutput

type GetMongoClusterBackupOutput struct{ *pulumi.OutputState }

func (GetMongoClusterBackupOutput) ElementType

func (GetMongoClusterBackupOutput) Location

The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.

func (GetMongoClusterBackupOutput) ToGetMongoClusterBackupOutput

func (o GetMongoClusterBackupOutput) ToGetMongoClusterBackupOutput() GetMongoClusterBackupOutput

func (GetMongoClusterBackupOutput) ToGetMongoClusterBackupOutputWithContext

func (o GetMongoClusterBackupOutput) ToGetMongoClusterBackupOutputWithContext(ctx context.Context) GetMongoClusterBackupOutput

type GetMongoClusterBiConnector

type GetMongoClusterBiConnector struct {
	// Enable or disable the BiConnector
	Enabled bool `pulumi:"enabled"`
	// The host where this new BI Connector is installed
	Host string `pulumi:"host"`
	// Port number used when connecting to this new BI Connector
	Port string `pulumi:"port"`
}

type GetMongoClusterBiConnectorArgs

type GetMongoClusterBiConnectorArgs struct {
	// Enable or disable the BiConnector
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// The host where this new BI Connector is installed
	Host pulumi.StringInput `pulumi:"host"`
	// Port number used when connecting to this new BI Connector
	Port pulumi.StringInput `pulumi:"port"`
}

func (GetMongoClusterBiConnectorArgs) ElementType

func (GetMongoClusterBiConnectorArgs) ToGetMongoClusterBiConnectorOutput

func (i GetMongoClusterBiConnectorArgs) ToGetMongoClusterBiConnectorOutput() GetMongoClusterBiConnectorOutput

func (GetMongoClusterBiConnectorArgs) ToGetMongoClusterBiConnectorOutputWithContext

func (i GetMongoClusterBiConnectorArgs) ToGetMongoClusterBiConnectorOutputWithContext(ctx context.Context) GetMongoClusterBiConnectorOutput

type GetMongoClusterBiConnectorArray

type GetMongoClusterBiConnectorArray []GetMongoClusterBiConnectorInput

func (GetMongoClusterBiConnectorArray) ElementType

func (GetMongoClusterBiConnectorArray) ToGetMongoClusterBiConnectorArrayOutput

func (i GetMongoClusterBiConnectorArray) ToGetMongoClusterBiConnectorArrayOutput() GetMongoClusterBiConnectorArrayOutput

func (GetMongoClusterBiConnectorArray) ToGetMongoClusterBiConnectorArrayOutputWithContext

func (i GetMongoClusterBiConnectorArray) ToGetMongoClusterBiConnectorArrayOutputWithContext(ctx context.Context) GetMongoClusterBiConnectorArrayOutput

type GetMongoClusterBiConnectorArrayInput

type GetMongoClusterBiConnectorArrayInput interface {
	pulumi.Input

	ToGetMongoClusterBiConnectorArrayOutput() GetMongoClusterBiConnectorArrayOutput
	ToGetMongoClusterBiConnectorArrayOutputWithContext(context.Context) GetMongoClusterBiConnectorArrayOutput
}

GetMongoClusterBiConnectorArrayInput is an input type that accepts GetMongoClusterBiConnectorArray and GetMongoClusterBiConnectorArrayOutput values. You can construct a concrete instance of `GetMongoClusterBiConnectorArrayInput` via:

GetMongoClusterBiConnectorArray{ GetMongoClusterBiConnectorArgs{...} }

type GetMongoClusterBiConnectorArrayOutput

type GetMongoClusterBiConnectorArrayOutput struct{ *pulumi.OutputState }

func (GetMongoClusterBiConnectorArrayOutput) ElementType

func (GetMongoClusterBiConnectorArrayOutput) Index

func (GetMongoClusterBiConnectorArrayOutput) ToGetMongoClusterBiConnectorArrayOutput

func (o GetMongoClusterBiConnectorArrayOutput) ToGetMongoClusterBiConnectorArrayOutput() GetMongoClusterBiConnectorArrayOutput

func (GetMongoClusterBiConnectorArrayOutput) ToGetMongoClusterBiConnectorArrayOutputWithContext

func (o GetMongoClusterBiConnectorArrayOutput) ToGetMongoClusterBiConnectorArrayOutputWithContext(ctx context.Context) GetMongoClusterBiConnectorArrayOutput

type GetMongoClusterBiConnectorInput

type GetMongoClusterBiConnectorInput interface {
	pulumi.Input

	ToGetMongoClusterBiConnectorOutput() GetMongoClusterBiConnectorOutput
	ToGetMongoClusterBiConnectorOutputWithContext(context.Context) GetMongoClusterBiConnectorOutput
}

GetMongoClusterBiConnectorInput is an input type that accepts GetMongoClusterBiConnectorArgs and GetMongoClusterBiConnectorOutput values. You can construct a concrete instance of `GetMongoClusterBiConnectorInput` via:

GetMongoClusterBiConnectorArgs{...}

type GetMongoClusterBiConnectorOutput

type GetMongoClusterBiConnectorOutput struct{ *pulumi.OutputState }

func (GetMongoClusterBiConnectorOutput) ElementType

func (GetMongoClusterBiConnectorOutput) Enabled

Enable or disable the BiConnector

func (GetMongoClusterBiConnectorOutput) Host

The host where this new BI Connector is installed

func (GetMongoClusterBiConnectorOutput) Port

Port number used when connecting to this new BI Connector

func (GetMongoClusterBiConnectorOutput) ToGetMongoClusterBiConnectorOutput

func (o GetMongoClusterBiConnectorOutput) ToGetMongoClusterBiConnectorOutput() GetMongoClusterBiConnectorOutput

func (GetMongoClusterBiConnectorOutput) ToGetMongoClusterBiConnectorOutputWithContext

func (o GetMongoClusterBiConnectorOutput) ToGetMongoClusterBiConnectorOutputWithContext(ctx context.Context) GetMongoClusterBiConnectorOutput

type GetMongoClusterConnection

type GetMongoClusterConnection struct {
	// The list of IPs and subnet for your cluster.
	//           Note the following unavailable IP ranges:
	//           10.233.64.0/18
	//           10.233.0.0/18
	//           10.233.114.0/24
	//  example: [192.168.1.100/24, 192.168.1.101/24]
	CidrLists []string `pulumi:"cidrLists"`
	// The datacenter to connect your cluster to.
	DatacenterId string `pulumi:"datacenterId"`
	// The LAN to connect your cluster to.
	LanId string `pulumi:"lanId"`
}

type GetMongoClusterConnectionArgs

type GetMongoClusterConnectionArgs struct {
	// The list of IPs and subnet for your cluster.
	//           Note the following unavailable IP ranges:
	//           10.233.64.0/18
	//           10.233.0.0/18
	//           10.233.114.0/24
	//  example: [192.168.1.100/24, 192.168.1.101/24]
	CidrLists pulumi.StringArrayInput `pulumi:"cidrLists"`
	// The datacenter to connect your cluster to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// The LAN to connect your cluster to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (GetMongoClusterConnectionArgs) ElementType

func (GetMongoClusterConnectionArgs) ToGetMongoClusterConnectionOutput

func (i GetMongoClusterConnectionArgs) ToGetMongoClusterConnectionOutput() GetMongoClusterConnectionOutput

func (GetMongoClusterConnectionArgs) ToGetMongoClusterConnectionOutputWithContext

func (i GetMongoClusterConnectionArgs) ToGetMongoClusterConnectionOutputWithContext(ctx context.Context) GetMongoClusterConnectionOutput

type GetMongoClusterConnectionArray

type GetMongoClusterConnectionArray []GetMongoClusterConnectionInput

func (GetMongoClusterConnectionArray) ElementType

func (GetMongoClusterConnectionArray) ToGetMongoClusterConnectionArrayOutput

func (i GetMongoClusterConnectionArray) ToGetMongoClusterConnectionArrayOutput() GetMongoClusterConnectionArrayOutput

func (GetMongoClusterConnectionArray) ToGetMongoClusterConnectionArrayOutputWithContext

func (i GetMongoClusterConnectionArray) ToGetMongoClusterConnectionArrayOutputWithContext(ctx context.Context) GetMongoClusterConnectionArrayOutput

type GetMongoClusterConnectionArrayInput

type GetMongoClusterConnectionArrayInput interface {
	pulumi.Input

	ToGetMongoClusterConnectionArrayOutput() GetMongoClusterConnectionArrayOutput
	ToGetMongoClusterConnectionArrayOutputWithContext(context.Context) GetMongoClusterConnectionArrayOutput
}

GetMongoClusterConnectionArrayInput is an input type that accepts GetMongoClusterConnectionArray and GetMongoClusterConnectionArrayOutput values. You can construct a concrete instance of `GetMongoClusterConnectionArrayInput` via:

GetMongoClusterConnectionArray{ GetMongoClusterConnectionArgs{...} }

type GetMongoClusterConnectionArrayOutput

type GetMongoClusterConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetMongoClusterConnectionArrayOutput) ElementType

func (GetMongoClusterConnectionArrayOutput) Index

func (GetMongoClusterConnectionArrayOutput) ToGetMongoClusterConnectionArrayOutput

func (o GetMongoClusterConnectionArrayOutput) ToGetMongoClusterConnectionArrayOutput() GetMongoClusterConnectionArrayOutput

func (GetMongoClusterConnectionArrayOutput) ToGetMongoClusterConnectionArrayOutputWithContext

func (o GetMongoClusterConnectionArrayOutput) ToGetMongoClusterConnectionArrayOutputWithContext(ctx context.Context) GetMongoClusterConnectionArrayOutput

type GetMongoClusterConnectionInput

type GetMongoClusterConnectionInput interface {
	pulumi.Input

	ToGetMongoClusterConnectionOutput() GetMongoClusterConnectionOutput
	ToGetMongoClusterConnectionOutputWithContext(context.Context) GetMongoClusterConnectionOutput
}

GetMongoClusterConnectionInput is an input type that accepts GetMongoClusterConnectionArgs and GetMongoClusterConnectionOutput values. You can construct a concrete instance of `GetMongoClusterConnectionInput` via:

GetMongoClusterConnectionArgs{...}

type GetMongoClusterConnectionOutput

type GetMongoClusterConnectionOutput struct{ *pulumi.OutputState }

func (GetMongoClusterConnectionOutput) CidrLists

The list of IPs and subnet for your cluster.

         Note the following unavailable IP ranges:
         10.233.64.0/18
         10.233.0.0/18
         10.233.114.0/24
example: [192.168.1.100/24, 192.168.1.101/24]

func (GetMongoClusterConnectionOutput) DatacenterId

The datacenter to connect your cluster to.

func (GetMongoClusterConnectionOutput) ElementType

func (GetMongoClusterConnectionOutput) LanId

The LAN to connect your cluster to.

func (GetMongoClusterConnectionOutput) ToGetMongoClusterConnectionOutput

func (o GetMongoClusterConnectionOutput) ToGetMongoClusterConnectionOutput() GetMongoClusterConnectionOutput

func (GetMongoClusterConnectionOutput) ToGetMongoClusterConnectionOutputWithContext

func (o GetMongoClusterConnectionOutput) ToGetMongoClusterConnectionOutputWithContext(ctx context.Context) GetMongoClusterConnectionOutput

type GetMongoClusterMaintenanceWindow

type GetMongoClusterMaintenanceWindow struct {
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	Time         string `pulumi:"time"`
}

type GetMongoClusterMaintenanceWindowArgs

type GetMongoClusterMaintenanceWindowArgs struct {
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	Time         pulumi.StringInput `pulumi:"time"`
}

func (GetMongoClusterMaintenanceWindowArgs) ElementType

func (GetMongoClusterMaintenanceWindowArgs) ToGetMongoClusterMaintenanceWindowOutput

func (i GetMongoClusterMaintenanceWindowArgs) ToGetMongoClusterMaintenanceWindowOutput() GetMongoClusterMaintenanceWindowOutput

func (GetMongoClusterMaintenanceWindowArgs) ToGetMongoClusterMaintenanceWindowOutputWithContext

func (i GetMongoClusterMaintenanceWindowArgs) ToGetMongoClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetMongoClusterMaintenanceWindowOutput

type GetMongoClusterMaintenanceWindowArray

type GetMongoClusterMaintenanceWindowArray []GetMongoClusterMaintenanceWindowInput

func (GetMongoClusterMaintenanceWindowArray) ElementType

func (GetMongoClusterMaintenanceWindowArray) ToGetMongoClusterMaintenanceWindowArrayOutput

func (i GetMongoClusterMaintenanceWindowArray) ToGetMongoClusterMaintenanceWindowArrayOutput() GetMongoClusterMaintenanceWindowArrayOutput

func (GetMongoClusterMaintenanceWindowArray) ToGetMongoClusterMaintenanceWindowArrayOutputWithContext

func (i GetMongoClusterMaintenanceWindowArray) ToGetMongoClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetMongoClusterMaintenanceWindowArrayOutput

type GetMongoClusterMaintenanceWindowArrayInput

type GetMongoClusterMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetMongoClusterMaintenanceWindowArrayOutput() GetMongoClusterMaintenanceWindowArrayOutput
	ToGetMongoClusterMaintenanceWindowArrayOutputWithContext(context.Context) GetMongoClusterMaintenanceWindowArrayOutput
}

GetMongoClusterMaintenanceWindowArrayInput is an input type that accepts GetMongoClusterMaintenanceWindowArray and GetMongoClusterMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetMongoClusterMaintenanceWindowArrayInput` via:

GetMongoClusterMaintenanceWindowArray{ GetMongoClusterMaintenanceWindowArgs{...} }

type GetMongoClusterMaintenanceWindowArrayOutput

type GetMongoClusterMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetMongoClusterMaintenanceWindowArrayOutput) ElementType

func (GetMongoClusterMaintenanceWindowArrayOutput) Index

func (GetMongoClusterMaintenanceWindowArrayOutput) ToGetMongoClusterMaintenanceWindowArrayOutput

func (o GetMongoClusterMaintenanceWindowArrayOutput) ToGetMongoClusterMaintenanceWindowArrayOutput() GetMongoClusterMaintenanceWindowArrayOutput

func (GetMongoClusterMaintenanceWindowArrayOutput) ToGetMongoClusterMaintenanceWindowArrayOutputWithContext

func (o GetMongoClusterMaintenanceWindowArrayOutput) ToGetMongoClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetMongoClusterMaintenanceWindowArrayOutput

type GetMongoClusterMaintenanceWindowInput

type GetMongoClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToGetMongoClusterMaintenanceWindowOutput() GetMongoClusterMaintenanceWindowOutput
	ToGetMongoClusterMaintenanceWindowOutputWithContext(context.Context) GetMongoClusterMaintenanceWindowOutput
}

GetMongoClusterMaintenanceWindowInput is an input type that accepts GetMongoClusterMaintenanceWindowArgs and GetMongoClusterMaintenanceWindowOutput values. You can construct a concrete instance of `GetMongoClusterMaintenanceWindowInput` via:

GetMongoClusterMaintenanceWindowArgs{...}

type GetMongoClusterMaintenanceWindowOutput

type GetMongoClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetMongoClusterMaintenanceWindowOutput) DayOfTheWeek

func (GetMongoClusterMaintenanceWindowOutput) ElementType

func (GetMongoClusterMaintenanceWindowOutput) Time

func (GetMongoClusterMaintenanceWindowOutput) ToGetMongoClusterMaintenanceWindowOutput

func (o GetMongoClusterMaintenanceWindowOutput) ToGetMongoClusterMaintenanceWindowOutput() GetMongoClusterMaintenanceWindowOutput

func (GetMongoClusterMaintenanceWindowOutput) ToGetMongoClusterMaintenanceWindowOutputWithContext

func (o GetMongoClusterMaintenanceWindowOutput) ToGetMongoClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetMongoClusterMaintenanceWindowOutput

type GetMongoTemplateArgs

type GetMongoTemplateArgs struct {
	// The ID of the template.
	Id *string `pulumi:"id"`
	// The name of the template.
	Name         *string `pulumi:"name"`
	PartialMatch *bool   `pulumi:"partialMatch"`
}

A collection of arguments for invoking getMongoTemplate.

type GetMongoTemplateOutputArgs

type GetMongoTemplateOutputArgs struct {
	// The ID of the template.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of the template.
	Name         pulumi.StringPtrInput `pulumi:"name"`
	PartialMatch pulumi.BoolPtrInput   `pulumi:"partialMatch"`
}

A collection of arguments for invoking getMongoTemplate.

func (GetMongoTemplateOutputArgs) ElementType

func (GetMongoTemplateOutputArgs) ElementType() reflect.Type

type GetMongoTemplateResult

type GetMongoTemplateResult struct {
	// The number of CPU cores.
	Cores int `pulumi:"cores"`
	// The edition of the template (e.g. enterprise).
	Edition string `pulumi:"edition"`
	// The ID of the template.
	Id string `pulumi:"id"`
	// The name of the template.
	Name         string `pulumi:"name"`
	PartialMatch *bool  `pulumi:"partialMatch"`
	// The amount of memory in GB.
	Ram int `pulumi:"ram"`
	// The amount of storage size in GB.
	StorageSize int `pulumi:"storageSize"`
}

A collection of values returned by getMongoTemplate.

func GetMongoTemplate

func GetMongoTemplate(ctx *pulumi.Context, args *GetMongoTemplateArgs, opts ...pulumi.InvokeOption) (*GetMongoTemplateResult, error)

The **DbaaS Mongo Template data source** can be used to search for and return an existing DbaaS MongoDB Template. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

## Example Usage

### By ID ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetMongoTemplate(ctx, &dbaas.GetMongoTemplateArgs{
			Id: pulumi.StringRef("template_id"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By name

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetMongoTemplate(ctx, &dbaas.GetMongoTemplateArgs{
			Name: pulumi.StringRef("name"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### By name, using partialMatch

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetMongoTemplate(ctx, &dbaas.GetMongoTemplateArgs{
			Name:         pulumi.StringRef("name"),
			PartialMatch: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

* `name` - (Optional) The name of the template you want to search for. * `id` - (Optional) ID of the template you want to search for. * `partialMatch` - (Optional) Whether partial matching is allowed or not when using name argument. Default value is false.

Either `name` or `id` must be provided. If none or both are provided, the datasource will return an error.

type GetMongoTemplateResultOutput

type GetMongoTemplateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMongoTemplate.

func (GetMongoTemplateResultOutput) Cores

The number of CPU cores.

func (GetMongoTemplateResultOutput) Edition

The edition of the template (e.g. enterprise).

func (GetMongoTemplateResultOutput) ElementType

func (GetMongoTemplateResultOutput) Id

The ID of the template.

func (GetMongoTemplateResultOutput) Name

The name of the template.

func (GetMongoTemplateResultOutput) PartialMatch

func (GetMongoTemplateResultOutput) Ram

The amount of memory in GB.

func (GetMongoTemplateResultOutput) StorageSize

The amount of storage size in GB.

func (GetMongoTemplateResultOutput) ToGetMongoTemplateResultOutput

func (o GetMongoTemplateResultOutput) ToGetMongoTemplateResultOutput() GetMongoTemplateResultOutput

func (GetMongoTemplateResultOutput) ToGetMongoTemplateResultOutputWithContext

func (o GetMongoTemplateResultOutput) ToGetMongoTemplateResultOutputWithContext(ctx context.Context) GetMongoTemplateResultOutput

type GetMongoUserRole

type GetMongoUserRole struct {
	// [true] Database on which to apply the role.
	//
	// **NOTE:** MongoDb users do not support update at the moment. Changing any attribute will result in the user being re-created.
	Database string `pulumi:"database"`
	// [true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor and enableSharding.
	Role string `pulumi:"role"`
}

type GetMongoUserRoleArgs

type GetMongoUserRoleArgs struct {
	// [true] Database on which to apply the role.
	//
	// **NOTE:** MongoDb users do not support update at the moment. Changing any attribute will result in the user being re-created.
	Database pulumi.StringInput `pulumi:"database"`
	// [true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor and enableSharding.
	Role pulumi.StringInput `pulumi:"role"`
}

func (GetMongoUserRoleArgs) ElementType

func (GetMongoUserRoleArgs) ElementType() reflect.Type

func (GetMongoUserRoleArgs) ToGetMongoUserRoleOutput

func (i GetMongoUserRoleArgs) ToGetMongoUserRoleOutput() GetMongoUserRoleOutput

func (GetMongoUserRoleArgs) ToGetMongoUserRoleOutputWithContext

func (i GetMongoUserRoleArgs) ToGetMongoUserRoleOutputWithContext(ctx context.Context) GetMongoUserRoleOutput

type GetMongoUserRoleArray

type GetMongoUserRoleArray []GetMongoUserRoleInput

func (GetMongoUserRoleArray) ElementType

func (GetMongoUserRoleArray) ElementType() reflect.Type

func (GetMongoUserRoleArray) ToGetMongoUserRoleArrayOutput

func (i GetMongoUserRoleArray) ToGetMongoUserRoleArrayOutput() GetMongoUserRoleArrayOutput

func (GetMongoUserRoleArray) ToGetMongoUserRoleArrayOutputWithContext

func (i GetMongoUserRoleArray) ToGetMongoUserRoleArrayOutputWithContext(ctx context.Context) GetMongoUserRoleArrayOutput

type GetMongoUserRoleArrayInput

type GetMongoUserRoleArrayInput interface {
	pulumi.Input

	ToGetMongoUserRoleArrayOutput() GetMongoUserRoleArrayOutput
	ToGetMongoUserRoleArrayOutputWithContext(context.Context) GetMongoUserRoleArrayOutput
}

GetMongoUserRoleArrayInput is an input type that accepts GetMongoUserRoleArray and GetMongoUserRoleArrayOutput values. You can construct a concrete instance of `GetMongoUserRoleArrayInput` via:

GetMongoUserRoleArray{ GetMongoUserRoleArgs{...} }

type GetMongoUserRoleArrayOutput

type GetMongoUserRoleArrayOutput struct{ *pulumi.OutputState }

func (GetMongoUserRoleArrayOutput) ElementType

func (GetMongoUserRoleArrayOutput) Index

func (GetMongoUserRoleArrayOutput) ToGetMongoUserRoleArrayOutput

func (o GetMongoUserRoleArrayOutput) ToGetMongoUserRoleArrayOutput() GetMongoUserRoleArrayOutput

func (GetMongoUserRoleArrayOutput) ToGetMongoUserRoleArrayOutputWithContext

func (o GetMongoUserRoleArrayOutput) ToGetMongoUserRoleArrayOutputWithContext(ctx context.Context) GetMongoUserRoleArrayOutput

type GetMongoUserRoleInput

type GetMongoUserRoleInput interface {
	pulumi.Input

	ToGetMongoUserRoleOutput() GetMongoUserRoleOutput
	ToGetMongoUserRoleOutputWithContext(context.Context) GetMongoUserRoleOutput
}

GetMongoUserRoleInput is an input type that accepts GetMongoUserRoleArgs and GetMongoUserRoleOutput values. You can construct a concrete instance of `GetMongoUserRoleInput` via:

GetMongoUserRoleArgs{...}

type GetMongoUserRoleOutput

type GetMongoUserRoleOutput struct{ *pulumi.OutputState }

func (GetMongoUserRoleOutput) Database

[true] Database on which to apply the role.

**NOTE:** MongoDb users do not support update at the moment. Changing any attribute will result in the user being re-created.

func (GetMongoUserRoleOutput) ElementType

func (GetMongoUserRoleOutput) ElementType() reflect.Type

func (GetMongoUserRoleOutput) Role

[true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor and enableSharding.

func (GetMongoUserRoleOutput) ToGetMongoUserRoleOutput

func (o GetMongoUserRoleOutput) ToGetMongoUserRoleOutput() GetMongoUserRoleOutput

func (GetMongoUserRoleOutput) ToGetMongoUserRoleOutputWithContext

func (o GetMongoUserRoleOutput) ToGetMongoUserRoleOutputWithContext(ctx context.Context) GetMongoUserRoleOutput

type GetPSQLBackupsArgs

type GetPSQLBackupsArgs struct {
	// The unique ID of the cluster.
	//
	// `clusterId` must be provided. If it is not provided, the datasource will return an error.
	ClusterId string `pulumi:"clusterId"`
}

A collection of arguments for invoking getPSQLBackups.

type GetPSQLBackupsClusterBackup

type GetPSQLBackupsClusterBackup struct {
	// The unique ID of the cluster.
	//
	// `clusterId` must be provided. If it is not provided, the datasource will return an error.
	ClusterId string `pulumi:"clusterId"`
	// The oldest available timestamp to which you can restore.
	EarliestRecoveryTargetTime string `pulumi:"earliestRecoveryTargetTime"`
	// The unique ID of the resource.
	Id string `pulumi:"id"`
	// Whether a cluster currently backs up data to this backup.
	IsActive bool `pulumi:"isActive"`
	// The IONOS Object Storage location where the backups will be stored.
	Location string `pulumi:"location"`
	// Metadata of the resource.
	Metadatas []GetPSQLBackupsClusterBackupMetadata `pulumi:"metadatas"`
	// The size of all base backups including the wal size in MB.
	Size int    `pulumi:"size"`
	Type string `pulumi:"type"`
	// The PostgreSQL version this backup was created from.
	Version string `pulumi:"version"`
}

type GetPSQLBackupsClusterBackupArgs

type GetPSQLBackupsClusterBackupArgs struct {
	// The unique ID of the cluster.
	//
	// `clusterId` must be provided. If it is not provided, the datasource will return an error.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The oldest available timestamp to which you can restore.
	EarliestRecoveryTargetTime pulumi.StringInput `pulumi:"earliestRecoveryTargetTime"`
	// The unique ID of the resource.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether a cluster currently backs up data to this backup.
	IsActive pulumi.BoolInput `pulumi:"isActive"`
	// The IONOS Object Storage location where the backups will be stored.
	Location pulumi.StringInput `pulumi:"location"`
	// Metadata of the resource.
	Metadatas GetPSQLBackupsClusterBackupMetadataArrayInput `pulumi:"metadatas"`
	// The size of all base backups including the wal size in MB.
	Size pulumi.IntInput    `pulumi:"size"`
	Type pulumi.StringInput `pulumi:"type"`
	// The PostgreSQL version this backup was created from.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetPSQLBackupsClusterBackupArgs) ElementType

func (GetPSQLBackupsClusterBackupArgs) ToGetPSQLBackupsClusterBackupOutput

func (i GetPSQLBackupsClusterBackupArgs) ToGetPSQLBackupsClusterBackupOutput() GetPSQLBackupsClusterBackupOutput

func (GetPSQLBackupsClusterBackupArgs) ToGetPSQLBackupsClusterBackupOutputWithContext

func (i GetPSQLBackupsClusterBackupArgs) ToGetPSQLBackupsClusterBackupOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupOutput

type GetPSQLBackupsClusterBackupArray

type GetPSQLBackupsClusterBackupArray []GetPSQLBackupsClusterBackupInput

func (GetPSQLBackupsClusterBackupArray) ElementType

func (GetPSQLBackupsClusterBackupArray) ToGetPSQLBackupsClusterBackupArrayOutput

func (i GetPSQLBackupsClusterBackupArray) ToGetPSQLBackupsClusterBackupArrayOutput() GetPSQLBackupsClusterBackupArrayOutput

func (GetPSQLBackupsClusterBackupArray) ToGetPSQLBackupsClusterBackupArrayOutputWithContext

func (i GetPSQLBackupsClusterBackupArray) ToGetPSQLBackupsClusterBackupArrayOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupArrayOutput

type GetPSQLBackupsClusterBackupArrayInput

type GetPSQLBackupsClusterBackupArrayInput interface {
	pulumi.Input

	ToGetPSQLBackupsClusterBackupArrayOutput() GetPSQLBackupsClusterBackupArrayOutput
	ToGetPSQLBackupsClusterBackupArrayOutputWithContext(context.Context) GetPSQLBackupsClusterBackupArrayOutput
}

GetPSQLBackupsClusterBackupArrayInput is an input type that accepts GetPSQLBackupsClusterBackupArray and GetPSQLBackupsClusterBackupArrayOutput values. You can construct a concrete instance of `GetPSQLBackupsClusterBackupArrayInput` via:

GetPSQLBackupsClusterBackupArray{ GetPSQLBackupsClusterBackupArgs{...} }

type GetPSQLBackupsClusterBackupArrayOutput

type GetPSQLBackupsClusterBackupArrayOutput struct{ *pulumi.OutputState }

func (GetPSQLBackupsClusterBackupArrayOutput) ElementType

func (GetPSQLBackupsClusterBackupArrayOutput) Index

func (GetPSQLBackupsClusterBackupArrayOutput) ToGetPSQLBackupsClusterBackupArrayOutput

func (o GetPSQLBackupsClusterBackupArrayOutput) ToGetPSQLBackupsClusterBackupArrayOutput() GetPSQLBackupsClusterBackupArrayOutput

func (GetPSQLBackupsClusterBackupArrayOutput) ToGetPSQLBackupsClusterBackupArrayOutputWithContext

func (o GetPSQLBackupsClusterBackupArrayOutput) ToGetPSQLBackupsClusterBackupArrayOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupArrayOutput

type GetPSQLBackupsClusterBackupInput

type GetPSQLBackupsClusterBackupInput interface {
	pulumi.Input

	ToGetPSQLBackupsClusterBackupOutput() GetPSQLBackupsClusterBackupOutput
	ToGetPSQLBackupsClusterBackupOutputWithContext(context.Context) GetPSQLBackupsClusterBackupOutput
}

GetPSQLBackupsClusterBackupInput is an input type that accepts GetPSQLBackupsClusterBackupArgs and GetPSQLBackupsClusterBackupOutput values. You can construct a concrete instance of `GetPSQLBackupsClusterBackupInput` via:

GetPSQLBackupsClusterBackupArgs{...}

type GetPSQLBackupsClusterBackupMetadata

type GetPSQLBackupsClusterBackupMetadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate string `pulumi:"createdDate"`
}

type GetPSQLBackupsClusterBackupMetadataArgs

type GetPSQLBackupsClusterBackupMetadataArgs struct {
	// The ISO 8601 creation timestamp.
	CreatedDate pulumi.StringInput `pulumi:"createdDate"`
}

func (GetPSQLBackupsClusterBackupMetadataArgs) ElementType

func (GetPSQLBackupsClusterBackupMetadataArgs) ToGetPSQLBackupsClusterBackupMetadataOutput

func (i GetPSQLBackupsClusterBackupMetadataArgs) ToGetPSQLBackupsClusterBackupMetadataOutput() GetPSQLBackupsClusterBackupMetadataOutput

func (GetPSQLBackupsClusterBackupMetadataArgs) ToGetPSQLBackupsClusterBackupMetadataOutputWithContext

func (i GetPSQLBackupsClusterBackupMetadataArgs) ToGetPSQLBackupsClusterBackupMetadataOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupMetadataOutput

type GetPSQLBackupsClusterBackupMetadataArray

type GetPSQLBackupsClusterBackupMetadataArray []GetPSQLBackupsClusterBackupMetadataInput

func (GetPSQLBackupsClusterBackupMetadataArray) ElementType

func (GetPSQLBackupsClusterBackupMetadataArray) ToGetPSQLBackupsClusterBackupMetadataArrayOutput

func (i GetPSQLBackupsClusterBackupMetadataArray) ToGetPSQLBackupsClusterBackupMetadataArrayOutput() GetPSQLBackupsClusterBackupMetadataArrayOutput

func (GetPSQLBackupsClusterBackupMetadataArray) ToGetPSQLBackupsClusterBackupMetadataArrayOutputWithContext

func (i GetPSQLBackupsClusterBackupMetadataArray) ToGetPSQLBackupsClusterBackupMetadataArrayOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupMetadataArrayOutput

type GetPSQLBackupsClusterBackupMetadataArrayInput

type GetPSQLBackupsClusterBackupMetadataArrayInput interface {
	pulumi.Input

	ToGetPSQLBackupsClusterBackupMetadataArrayOutput() GetPSQLBackupsClusterBackupMetadataArrayOutput
	ToGetPSQLBackupsClusterBackupMetadataArrayOutputWithContext(context.Context) GetPSQLBackupsClusterBackupMetadataArrayOutput
}

GetPSQLBackupsClusterBackupMetadataArrayInput is an input type that accepts GetPSQLBackupsClusterBackupMetadataArray and GetPSQLBackupsClusterBackupMetadataArrayOutput values. You can construct a concrete instance of `GetPSQLBackupsClusterBackupMetadataArrayInput` via:

GetPSQLBackupsClusterBackupMetadataArray{ GetPSQLBackupsClusterBackupMetadataArgs{...} }

type GetPSQLBackupsClusterBackupMetadataArrayOutput

type GetPSQLBackupsClusterBackupMetadataArrayOutput struct{ *pulumi.OutputState }

func (GetPSQLBackupsClusterBackupMetadataArrayOutput) ElementType

func (GetPSQLBackupsClusterBackupMetadataArrayOutput) Index

func (GetPSQLBackupsClusterBackupMetadataArrayOutput) ToGetPSQLBackupsClusterBackupMetadataArrayOutput

func (o GetPSQLBackupsClusterBackupMetadataArrayOutput) ToGetPSQLBackupsClusterBackupMetadataArrayOutput() GetPSQLBackupsClusterBackupMetadataArrayOutput

func (GetPSQLBackupsClusterBackupMetadataArrayOutput) ToGetPSQLBackupsClusterBackupMetadataArrayOutputWithContext

func (o GetPSQLBackupsClusterBackupMetadataArrayOutput) ToGetPSQLBackupsClusterBackupMetadataArrayOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupMetadataArrayOutput

type GetPSQLBackupsClusterBackupMetadataInput

type GetPSQLBackupsClusterBackupMetadataInput interface {
	pulumi.Input

	ToGetPSQLBackupsClusterBackupMetadataOutput() GetPSQLBackupsClusterBackupMetadataOutput
	ToGetPSQLBackupsClusterBackupMetadataOutputWithContext(context.Context) GetPSQLBackupsClusterBackupMetadataOutput
}

GetPSQLBackupsClusterBackupMetadataInput is an input type that accepts GetPSQLBackupsClusterBackupMetadataArgs and GetPSQLBackupsClusterBackupMetadataOutput values. You can construct a concrete instance of `GetPSQLBackupsClusterBackupMetadataInput` via:

GetPSQLBackupsClusterBackupMetadataArgs{...}

type GetPSQLBackupsClusterBackupMetadataOutput

type GetPSQLBackupsClusterBackupMetadataOutput struct{ *pulumi.OutputState }

func (GetPSQLBackupsClusterBackupMetadataOutput) CreatedDate

The ISO 8601 creation timestamp.

func (GetPSQLBackupsClusterBackupMetadataOutput) ElementType

func (GetPSQLBackupsClusterBackupMetadataOutput) ToGetPSQLBackupsClusterBackupMetadataOutput

func (o GetPSQLBackupsClusterBackupMetadataOutput) ToGetPSQLBackupsClusterBackupMetadataOutput() GetPSQLBackupsClusterBackupMetadataOutput

func (GetPSQLBackupsClusterBackupMetadataOutput) ToGetPSQLBackupsClusterBackupMetadataOutputWithContext

func (o GetPSQLBackupsClusterBackupMetadataOutput) ToGetPSQLBackupsClusterBackupMetadataOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupMetadataOutput

type GetPSQLBackupsClusterBackupOutput

type GetPSQLBackupsClusterBackupOutput struct{ *pulumi.OutputState }

func (GetPSQLBackupsClusterBackupOutput) ClusterId

The unique ID of the cluster.

`clusterId` must be provided. If it is not provided, the datasource will return an error.

func (GetPSQLBackupsClusterBackupOutput) EarliestRecoveryTargetTime

func (o GetPSQLBackupsClusterBackupOutput) EarliestRecoveryTargetTime() pulumi.StringOutput

The oldest available timestamp to which you can restore.

func (GetPSQLBackupsClusterBackupOutput) ElementType

func (GetPSQLBackupsClusterBackupOutput) Id

The unique ID of the resource.

func (GetPSQLBackupsClusterBackupOutput) IsActive

Whether a cluster currently backs up data to this backup.

func (GetPSQLBackupsClusterBackupOutput) Location

The IONOS Object Storage location where the backups will be stored.

func (GetPSQLBackupsClusterBackupOutput) Metadatas

Metadata of the resource.

func (GetPSQLBackupsClusterBackupOutput) Size

The size of all base backups including the wal size in MB.

func (GetPSQLBackupsClusterBackupOutput) ToGetPSQLBackupsClusterBackupOutput

func (o GetPSQLBackupsClusterBackupOutput) ToGetPSQLBackupsClusterBackupOutput() GetPSQLBackupsClusterBackupOutput

func (GetPSQLBackupsClusterBackupOutput) ToGetPSQLBackupsClusterBackupOutputWithContext

func (o GetPSQLBackupsClusterBackupOutput) ToGetPSQLBackupsClusterBackupOutputWithContext(ctx context.Context) GetPSQLBackupsClusterBackupOutput

func (GetPSQLBackupsClusterBackupOutput) Type

func (GetPSQLBackupsClusterBackupOutput) Version

The PostgreSQL version this backup was created from.

type GetPSQLBackupsOutputArgs

type GetPSQLBackupsOutputArgs struct {
	// The unique ID of the cluster.
	//
	// `clusterId` must be provided. If it is not provided, the datasource will return an error.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
}

A collection of arguments for invoking getPSQLBackups.

func (GetPSQLBackupsOutputArgs) ElementType

func (GetPSQLBackupsOutputArgs) ElementType() reflect.Type

type GetPSQLBackupsResult

type GetPSQLBackupsResult struct {
	// List of backups.
	ClusterBackups []GetPSQLBackupsClusterBackup `pulumi:"clusterBackups"`
	// The unique ID of the cluster
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getPSQLBackups.

func GetPSQLBackups

func GetPSQLBackups(ctx *pulumi.Context, args *GetPSQLBackupsArgs, opts ...pulumi.InvokeOption) (*GetPSQLBackupsResult, error)

The **DbaaS Postgres Backups data source** can be used to search for and return existing DbaaS Postgres Backups for a specific Cluster. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetPSQLBackups(ctx, &dbaas.GetPSQLBackupsArgs{
			ClusterId: "cluster_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPSQLBackupsResultOutput

type GetPSQLBackupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPSQLBackups.

func (GetPSQLBackupsResultOutput) ClusterBackups

List of backups.

func (GetPSQLBackupsResultOutput) ClusterId

The unique ID of the cluster

func (GetPSQLBackupsResultOutput) ElementType

func (GetPSQLBackupsResultOutput) ElementType() reflect.Type

func (GetPSQLBackupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPSQLBackupsResultOutput) ToGetPSQLBackupsResultOutput

func (o GetPSQLBackupsResultOutput) ToGetPSQLBackupsResultOutput() GetPSQLBackupsResultOutput

func (GetPSQLBackupsResultOutput) ToGetPSQLBackupsResultOutputWithContext

func (o GetPSQLBackupsResultOutput) ToGetPSQLBackupsResultOutputWithContext(ctx context.Context) GetPSQLBackupsResultOutput

type GetPSQLClusterConnection

type GetPSQLClusterConnection struct {
	// The IP and subnet for the database.
	Cidr string `pulumi:"cidr"`
	// The datacenter to connect your cluster to.
	DatacenterId string `pulumi:"datacenterId"`
	// The LAN to connect your cluster to.
	LanId string `pulumi:"lanId"`
}

type GetPSQLClusterConnectionArgs

type GetPSQLClusterConnectionArgs struct {
	// The IP and subnet for the database.
	Cidr pulumi.StringInput `pulumi:"cidr"`
	// The datacenter to connect your cluster to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// The LAN to connect your cluster to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (GetPSQLClusterConnectionArgs) ElementType

func (GetPSQLClusterConnectionArgs) ToGetPSQLClusterConnectionOutput

func (i GetPSQLClusterConnectionArgs) ToGetPSQLClusterConnectionOutput() GetPSQLClusterConnectionOutput

func (GetPSQLClusterConnectionArgs) ToGetPSQLClusterConnectionOutputWithContext

func (i GetPSQLClusterConnectionArgs) ToGetPSQLClusterConnectionOutputWithContext(ctx context.Context) GetPSQLClusterConnectionOutput

type GetPSQLClusterConnectionArray

type GetPSQLClusterConnectionArray []GetPSQLClusterConnectionInput

func (GetPSQLClusterConnectionArray) ElementType

func (GetPSQLClusterConnectionArray) ToGetPSQLClusterConnectionArrayOutput

func (i GetPSQLClusterConnectionArray) ToGetPSQLClusterConnectionArrayOutput() GetPSQLClusterConnectionArrayOutput

func (GetPSQLClusterConnectionArray) ToGetPSQLClusterConnectionArrayOutputWithContext

func (i GetPSQLClusterConnectionArray) ToGetPSQLClusterConnectionArrayOutputWithContext(ctx context.Context) GetPSQLClusterConnectionArrayOutput

type GetPSQLClusterConnectionArrayInput

type GetPSQLClusterConnectionArrayInput interface {
	pulumi.Input

	ToGetPSQLClusterConnectionArrayOutput() GetPSQLClusterConnectionArrayOutput
	ToGetPSQLClusterConnectionArrayOutputWithContext(context.Context) GetPSQLClusterConnectionArrayOutput
}

GetPSQLClusterConnectionArrayInput is an input type that accepts GetPSQLClusterConnectionArray and GetPSQLClusterConnectionArrayOutput values. You can construct a concrete instance of `GetPSQLClusterConnectionArrayInput` via:

GetPSQLClusterConnectionArray{ GetPSQLClusterConnectionArgs{...} }

type GetPSQLClusterConnectionArrayOutput

type GetPSQLClusterConnectionArrayOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterConnectionArrayOutput) ElementType

func (GetPSQLClusterConnectionArrayOutput) Index

func (GetPSQLClusterConnectionArrayOutput) ToGetPSQLClusterConnectionArrayOutput

func (o GetPSQLClusterConnectionArrayOutput) ToGetPSQLClusterConnectionArrayOutput() GetPSQLClusterConnectionArrayOutput

func (GetPSQLClusterConnectionArrayOutput) ToGetPSQLClusterConnectionArrayOutputWithContext

func (o GetPSQLClusterConnectionArrayOutput) ToGetPSQLClusterConnectionArrayOutputWithContext(ctx context.Context) GetPSQLClusterConnectionArrayOutput

type GetPSQLClusterConnectionInput

type GetPSQLClusterConnectionInput interface {
	pulumi.Input

	ToGetPSQLClusterConnectionOutput() GetPSQLClusterConnectionOutput
	ToGetPSQLClusterConnectionOutputWithContext(context.Context) GetPSQLClusterConnectionOutput
}

GetPSQLClusterConnectionInput is an input type that accepts GetPSQLClusterConnectionArgs and GetPSQLClusterConnectionOutput values. You can construct a concrete instance of `GetPSQLClusterConnectionInput` via:

GetPSQLClusterConnectionArgs{...}

type GetPSQLClusterConnectionOutput

type GetPSQLClusterConnectionOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterConnectionOutput) Cidr

The IP and subnet for the database.

func (GetPSQLClusterConnectionOutput) DatacenterId

The datacenter to connect your cluster to.

func (GetPSQLClusterConnectionOutput) ElementType

func (GetPSQLClusterConnectionOutput) LanId

The LAN to connect your cluster to.

func (GetPSQLClusterConnectionOutput) ToGetPSQLClusterConnectionOutput

func (o GetPSQLClusterConnectionOutput) ToGetPSQLClusterConnectionOutput() GetPSQLClusterConnectionOutput

func (GetPSQLClusterConnectionOutput) ToGetPSQLClusterConnectionOutputWithContext

func (o GetPSQLClusterConnectionOutput) ToGetPSQLClusterConnectionOutputWithContext(ctx context.Context) GetPSQLClusterConnectionOutput

type GetPSQLClusterConnectionPooler

type GetPSQLClusterConnectionPooler struct {
	Enabled bool `pulumi:"enabled"`
	// Represents different modes of connection pooling for the connection pooler.
	PoolMode string `pulumi:"poolMode"`
}

type GetPSQLClusterConnectionPoolerArgs

type GetPSQLClusterConnectionPoolerArgs struct {
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Represents different modes of connection pooling for the connection pooler.
	PoolMode pulumi.StringInput `pulumi:"poolMode"`
}

func (GetPSQLClusterConnectionPoolerArgs) ElementType

func (GetPSQLClusterConnectionPoolerArgs) ToGetPSQLClusterConnectionPoolerOutput

func (i GetPSQLClusterConnectionPoolerArgs) ToGetPSQLClusterConnectionPoolerOutput() GetPSQLClusterConnectionPoolerOutput

func (GetPSQLClusterConnectionPoolerArgs) ToGetPSQLClusterConnectionPoolerOutputWithContext

func (i GetPSQLClusterConnectionPoolerArgs) ToGetPSQLClusterConnectionPoolerOutputWithContext(ctx context.Context) GetPSQLClusterConnectionPoolerOutput

type GetPSQLClusterConnectionPoolerArray

type GetPSQLClusterConnectionPoolerArray []GetPSQLClusterConnectionPoolerInput

func (GetPSQLClusterConnectionPoolerArray) ElementType

func (GetPSQLClusterConnectionPoolerArray) ToGetPSQLClusterConnectionPoolerArrayOutput

func (i GetPSQLClusterConnectionPoolerArray) ToGetPSQLClusterConnectionPoolerArrayOutput() GetPSQLClusterConnectionPoolerArrayOutput

func (GetPSQLClusterConnectionPoolerArray) ToGetPSQLClusterConnectionPoolerArrayOutputWithContext

func (i GetPSQLClusterConnectionPoolerArray) ToGetPSQLClusterConnectionPoolerArrayOutputWithContext(ctx context.Context) GetPSQLClusterConnectionPoolerArrayOutput

type GetPSQLClusterConnectionPoolerArrayInput

type GetPSQLClusterConnectionPoolerArrayInput interface {
	pulumi.Input

	ToGetPSQLClusterConnectionPoolerArrayOutput() GetPSQLClusterConnectionPoolerArrayOutput
	ToGetPSQLClusterConnectionPoolerArrayOutputWithContext(context.Context) GetPSQLClusterConnectionPoolerArrayOutput
}

GetPSQLClusterConnectionPoolerArrayInput is an input type that accepts GetPSQLClusterConnectionPoolerArray and GetPSQLClusterConnectionPoolerArrayOutput values. You can construct a concrete instance of `GetPSQLClusterConnectionPoolerArrayInput` via:

GetPSQLClusterConnectionPoolerArray{ GetPSQLClusterConnectionPoolerArgs{...} }

type GetPSQLClusterConnectionPoolerArrayOutput

type GetPSQLClusterConnectionPoolerArrayOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterConnectionPoolerArrayOutput) ElementType

func (GetPSQLClusterConnectionPoolerArrayOutput) Index

func (GetPSQLClusterConnectionPoolerArrayOutput) ToGetPSQLClusterConnectionPoolerArrayOutput

func (o GetPSQLClusterConnectionPoolerArrayOutput) ToGetPSQLClusterConnectionPoolerArrayOutput() GetPSQLClusterConnectionPoolerArrayOutput

func (GetPSQLClusterConnectionPoolerArrayOutput) ToGetPSQLClusterConnectionPoolerArrayOutputWithContext

func (o GetPSQLClusterConnectionPoolerArrayOutput) ToGetPSQLClusterConnectionPoolerArrayOutputWithContext(ctx context.Context) GetPSQLClusterConnectionPoolerArrayOutput

type GetPSQLClusterConnectionPoolerInput

type GetPSQLClusterConnectionPoolerInput interface {
	pulumi.Input

	ToGetPSQLClusterConnectionPoolerOutput() GetPSQLClusterConnectionPoolerOutput
	ToGetPSQLClusterConnectionPoolerOutputWithContext(context.Context) GetPSQLClusterConnectionPoolerOutput
}

GetPSQLClusterConnectionPoolerInput is an input type that accepts GetPSQLClusterConnectionPoolerArgs and GetPSQLClusterConnectionPoolerOutput values. You can construct a concrete instance of `GetPSQLClusterConnectionPoolerInput` via:

GetPSQLClusterConnectionPoolerArgs{...}

type GetPSQLClusterConnectionPoolerOutput

type GetPSQLClusterConnectionPoolerOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterConnectionPoolerOutput) ElementType

func (GetPSQLClusterConnectionPoolerOutput) Enabled

func (GetPSQLClusterConnectionPoolerOutput) PoolMode

Represents different modes of connection pooling for the connection pooler.

func (GetPSQLClusterConnectionPoolerOutput) ToGetPSQLClusterConnectionPoolerOutput

func (o GetPSQLClusterConnectionPoolerOutput) ToGetPSQLClusterConnectionPoolerOutput() GetPSQLClusterConnectionPoolerOutput

func (GetPSQLClusterConnectionPoolerOutput) ToGetPSQLClusterConnectionPoolerOutputWithContext

func (o GetPSQLClusterConnectionPoolerOutput) ToGetPSQLClusterConnectionPoolerOutputWithContext(ctx context.Context) GetPSQLClusterConnectionPoolerOutput

type GetPSQLClusterFromBackup

type GetPSQLClusterFromBackup struct {
	// The PostgreSQL version of your cluster.
	BackupId string `pulumi:"backupId"`
	// If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp.
	RecoveryTargetTime string `pulumi:"recoveryTargetTime"`
}

type GetPSQLClusterFromBackupArgs

type GetPSQLClusterFromBackupArgs struct {
	// The PostgreSQL version of your cluster.
	BackupId pulumi.StringInput `pulumi:"backupId"`
	// If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp.
	RecoveryTargetTime pulumi.StringInput `pulumi:"recoveryTargetTime"`
}

func (GetPSQLClusterFromBackupArgs) ElementType

func (GetPSQLClusterFromBackupArgs) ToGetPSQLClusterFromBackupOutput

func (i GetPSQLClusterFromBackupArgs) ToGetPSQLClusterFromBackupOutput() GetPSQLClusterFromBackupOutput

func (GetPSQLClusterFromBackupArgs) ToGetPSQLClusterFromBackupOutputWithContext

func (i GetPSQLClusterFromBackupArgs) ToGetPSQLClusterFromBackupOutputWithContext(ctx context.Context) GetPSQLClusterFromBackupOutput

type GetPSQLClusterFromBackupArray

type GetPSQLClusterFromBackupArray []GetPSQLClusterFromBackupInput

func (GetPSQLClusterFromBackupArray) ElementType

func (GetPSQLClusterFromBackupArray) ToGetPSQLClusterFromBackupArrayOutput

func (i GetPSQLClusterFromBackupArray) ToGetPSQLClusterFromBackupArrayOutput() GetPSQLClusterFromBackupArrayOutput

func (GetPSQLClusterFromBackupArray) ToGetPSQLClusterFromBackupArrayOutputWithContext

func (i GetPSQLClusterFromBackupArray) ToGetPSQLClusterFromBackupArrayOutputWithContext(ctx context.Context) GetPSQLClusterFromBackupArrayOutput

type GetPSQLClusterFromBackupArrayInput

type GetPSQLClusterFromBackupArrayInput interface {
	pulumi.Input

	ToGetPSQLClusterFromBackupArrayOutput() GetPSQLClusterFromBackupArrayOutput
	ToGetPSQLClusterFromBackupArrayOutputWithContext(context.Context) GetPSQLClusterFromBackupArrayOutput
}

GetPSQLClusterFromBackupArrayInput is an input type that accepts GetPSQLClusterFromBackupArray and GetPSQLClusterFromBackupArrayOutput values. You can construct a concrete instance of `GetPSQLClusterFromBackupArrayInput` via:

GetPSQLClusterFromBackupArray{ GetPSQLClusterFromBackupArgs{...} }

type GetPSQLClusterFromBackupArrayOutput

type GetPSQLClusterFromBackupArrayOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterFromBackupArrayOutput) ElementType

func (GetPSQLClusterFromBackupArrayOutput) Index

func (GetPSQLClusterFromBackupArrayOutput) ToGetPSQLClusterFromBackupArrayOutput

func (o GetPSQLClusterFromBackupArrayOutput) ToGetPSQLClusterFromBackupArrayOutput() GetPSQLClusterFromBackupArrayOutput

func (GetPSQLClusterFromBackupArrayOutput) ToGetPSQLClusterFromBackupArrayOutputWithContext

func (o GetPSQLClusterFromBackupArrayOutput) ToGetPSQLClusterFromBackupArrayOutputWithContext(ctx context.Context) GetPSQLClusterFromBackupArrayOutput

type GetPSQLClusterFromBackupInput

type GetPSQLClusterFromBackupInput interface {
	pulumi.Input

	ToGetPSQLClusterFromBackupOutput() GetPSQLClusterFromBackupOutput
	ToGetPSQLClusterFromBackupOutputWithContext(context.Context) GetPSQLClusterFromBackupOutput
}

GetPSQLClusterFromBackupInput is an input type that accepts GetPSQLClusterFromBackupArgs and GetPSQLClusterFromBackupOutput values. You can construct a concrete instance of `GetPSQLClusterFromBackupInput` via:

GetPSQLClusterFromBackupArgs{...}

type GetPSQLClusterFromBackupOutput

type GetPSQLClusterFromBackupOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterFromBackupOutput) BackupId

The PostgreSQL version of your cluster.

func (GetPSQLClusterFromBackupOutput) ElementType

func (GetPSQLClusterFromBackupOutput) RecoveryTargetTime

func (o GetPSQLClusterFromBackupOutput) RecoveryTargetTime() pulumi.StringOutput

If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp.

func (GetPSQLClusterFromBackupOutput) ToGetPSQLClusterFromBackupOutput

func (o GetPSQLClusterFromBackupOutput) ToGetPSQLClusterFromBackupOutput() GetPSQLClusterFromBackupOutput

func (GetPSQLClusterFromBackupOutput) ToGetPSQLClusterFromBackupOutputWithContext

func (o GetPSQLClusterFromBackupOutput) ToGetPSQLClusterFromBackupOutputWithContext(ctx context.Context) GetPSQLClusterFromBackupOutput

type GetPSQLClusterMaintenanceWindow

type GetPSQLClusterMaintenanceWindow struct {
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	Time         string `pulumi:"time"`
}

type GetPSQLClusterMaintenanceWindowArgs

type GetPSQLClusterMaintenanceWindowArgs struct {
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	Time         pulumi.StringInput `pulumi:"time"`
}

func (GetPSQLClusterMaintenanceWindowArgs) ElementType

func (GetPSQLClusterMaintenanceWindowArgs) ToGetPSQLClusterMaintenanceWindowOutput

func (i GetPSQLClusterMaintenanceWindowArgs) ToGetPSQLClusterMaintenanceWindowOutput() GetPSQLClusterMaintenanceWindowOutput

func (GetPSQLClusterMaintenanceWindowArgs) ToGetPSQLClusterMaintenanceWindowOutputWithContext

func (i GetPSQLClusterMaintenanceWindowArgs) ToGetPSQLClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetPSQLClusterMaintenanceWindowOutput

type GetPSQLClusterMaintenanceWindowArray

type GetPSQLClusterMaintenanceWindowArray []GetPSQLClusterMaintenanceWindowInput

func (GetPSQLClusterMaintenanceWindowArray) ElementType

func (GetPSQLClusterMaintenanceWindowArray) ToGetPSQLClusterMaintenanceWindowArrayOutput

func (i GetPSQLClusterMaintenanceWindowArray) ToGetPSQLClusterMaintenanceWindowArrayOutput() GetPSQLClusterMaintenanceWindowArrayOutput

func (GetPSQLClusterMaintenanceWindowArray) ToGetPSQLClusterMaintenanceWindowArrayOutputWithContext

func (i GetPSQLClusterMaintenanceWindowArray) ToGetPSQLClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetPSQLClusterMaintenanceWindowArrayOutput

type GetPSQLClusterMaintenanceWindowArrayInput

type GetPSQLClusterMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetPSQLClusterMaintenanceWindowArrayOutput() GetPSQLClusterMaintenanceWindowArrayOutput
	ToGetPSQLClusterMaintenanceWindowArrayOutputWithContext(context.Context) GetPSQLClusterMaintenanceWindowArrayOutput
}

GetPSQLClusterMaintenanceWindowArrayInput is an input type that accepts GetPSQLClusterMaintenanceWindowArray and GetPSQLClusterMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetPSQLClusterMaintenanceWindowArrayInput` via:

GetPSQLClusterMaintenanceWindowArray{ GetPSQLClusterMaintenanceWindowArgs{...} }

type GetPSQLClusterMaintenanceWindowArrayOutput

type GetPSQLClusterMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterMaintenanceWindowArrayOutput) ElementType

func (GetPSQLClusterMaintenanceWindowArrayOutput) Index

func (GetPSQLClusterMaintenanceWindowArrayOutput) ToGetPSQLClusterMaintenanceWindowArrayOutput

func (o GetPSQLClusterMaintenanceWindowArrayOutput) ToGetPSQLClusterMaintenanceWindowArrayOutput() GetPSQLClusterMaintenanceWindowArrayOutput

func (GetPSQLClusterMaintenanceWindowArrayOutput) ToGetPSQLClusterMaintenanceWindowArrayOutputWithContext

func (o GetPSQLClusterMaintenanceWindowArrayOutput) ToGetPSQLClusterMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetPSQLClusterMaintenanceWindowArrayOutput

type GetPSQLClusterMaintenanceWindowInput

type GetPSQLClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToGetPSQLClusterMaintenanceWindowOutput() GetPSQLClusterMaintenanceWindowOutput
	ToGetPSQLClusterMaintenanceWindowOutputWithContext(context.Context) GetPSQLClusterMaintenanceWindowOutput
}

GetPSQLClusterMaintenanceWindowInput is an input type that accepts GetPSQLClusterMaintenanceWindowArgs and GetPSQLClusterMaintenanceWindowOutput values. You can construct a concrete instance of `GetPSQLClusterMaintenanceWindowInput` via:

GetPSQLClusterMaintenanceWindowArgs{...}

type GetPSQLClusterMaintenanceWindowOutput

type GetPSQLClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetPSQLClusterMaintenanceWindowOutput) DayOfTheWeek

func (GetPSQLClusterMaintenanceWindowOutput) ElementType

func (GetPSQLClusterMaintenanceWindowOutput) Time

func (GetPSQLClusterMaintenanceWindowOutput) ToGetPSQLClusterMaintenanceWindowOutput

func (o GetPSQLClusterMaintenanceWindowOutput) ToGetPSQLClusterMaintenanceWindowOutput() GetPSQLClusterMaintenanceWindowOutput

func (GetPSQLClusterMaintenanceWindowOutput) ToGetPSQLClusterMaintenanceWindowOutputWithContext

func (o GetPSQLClusterMaintenanceWindowOutput) ToGetPSQLClusterMaintenanceWindowOutputWithContext(ctx context.Context) GetPSQLClusterMaintenanceWindowOutput

type GetPSQLDatabasesArgs

type GetPSQLDatabasesArgs struct {
	// [string] The ID of the cluster.
	ClusterId string `pulumi:"clusterId"`
	// [string] Filter using a specific owner.
	Owner *string `pulumi:"owner"`
}

A collection of arguments for invoking getPSQLDatabases.

type GetPSQLDatabasesDatabase

type GetPSQLDatabasesDatabase struct {
	// [string] The ID of the database.
	Id string `pulumi:"id"`
	// [string] The name of the database.
	Name string `pulumi:"name"`
	// [string] Filter using a specific owner.
	Owner string `pulumi:"owner"`
}

type GetPSQLDatabasesDatabaseArgs

type GetPSQLDatabasesDatabaseArgs struct {
	// [string] The ID of the database.
	Id pulumi.StringInput `pulumi:"id"`
	// [string] The name of the database.
	Name pulumi.StringInput `pulumi:"name"`
	// [string] Filter using a specific owner.
	Owner pulumi.StringInput `pulumi:"owner"`
}

func (GetPSQLDatabasesDatabaseArgs) ElementType

func (GetPSQLDatabasesDatabaseArgs) ToGetPSQLDatabasesDatabaseOutput

func (i GetPSQLDatabasesDatabaseArgs) ToGetPSQLDatabasesDatabaseOutput() GetPSQLDatabasesDatabaseOutput

func (GetPSQLDatabasesDatabaseArgs) ToGetPSQLDatabasesDatabaseOutputWithContext

func (i GetPSQLDatabasesDatabaseArgs) ToGetPSQLDatabasesDatabaseOutputWithContext(ctx context.Context) GetPSQLDatabasesDatabaseOutput

type GetPSQLDatabasesDatabaseArray

type GetPSQLDatabasesDatabaseArray []GetPSQLDatabasesDatabaseInput

func (GetPSQLDatabasesDatabaseArray) ElementType

func (GetPSQLDatabasesDatabaseArray) ToGetPSQLDatabasesDatabaseArrayOutput

func (i GetPSQLDatabasesDatabaseArray) ToGetPSQLDatabasesDatabaseArrayOutput() GetPSQLDatabasesDatabaseArrayOutput

func (GetPSQLDatabasesDatabaseArray) ToGetPSQLDatabasesDatabaseArrayOutputWithContext

func (i GetPSQLDatabasesDatabaseArray) ToGetPSQLDatabasesDatabaseArrayOutputWithContext(ctx context.Context) GetPSQLDatabasesDatabaseArrayOutput

type GetPSQLDatabasesDatabaseArrayInput

type GetPSQLDatabasesDatabaseArrayInput interface {
	pulumi.Input

	ToGetPSQLDatabasesDatabaseArrayOutput() GetPSQLDatabasesDatabaseArrayOutput
	ToGetPSQLDatabasesDatabaseArrayOutputWithContext(context.Context) GetPSQLDatabasesDatabaseArrayOutput
}

GetPSQLDatabasesDatabaseArrayInput is an input type that accepts GetPSQLDatabasesDatabaseArray and GetPSQLDatabasesDatabaseArrayOutput values. You can construct a concrete instance of `GetPSQLDatabasesDatabaseArrayInput` via:

GetPSQLDatabasesDatabaseArray{ GetPSQLDatabasesDatabaseArgs{...} }

type GetPSQLDatabasesDatabaseArrayOutput

type GetPSQLDatabasesDatabaseArrayOutput struct{ *pulumi.OutputState }

func (GetPSQLDatabasesDatabaseArrayOutput) ElementType

func (GetPSQLDatabasesDatabaseArrayOutput) Index

func (GetPSQLDatabasesDatabaseArrayOutput) ToGetPSQLDatabasesDatabaseArrayOutput

func (o GetPSQLDatabasesDatabaseArrayOutput) ToGetPSQLDatabasesDatabaseArrayOutput() GetPSQLDatabasesDatabaseArrayOutput

func (GetPSQLDatabasesDatabaseArrayOutput) ToGetPSQLDatabasesDatabaseArrayOutputWithContext

func (o GetPSQLDatabasesDatabaseArrayOutput) ToGetPSQLDatabasesDatabaseArrayOutputWithContext(ctx context.Context) GetPSQLDatabasesDatabaseArrayOutput

type GetPSQLDatabasesDatabaseInput

type GetPSQLDatabasesDatabaseInput interface {
	pulumi.Input

	ToGetPSQLDatabasesDatabaseOutput() GetPSQLDatabasesDatabaseOutput
	ToGetPSQLDatabasesDatabaseOutputWithContext(context.Context) GetPSQLDatabasesDatabaseOutput
}

GetPSQLDatabasesDatabaseInput is an input type that accepts GetPSQLDatabasesDatabaseArgs and GetPSQLDatabasesDatabaseOutput values. You can construct a concrete instance of `GetPSQLDatabasesDatabaseInput` via:

GetPSQLDatabasesDatabaseArgs{...}

type GetPSQLDatabasesDatabaseOutput

type GetPSQLDatabasesDatabaseOutput struct{ *pulumi.OutputState }

func (GetPSQLDatabasesDatabaseOutput) ElementType

func (GetPSQLDatabasesDatabaseOutput) Id

[string] The ID of the database.

func (GetPSQLDatabasesDatabaseOutput) Name

[string] The name of the database.

func (GetPSQLDatabasesDatabaseOutput) Owner

[string] Filter using a specific owner.

func (GetPSQLDatabasesDatabaseOutput) ToGetPSQLDatabasesDatabaseOutput

func (o GetPSQLDatabasesDatabaseOutput) ToGetPSQLDatabasesDatabaseOutput() GetPSQLDatabasesDatabaseOutput

func (GetPSQLDatabasesDatabaseOutput) ToGetPSQLDatabasesDatabaseOutputWithContext

func (o GetPSQLDatabasesDatabaseOutput) ToGetPSQLDatabasesDatabaseOutputWithContext(ctx context.Context) GetPSQLDatabasesDatabaseOutput

type GetPSQLDatabasesOutputArgs

type GetPSQLDatabasesOutputArgs struct {
	// [string] The ID of the cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// [string] Filter using a specific owner.
	Owner pulumi.StringPtrInput `pulumi:"owner"`
}

A collection of arguments for invoking getPSQLDatabases.

func (GetPSQLDatabasesOutputArgs) ElementType

func (GetPSQLDatabasesOutputArgs) ElementType() reflect.Type

type GetPSQLDatabasesResult

type GetPSQLDatabasesResult struct {
	ClusterId string `pulumi:"clusterId"`
	// [list] A list that contains either all databases, either some of them (filter by owner). A database from list has the following format:
	Databases []GetPSQLDatabasesDatabase `pulumi:"databases"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// [string] The owner of the database.
	Owner *string `pulumi:"owner"`
}

A collection of values returned by getPSQLDatabases.

func GetPSQLDatabases

func GetPSQLDatabases(ctx *pulumi.Context, args *GetPSQLDatabasesArgs, opts ...pulumi.InvokeOption) (*GetPSQLDatabasesResult, error)

The **PgSql Databases data source** can be used to search for and return multiple existing PgSql databases.

## Example Usage

### All databases from a specific cluster ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetPSQLDatabases(ctx, &dbaas.GetPSQLDatabasesArgs{
			ClusterId: "cluster_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Filter by owner ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetPSQLDatabases(ctx, &dbaas.GetPSQLDatabasesArgs{
			ClusterId: "cluster_id",
			Owner:     pulumi.StringRef("owner"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPSQLDatabasesResultOutput

type GetPSQLDatabasesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPSQLDatabases.

func (GetPSQLDatabasesResultOutput) ClusterId

func (GetPSQLDatabasesResultOutput) Databases

[list] A list that contains either all databases, either some of them (filter by owner). A database from list has the following format:

func (GetPSQLDatabasesResultOutput) ElementType

func (GetPSQLDatabasesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPSQLDatabasesResultOutput) Owner

[string] The owner of the database.

func (GetPSQLDatabasesResultOutput) ToGetPSQLDatabasesResultOutput

func (o GetPSQLDatabasesResultOutput) ToGetPSQLDatabasesResultOutput() GetPSQLDatabasesResultOutput

func (GetPSQLDatabasesResultOutput) ToGetPSQLDatabasesResultOutputWithContext

func (o GetPSQLDatabasesResultOutput) ToGetPSQLDatabasesResultOutputWithContext(ctx context.Context) GetPSQLDatabasesResultOutput

type GetPSQLVersionsArgs

type GetPSQLVersionsArgs struct {
	// The unique ID of the cluster.
	//
	// If `clusterId` is not provided the data source will return the list of postgres version for all cluster.
	ClusterId *string `pulumi:"clusterId"`
}

A collection of arguments for invoking getPSQLVersions.

type GetPSQLVersionsOutputArgs

type GetPSQLVersionsOutputArgs struct {
	// The unique ID of the cluster.
	//
	// If `clusterId` is not provided the data source will return the list of postgres version for all cluster.
	ClusterId pulumi.StringPtrInput `pulumi:"clusterId"`
}

A collection of arguments for invoking getPSQLVersions.

func (GetPSQLVersionsOutputArgs) ElementType

func (GetPSQLVersionsOutputArgs) ElementType() reflect.Type

type GetPSQLVersionsResult

type GetPSQLVersionsResult struct {
	// Id of the cluster
	ClusterId *string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// list of PostgreSQL versions.
	PostgresVersions []string `pulumi:"postgresVersions"`
}

A collection of values returned by getPSQLVersions.

func GetPSQLVersions

func GetPSQLVersions(ctx *pulumi.Context, args *GetPSQLVersionsArgs, opts ...pulumi.InvokeOption) (*GetPSQLVersionsResult, error)

The **DbaaS Postgres Versions data source** can be used to search for and retrieve list of available postgres versions for a specific cluster or for all clusters.

## Example Usage

### Retrieve list of postgres versions for a specific cluster ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetPSQLVersions(ctx, &dbaas.GetPSQLVersionsArgs{
			ClusterId: pulumi.StringRef("cluster_id"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Retrieve list of postgres versions for all clusters ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.GetPSQLVersions(ctx, &dbaas.GetPSQLVersionsArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPSQLVersionsResultOutput

type GetPSQLVersionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPSQLVersions.

func (GetPSQLVersionsResultOutput) ClusterId

Id of the cluster

func (GetPSQLVersionsResultOutput) ElementType

func (GetPSQLVersionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPSQLVersionsResultOutput) PostgresVersions

list of PostgreSQL versions.

func (GetPSQLVersionsResultOutput) ToGetPSQLVersionsResultOutput

func (o GetPSQLVersionsResultOutput) ToGetPSQLVersionsResultOutput() GetPSQLVersionsResultOutput

func (GetPSQLVersionsResultOutput) ToGetPSQLVersionsResultOutputWithContext

func (o GetPSQLVersionsResultOutput) ToGetPSQLVersionsResultOutputWithContext(ctx context.Context) GetPSQLVersionsResultOutput

type InMemoryDBReplicaSet

type InMemoryDBReplicaSet struct {
	pulumi.CustomResourceState

	// [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
	Connections InMemoryDBReplicaSetConnectionsOutput `pulumi:"connections"`
	// [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
	Credentials InMemoryDBReplicaSetCredentialsOutput `pulumi:"credentials"`
	// [string] The human-readable name of your replica set.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
	//
	// > **⚠ NOTE:** `IONOS_API_URL_INMEMORYDB` can be used to set a custom API URL for the resource. `location` field needs to be empty, otherwise it will override the custom API URL. Setting `endpoint` or `IONOS_API_URL` does not have any effect.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// [string] The eviction policy for the replica set, possible values are:
	EvictionPolicy pulumi.StringOutput `pulumi:"evictionPolicy"`
	// [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
	InitialSnapshotId pulumi.StringPtrOutput `pulumi:"initialSnapshotId"`
	// [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the `IONOS_API_URL` env var, the default `location` will be: `de/fra`.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur.
	MaintenanceWindow InMemoryDBReplicaSetMaintenanceWindowOutput `pulumi:"maintenanceWindow"`
	// [string] Specifies How and If data is persisted, possible values are:
	// * `None` - Data is inMemory only and will not be persisted. Useful for cache only applications.
	// * `AOF` - (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.
	// * `RDB` - RDB persistence performs snapshots of the current in memory state.
	// * `RDB_AOF` - Both RDB and AOF persistence are enabled.
	PersistenceMode pulumi.StringOutput `pulumi:"persistenceMode"`
	// [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
	Replicas pulumi.IntOutput `pulumi:"replicas"`
	// [object] The resources of the individual replicas.
	Resources InMemoryDBReplicaSetResourcesOutput `pulumi:"resources"`
	// [string] The InMemoryDB version of your replica set.
	Version pulumi.StringOutput `pulumi:"version"`
}

Manages a **DBaaS InMemoryDB Replica Set**.

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := compute.NewDatacenter(ctx, "example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for DBaaS InMemoryDB replica sets"),
		})
		if err != nil {
			return err
		}
		exampleLan, err := compute.NewLan(ctx, "example", &compute.LanArgs{
			DatacenterId: example.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = compute.NewServer(ctx, "example", &compute.ServerArgs{
			Name:             pulumi.String("example"),
			DatacenterId:     example.ID(),
			Cores:            pulumi.Int(2),
			Ram:              pulumi.Int(2048),
			AvailabilityZone: pulumi.String("ZONE_1"),
			CpuFamily:        pulumi.String("INTEL_SKYLAKE"),
			ImageName:        pulumi.String("rockylinux-8-GenericCloud-20230518"),
			ImagePassword:    pulumi.String("password"),
			Volume: &compute.ServerVolumeArgs{
				Name:     pulumi.String("example"),
				Size:     pulumi.Int(10),
				DiskType: pulumi.String("SSD Standard"),
			},
			Nic: &compute.ServerNicArgs{
				Lan:  exampleLan.ID(),
				Name: pulumi.String("example"),
				Dhcp: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewInMemoryDBReplicaSet(ctx, "example", &dbaas.InMemoryDBReplicaSetArgs{
			Location:    example.Location,
			DisplayName: pulumi.String("ExampleReplicaSet"),
			Version:     pulumi.String("7.2"),
			Replicas:    pulumi.Int(4),
			Resources: &dbaas.InMemoryDBReplicaSetResourcesArgs{
				Cores: pulumi.Int(1),
				Ram:   pulumi.Int(6),
			},
			PersistenceMode: pulumi.String("RDB"),
			EvictionPolicy:  pulumi.String("noeviction"),
			Connections: &dbaas.InMemoryDBReplicaSetConnectionsArgs{
				DatacenterId: example.ID(),
				LanId:        exampleLan.ID(),
				Cidr:         pulumi.String("database_ip_cidr_from_nic"),
			},
			MaintenanceWindow: &dbaas.InMemoryDBReplicaSetMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Monday"),
				Time:         pulumi.String("10:00:00"),
			},
			Credentials: &dbaas.InMemoryDBReplicaSetCredentialsArgs{
				Username:          pulumi.String("myuser"),
				PlainTextPassword: pulumi.String("testpassword"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Resource DBaaS InMemoryDB Replica Set can be imported using the `replicaset_id` and the `location`, separated by `:`, e.g:

```sh $ pulumi import ionoscloud:dbaas/inMemoryDBReplicaSet:InMemoryDBReplicaSet example location:replicaSet uuid ```

func GetInMemoryDBReplicaSet

func GetInMemoryDBReplicaSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InMemoryDBReplicaSetState, opts ...pulumi.ResourceOption) (*InMemoryDBReplicaSet, error)

GetInMemoryDBReplicaSet gets an existing InMemoryDBReplicaSet 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 NewInMemoryDBReplicaSet

func NewInMemoryDBReplicaSet(ctx *pulumi.Context,
	name string, args *InMemoryDBReplicaSetArgs, opts ...pulumi.ResourceOption) (*InMemoryDBReplicaSet, error)

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

func (*InMemoryDBReplicaSet) ElementType

func (*InMemoryDBReplicaSet) ElementType() reflect.Type

func (*InMemoryDBReplicaSet) ToInMemoryDBReplicaSetOutput

func (i *InMemoryDBReplicaSet) ToInMemoryDBReplicaSetOutput() InMemoryDBReplicaSetOutput

func (*InMemoryDBReplicaSet) ToInMemoryDBReplicaSetOutputWithContext

func (i *InMemoryDBReplicaSet) ToInMemoryDBReplicaSetOutputWithContext(ctx context.Context) InMemoryDBReplicaSetOutput

type InMemoryDBReplicaSetArgs

type InMemoryDBReplicaSetArgs struct {
	// [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
	Connections InMemoryDBReplicaSetConnectionsInput
	// [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
	Credentials InMemoryDBReplicaSetCredentialsInput
	// [string] The human-readable name of your replica set.
	DisplayName pulumi.StringInput
	// [string] The eviction policy for the replica set, possible values are:
	EvictionPolicy pulumi.StringInput
	// [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
	InitialSnapshotId pulumi.StringPtrInput
	// [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the `IONOS_API_URL` env var, the default `location` will be: `de/fra`.
	Location pulumi.StringPtrInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur.
	MaintenanceWindow InMemoryDBReplicaSetMaintenanceWindowPtrInput
	// [string] Specifies How and If data is persisted, possible values are:
	// * `None` - Data is inMemory only and will not be persisted. Useful for cache only applications.
	// * `AOF` - (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.
	// * `RDB` - RDB persistence performs snapshots of the current in memory state.
	// * `RDB_AOF` - Both RDB and AOF persistence are enabled.
	PersistenceMode pulumi.StringInput
	// [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
	Replicas pulumi.IntInput
	// [object] The resources of the individual replicas.
	Resources InMemoryDBReplicaSetResourcesInput
	// [string] The InMemoryDB version of your replica set.
	Version pulumi.StringInput
}

The set of arguments for constructing a InMemoryDBReplicaSet resource.

func (InMemoryDBReplicaSetArgs) ElementType

func (InMemoryDBReplicaSetArgs) ElementType() reflect.Type

type InMemoryDBReplicaSetArray

type InMemoryDBReplicaSetArray []InMemoryDBReplicaSetInput

func (InMemoryDBReplicaSetArray) ElementType

func (InMemoryDBReplicaSetArray) ElementType() reflect.Type

func (InMemoryDBReplicaSetArray) ToInMemoryDBReplicaSetArrayOutput

func (i InMemoryDBReplicaSetArray) ToInMemoryDBReplicaSetArrayOutput() InMemoryDBReplicaSetArrayOutput

func (InMemoryDBReplicaSetArray) ToInMemoryDBReplicaSetArrayOutputWithContext

func (i InMemoryDBReplicaSetArray) ToInMemoryDBReplicaSetArrayOutputWithContext(ctx context.Context) InMemoryDBReplicaSetArrayOutput

type InMemoryDBReplicaSetArrayInput

type InMemoryDBReplicaSetArrayInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetArrayOutput() InMemoryDBReplicaSetArrayOutput
	ToInMemoryDBReplicaSetArrayOutputWithContext(context.Context) InMemoryDBReplicaSetArrayOutput
}

InMemoryDBReplicaSetArrayInput is an input type that accepts InMemoryDBReplicaSetArray and InMemoryDBReplicaSetArrayOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetArrayInput` via:

InMemoryDBReplicaSetArray{ InMemoryDBReplicaSetArgs{...} }

type InMemoryDBReplicaSetArrayOutput

type InMemoryDBReplicaSetArrayOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetArrayOutput) ElementType

func (InMemoryDBReplicaSetArrayOutput) Index

func (InMemoryDBReplicaSetArrayOutput) ToInMemoryDBReplicaSetArrayOutput

func (o InMemoryDBReplicaSetArrayOutput) ToInMemoryDBReplicaSetArrayOutput() InMemoryDBReplicaSetArrayOutput

func (InMemoryDBReplicaSetArrayOutput) ToInMemoryDBReplicaSetArrayOutputWithContext

func (o InMemoryDBReplicaSetArrayOutput) ToInMemoryDBReplicaSetArrayOutputWithContext(ctx context.Context) InMemoryDBReplicaSetArrayOutput

type InMemoryDBReplicaSetConnections

type InMemoryDBReplicaSetConnections struct {
	// [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
	Cidr string `pulumi:"cidr"`
	// [string] The datacenter to connect your instance to.
	DatacenterId string `pulumi:"datacenterId"`
	// [string] The numeric LAN ID to connect your instance to.
	LanId string `pulumi:"lanId"`
}

type InMemoryDBReplicaSetConnectionsArgs

type InMemoryDBReplicaSetConnectionsArgs struct {
	// [string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.
	Cidr pulumi.StringInput `pulumi:"cidr"`
	// [string] The datacenter to connect your instance to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// [string] The numeric LAN ID to connect your instance to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (InMemoryDBReplicaSetConnectionsArgs) ElementType

func (InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsOutput

func (i InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsOutput() InMemoryDBReplicaSetConnectionsOutput

func (InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsOutputWithContext

func (i InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsOutputWithContext(ctx context.Context) InMemoryDBReplicaSetConnectionsOutput

func (InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsPtrOutput

func (i InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsPtrOutput() InMemoryDBReplicaSetConnectionsPtrOutput

func (InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsPtrOutputWithContext

func (i InMemoryDBReplicaSetConnectionsArgs) ToInMemoryDBReplicaSetConnectionsPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetConnectionsPtrOutput

type InMemoryDBReplicaSetConnectionsInput

type InMemoryDBReplicaSetConnectionsInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetConnectionsOutput() InMemoryDBReplicaSetConnectionsOutput
	ToInMemoryDBReplicaSetConnectionsOutputWithContext(context.Context) InMemoryDBReplicaSetConnectionsOutput
}

InMemoryDBReplicaSetConnectionsInput is an input type that accepts InMemoryDBReplicaSetConnectionsArgs and InMemoryDBReplicaSetConnectionsOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetConnectionsInput` via:

InMemoryDBReplicaSetConnectionsArgs{...}

type InMemoryDBReplicaSetConnectionsOutput

type InMemoryDBReplicaSetConnectionsOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetConnectionsOutput) Cidr

[string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.

func (InMemoryDBReplicaSetConnectionsOutput) DatacenterId

[string] The datacenter to connect your instance to.

func (InMemoryDBReplicaSetConnectionsOutput) ElementType

func (InMemoryDBReplicaSetConnectionsOutput) LanId

[string] The numeric LAN ID to connect your instance to.

func (InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsOutput

func (o InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsOutput() InMemoryDBReplicaSetConnectionsOutput

func (InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsOutputWithContext

func (o InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsOutputWithContext(ctx context.Context) InMemoryDBReplicaSetConnectionsOutput

func (InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsPtrOutput

func (o InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsPtrOutput() InMemoryDBReplicaSetConnectionsPtrOutput

func (InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsPtrOutputWithContext

func (o InMemoryDBReplicaSetConnectionsOutput) ToInMemoryDBReplicaSetConnectionsPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetConnectionsPtrOutput

type InMemoryDBReplicaSetConnectionsPtrInput

type InMemoryDBReplicaSetConnectionsPtrInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetConnectionsPtrOutput() InMemoryDBReplicaSetConnectionsPtrOutput
	ToInMemoryDBReplicaSetConnectionsPtrOutputWithContext(context.Context) InMemoryDBReplicaSetConnectionsPtrOutput
}

InMemoryDBReplicaSetConnectionsPtrInput is an input type that accepts InMemoryDBReplicaSetConnectionsArgs, InMemoryDBReplicaSetConnectionsPtr and InMemoryDBReplicaSetConnectionsPtrOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetConnectionsPtrInput` via:

        InMemoryDBReplicaSetConnectionsArgs{...}

or:

        nil

type InMemoryDBReplicaSetConnectionsPtrOutput

type InMemoryDBReplicaSetConnectionsPtrOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetConnectionsPtrOutput) Cidr

[string] The IP and subnet for your instance. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24.

func (InMemoryDBReplicaSetConnectionsPtrOutput) DatacenterId

[string] The datacenter to connect your instance to.

func (InMemoryDBReplicaSetConnectionsPtrOutput) Elem

func (InMemoryDBReplicaSetConnectionsPtrOutput) ElementType

func (InMemoryDBReplicaSetConnectionsPtrOutput) LanId

[string] The numeric LAN ID to connect your instance to.

func (InMemoryDBReplicaSetConnectionsPtrOutput) ToInMemoryDBReplicaSetConnectionsPtrOutput

func (o InMemoryDBReplicaSetConnectionsPtrOutput) ToInMemoryDBReplicaSetConnectionsPtrOutput() InMemoryDBReplicaSetConnectionsPtrOutput

func (InMemoryDBReplicaSetConnectionsPtrOutput) ToInMemoryDBReplicaSetConnectionsPtrOutputWithContext

func (o InMemoryDBReplicaSetConnectionsPtrOutput) ToInMemoryDBReplicaSetConnectionsPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetConnectionsPtrOutput

type InMemoryDBReplicaSetCredentials

type InMemoryDBReplicaSetCredentials struct {
	// [object] The hashed password for a InMemoryDB user.
	HashedPassword *InMemoryDBReplicaSetCredentialsHashedPassword `pulumi:"hashedPassword"`
	// [string] The password for a InMemoryDB user, this is a field that is marked as `Sensitive`.
	PlainTextPassword *string `pulumi:"plainTextPassword"`
	// [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
	Username string `pulumi:"username"`
}

type InMemoryDBReplicaSetCredentialsArgs

type InMemoryDBReplicaSetCredentialsArgs struct {
	// [object] The hashed password for a InMemoryDB user.
	HashedPassword InMemoryDBReplicaSetCredentialsHashedPasswordPtrInput `pulumi:"hashedPassword"`
	// [string] The password for a InMemoryDB user, this is a field that is marked as `Sensitive`.
	PlainTextPassword pulumi.StringPtrInput `pulumi:"plainTextPassword"`
	// [string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').
	Username pulumi.StringInput `pulumi:"username"`
}

func (InMemoryDBReplicaSetCredentialsArgs) ElementType

func (InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsOutput

func (i InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsOutput() InMemoryDBReplicaSetCredentialsOutput

func (InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsOutputWithContext

func (i InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsOutput

func (InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsPtrOutput

func (i InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsPtrOutput() InMemoryDBReplicaSetCredentialsPtrOutput

func (InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsPtrOutputWithContext

func (i InMemoryDBReplicaSetCredentialsArgs) ToInMemoryDBReplicaSetCredentialsPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsPtrOutput

type InMemoryDBReplicaSetCredentialsHashedPassword

type InMemoryDBReplicaSetCredentialsHashedPassword struct {
	// [string] The value can be only: "SHA-256".
	Algorithm string `pulumi:"algorithm"`
	// [string] The hashed password.
	Hash string `pulumi:"hash"`
}

type InMemoryDBReplicaSetCredentialsHashedPasswordArgs

type InMemoryDBReplicaSetCredentialsHashedPasswordArgs struct {
	// [string] The value can be only: "SHA-256".
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// [string] The hashed password.
	Hash pulumi.StringInput `pulumi:"hash"`
}

func (InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ElementType

func (InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutput

func (i InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutput() InMemoryDBReplicaSetCredentialsHashedPasswordOutput

func (InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutputWithContext

func (i InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsHashedPasswordOutput

func (InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

func (i InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput() InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

func (InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutputWithContext

func (i InMemoryDBReplicaSetCredentialsHashedPasswordArgs) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

type InMemoryDBReplicaSetCredentialsHashedPasswordInput

type InMemoryDBReplicaSetCredentialsHashedPasswordInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetCredentialsHashedPasswordOutput() InMemoryDBReplicaSetCredentialsHashedPasswordOutput
	ToInMemoryDBReplicaSetCredentialsHashedPasswordOutputWithContext(context.Context) InMemoryDBReplicaSetCredentialsHashedPasswordOutput
}

InMemoryDBReplicaSetCredentialsHashedPasswordInput is an input type that accepts InMemoryDBReplicaSetCredentialsHashedPasswordArgs and InMemoryDBReplicaSetCredentialsHashedPasswordOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetCredentialsHashedPasswordInput` via:

InMemoryDBReplicaSetCredentialsHashedPasswordArgs{...}

type InMemoryDBReplicaSetCredentialsHashedPasswordOutput

type InMemoryDBReplicaSetCredentialsHashedPasswordOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetCredentialsHashedPasswordOutput) Algorithm

[string] The value can be only: "SHA-256".

func (InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ElementType

func (InMemoryDBReplicaSetCredentialsHashedPasswordOutput) Hash

[string] The hashed password.

func (InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutput

func (o InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutput() InMemoryDBReplicaSetCredentialsHashedPasswordOutput

func (InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutputWithContext

func (o InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsHashedPasswordOutput

func (InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

func (o InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput() InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

func (InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutputWithContext

func (o InMemoryDBReplicaSetCredentialsHashedPasswordOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

type InMemoryDBReplicaSetCredentialsHashedPasswordPtrInput

type InMemoryDBReplicaSetCredentialsHashedPasswordPtrInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput() InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput
	ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutputWithContext(context.Context) InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput
}

InMemoryDBReplicaSetCredentialsHashedPasswordPtrInput is an input type that accepts InMemoryDBReplicaSetCredentialsHashedPasswordArgs, InMemoryDBReplicaSetCredentialsHashedPasswordPtr and InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetCredentialsHashedPasswordPtrInput` via:

        InMemoryDBReplicaSetCredentialsHashedPasswordArgs{...}

or:

        nil

type InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

type InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput) Algorithm

[string] The value can be only: "SHA-256".

func (InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput) Elem

func (InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput) ElementType

func (InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput) Hash

[string] The hashed password.

func (InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

func (InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutputWithContext

func (o InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput) ToInMemoryDBReplicaSetCredentialsHashedPasswordPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsHashedPasswordPtrOutput

type InMemoryDBReplicaSetCredentialsInput

type InMemoryDBReplicaSetCredentialsInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetCredentialsOutput() InMemoryDBReplicaSetCredentialsOutput
	ToInMemoryDBReplicaSetCredentialsOutputWithContext(context.Context) InMemoryDBReplicaSetCredentialsOutput
}

InMemoryDBReplicaSetCredentialsInput is an input type that accepts InMemoryDBReplicaSetCredentialsArgs and InMemoryDBReplicaSetCredentialsOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetCredentialsInput` via:

InMemoryDBReplicaSetCredentialsArgs{...}

type InMemoryDBReplicaSetCredentialsOutput

type InMemoryDBReplicaSetCredentialsOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetCredentialsOutput) ElementType

func (InMemoryDBReplicaSetCredentialsOutput) HashedPassword

[object] The hashed password for a InMemoryDB user.

func (InMemoryDBReplicaSetCredentialsOutput) PlainTextPassword

[string] The password for a InMemoryDB user, this is a field that is marked as `Sensitive`.

func (InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsOutput

func (o InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsOutput() InMemoryDBReplicaSetCredentialsOutput

func (InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsOutputWithContext

func (o InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsOutput

func (InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsPtrOutput

func (o InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsPtrOutput() InMemoryDBReplicaSetCredentialsPtrOutput

func (InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsPtrOutputWithContext

func (o InMemoryDBReplicaSetCredentialsOutput) ToInMemoryDBReplicaSetCredentialsPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsPtrOutput

func (InMemoryDBReplicaSetCredentialsOutput) Username

[string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').

type InMemoryDBReplicaSetCredentialsPtrInput

type InMemoryDBReplicaSetCredentialsPtrInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetCredentialsPtrOutput() InMemoryDBReplicaSetCredentialsPtrOutput
	ToInMemoryDBReplicaSetCredentialsPtrOutputWithContext(context.Context) InMemoryDBReplicaSetCredentialsPtrOutput
}

InMemoryDBReplicaSetCredentialsPtrInput is an input type that accepts InMemoryDBReplicaSetCredentialsArgs, InMemoryDBReplicaSetCredentialsPtr and InMemoryDBReplicaSetCredentialsPtrOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetCredentialsPtrInput` via:

        InMemoryDBReplicaSetCredentialsArgs{...}

or:

        nil

type InMemoryDBReplicaSetCredentialsPtrOutput

type InMemoryDBReplicaSetCredentialsPtrOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetCredentialsPtrOutput) Elem

func (InMemoryDBReplicaSetCredentialsPtrOutput) ElementType

func (InMemoryDBReplicaSetCredentialsPtrOutput) HashedPassword

[object] The hashed password for a InMemoryDB user.

func (InMemoryDBReplicaSetCredentialsPtrOutput) PlainTextPassword

[string] The password for a InMemoryDB user, this is a field that is marked as `Sensitive`.

func (InMemoryDBReplicaSetCredentialsPtrOutput) ToInMemoryDBReplicaSetCredentialsPtrOutput

func (o InMemoryDBReplicaSetCredentialsPtrOutput) ToInMemoryDBReplicaSetCredentialsPtrOutput() InMemoryDBReplicaSetCredentialsPtrOutput

func (InMemoryDBReplicaSetCredentialsPtrOutput) ToInMemoryDBReplicaSetCredentialsPtrOutputWithContext

func (o InMemoryDBReplicaSetCredentialsPtrOutput) ToInMemoryDBReplicaSetCredentialsPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetCredentialsPtrOutput

func (InMemoryDBReplicaSetCredentialsPtrOutput) Username

[string] The username for the initial InMemoryDB user. Some system usernames are restricted (e.g. 'admin', 'standby').

type InMemoryDBReplicaSetInput

type InMemoryDBReplicaSetInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetOutput() InMemoryDBReplicaSetOutput
	ToInMemoryDBReplicaSetOutputWithContext(ctx context.Context) InMemoryDBReplicaSetOutput
}

type InMemoryDBReplicaSetMaintenanceWindow

type InMemoryDBReplicaSetMaintenanceWindow struct {
	// [string] The name of the week day.
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time string `pulumi:"time"`
}

type InMemoryDBReplicaSetMaintenanceWindowArgs

type InMemoryDBReplicaSetMaintenanceWindowArgs struct {
	// [string] The name of the week day.
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time pulumi.StringInput `pulumi:"time"`
}

func (InMemoryDBReplicaSetMaintenanceWindowArgs) ElementType

func (InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowOutput

func (i InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowOutput() InMemoryDBReplicaSetMaintenanceWindowOutput

func (InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowOutputWithContext

func (i InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowOutputWithContext(ctx context.Context) InMemoryDBReplicaSetMaintenanceWindowOutput

func (InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutput

func (i InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutput() InMemoryDBReplicaSetMaintenanceWindowPtrOutput

func (InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutputWithContext

func (i InMemoryDBReplicaSetMaintenanceWindowArgs) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetMaintenanceWindowPtrOutput

type InMemoryDBReplicaSetMaintenanceWindowInput

type InMemoryDBReplicaSetMaintenanceWindowInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetMaintenanceWindowOutput() InMemoryDBReplicaSetMaintenanceWindowOutput
	ToInMemoryDBReplicaSetMaintenanceWindowOutputWithContext(context.Context) InMemoryDBReplicaSetMaintenanceWindowOutput
}

InMemoryDBReplicaSetMaintenanceWindowInput is an input type that accepts InMemoryDBReplicaSetMaintenanceWindowArgs and InMemoryDBReplicaSetMaintenanceWindowOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetMaintenanceWindowInput` via:

InMemoryDBReplicaSetMaintenanceWindowArgs{...}

type InMemoryDBReplicaSetMaintenanceWindowOutput

type InMemoryDBReplicaSetMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetMaintenanceWindowOutput) DayOfTheWeek

[string] The name of the week day.

func (InMemoryDBReplicaSetMaintenanceWindowOutput) ElementType

func (InMemoryDBReplicaSetMaintenanceWindowOutput) Time

[string] Start of the maintenance window in UTC time.

func (InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowOutput

func (o InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowOutput() InMemoryDBReplicaSetMaintenanceWindowOutput

func (InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowOutputWithContext

func (o InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowOutputWithContext(ctx context.Context) InMemoryDBReplicaSetMaintenanceWindowOutput

func (InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutput

func (o InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutput() InMemoryDBReplicaSetMaintenanceWindowPtrOutput

func (InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutputWithContext

func (o InMemoryDBReplicaSetMaintenanceWindowOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetMaintenanceWindowPtrOutput

type InMemoryDBReplicaSetMaintenanceWindowPtrInput

type InMemoryDBReplicaSetMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetMaintenanceWindowPtrOutput() InMemoryDBReplicaSetMaintenanceWindowPtrOutput
	ToInMemoryDBReplicaSetMaintenanceWindowPtrOutputWithContext(context.Context) InMemoryDBReplicaSetMaintenanceWindowPtrOutput
}

InMemoryDBReplicaSetMaintenanceWindowPtrInput is an input type that accepts InMemoryDBReplicaSetMaintenanceWindowArgs, InMemoryDBReplicaSetMaintenanceWindowPtr and InMemoryDBReplicaSetMaintenanceWindowPtrOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetMaintenanceWindowPtrInput` via:

        InMemoryDBReplicaSetMaintenanceWindowArgs{...}

or:

        nil

type InMemoryDBReplicaSetMaintenanceWindowPtrOutput

type InMemoryDBReplicaSetMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetMaintenanceWindowPtrOutput) DayOfTheWeek

[string] The name of the week day.

func (InMemoryDBReplicaSetMaintenanceWindowPtrOutput) Elem

func (InMemoryDBReplicaSetMaintenanceWindowPtrOutput) ElementType

func (InMemoryDBReplicaSetMaintenanceWindowPtrOutput) Time

[string] Start of the maintenance window in UTC time.

func (InMemoryDBReplicaSetMaintenanceWindowPtrOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutput

func (o InMemoryDBReplicaSetMaintenanceWindowPtrOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutput() InMemoryDBReplicaSetMaintenanceWindowPtrOutput

func (InMemoryDBReplicaSetMaintenanceWindowPtrOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutputWithContext

func (o InMemoryDBReplicaSetMaintenanceWindowPtrOutput) ToInMemoryDBReplicaSetMaintenanceWindowPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetMaintenanceWindowPtrOutput

type InMemoryDBReplicaSetMap

type InMemoryDBReplicaSetMap map[string]InMemoryDBReplicaSetInput

func (InMemoryDBReplicaSetMap) ElementType

func (InMemoryDBReplicaSetMap) ElementType() reflect.Type

func (InMemoryDBReplicaSetMap) ToInMemoryDBReplicaSetMapOutput

func (i InMemoryDBReplicaSetMap) ToInMemoryDBReplicaSetMapOutput() InMemoryDBReplicaSetMapOutput

func (InMemoryDBReplicaSetMap) ToInMemoryDBReplicaSetMapOutputWithContext

func (i InMemoryDBReplicaSetMap) ToInMemoryDBReplicaSetMapOutputWithContext(ctx context.Context) InMemoryDBReplicaSetMapOutput

type InMemoryDBReplicaSetMapInput

type InMemoryDBReplicaSetMapInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetMapOutput() InMemoryDBReplicaSetMapOutput
	ToInMemoryDBReplicaSetMapOutputWithContext(context.Context) InMemoryDBReplicaSetMapOutput
}

InMemoryDBReplicaSetMapInput is an input type that accepts InMemoryDBReplicaSetMap and InMemoryDBReplicaSetMapOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetMapInput` via:

InMemoryDBReplicaSetMap{ "key": InMemoryDBReplicaSetArgs{...} }

type InMemoryDBReplicaSetMapOutput

type InMemoryDBReplicaSetMapOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetMapOutput) ElementType

func (InMemoryDBReplicaSetMapOutput) MapIndex

func (InMemoryDBReplicaSetMapOutput) ToInMemoryDBReplicaSetMapOutput

func (o InMemoryDBReplicaSetMapOutput) ToInMemoryDBReplicaSetMapOutput() InMemoryDBReplicaSetMapOutput

func (InMemoryDBReplicaSetMapOutput) ToInMemoryDBReplicaSetMapOutputWithContext

func (o InMemoryDBReplicaSetMapOutput) ToInMemoryDBReplicaSetMapOutputWithContext(ctx context.Context) InMemoryDBReplicaSetMapOutput

type InMemoryDBReplicaSetOutput

type InMemoryDBReplicaSetOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetOutput) Connections

[object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.

func (InMemoryDBReplicaSetOutput) Credentials

[object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.

func (InMemoryDBReplicaSetOutput) DisplayName

[string] The human-readable name of your replica set.

func (InMemoryDBReplicaSetOutput) DnsName

[string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.

> **⚠ NOTE:** `IONOS_API_URL_INMEMORYDB` can be used to set a custom API URL for the resource. `location` field needs to be empty, otherwise it will override the custom API URL. Setting `endpoint` or `IONOS_API_URL` does not have any effect.

func (InMemoryDBReplicaSetOutput) ElementType

func (InMemoryDBReplicaSetOutput) ElementType() reflect.Type

func (InMemoryDBReplicaSetOutput) EvictionPolicy

func (o InMemoryDBReplicaSetOutput) EvictionPolicy() pulumi.StringOutput

[string] The eviction policy for the replica set, possible values are:

func (InMemoryDBReplicaSetOutput) InitialSnapshotId

func (o InMemoryDBReplicaSetOutput) InitialSnapshotId() pulumi.StringPtrOutput

[string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.

func (InMemoryDBReplicaSetOutput) Location

[string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the `IONOS_API_URL` env var, the default `location` will be: `de/fra`.

func (InMemoryDBReplicaSetOutput) MaintenanceWindow

(Computed) A weekly 4 hour-long window, during which maintenance might occur.

func (InMemoryDBReplicaSetOutput) PersistenceMode

func (o InMemoryDBReplicaSetOutput) PersistenceMode() pulumi.StringOutput

[string] Specifies How and If data is persisted, possible values are: * `None` - Data is inMemory only and will not be persisted. Useful for cache only applications. * `AOF` - (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself. * `RDB` - RDB persistence performs snapshots of the current in memory state. * `RDB_AOF` - Both RDB and AOF persistence are enabled.

func (InMemoryDBReplicaSetOutput) Replicas

[int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.

func (InMemoryDBReplicaSetOutput) Resources

[object] The resources of the individual replicas.

func (InMemoryDBReplicaSetOutput) ToInMemoryDBReplicaSetOutput

func (o InMemoryDBReplicaSetOutput) ToInMemoryDBReplicaSetOutput() InMemoryDBReplicaSetOutput

func (InMemoryDBReplicaSetOutput) ToInMemoryDBReplicaSetOutputWithContext

func (o InMemoryDBReplicaSetOutput) ToInMemoryDBReplicaSetOutputWithContext(ctx context.Context) InMemoryDBReplicaSetOutput

func (InMemoryDBReplicaSetOutput) Version

[string] The InMemoryDB version of your replica set.

type InMemoryDBReplicaSetResources

type InMemoryDBReplicaSetResources struct {
	// [int] The number of CPU cores per instance.
	Cores int `pulumi:"cores"`
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram int `pulumi:"ram"`
	// [int] The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable.
	Storage *int `pulumi:"storage"`
}

type InMemoryDBReplicaSetResourcesArgs

type InMemoryDBReplicaSetResourcesArgs struct {
	// [int] The number of CPU cores per instance.
	Cores pulumi.IntInput `pulumi:"cores"`
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram pulumi.IntInput `pulumi:"ram"`
	// [int] The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable.
	Storage pulumi.IntPtrInput `pulumi:"storage"`
}

func (InMemoryDBReplicaSetResourcesArgs) ElementType

func (InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesOutput

func (i InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesOutput() InMemoryDBReplicaSetResourcesOutput

func (InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesOutputWithContext

func (i InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesOutputWithContext(ctx context.Context) InMemoryDBReplicaSetResourcesOutput

func (InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesPtrOutput

func (i InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesPtrOutput() InMemoryDBReplicaSetResourcesPtrOutput

func (InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesPtrOutputWithContext

func (i InMemoryDBReplicaSetResourcesArgs) ToInMemoryDBReplicaSetResourcesPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetResourcesPtrOutput

type InMemoryDBReplicaSetResourcesInput

type InMemoryDBReplicaSetResourcesInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetResourcesOutput() InMemoryDBReplicaSetResourcesOutput
	ToInMemoryDBReplicaSetResourcesOutputWithContext(context.Context) InMemoryDBReplicaSetResourcesOutput
}

InMemoryDBReplicaSetResourcesInput is an input type that accepts InMemoryDBReplicaSetResourcesArgs and InMemoryDBReplicaSetResourcesOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetResourcesInput` via:

InMemoryDBReplicaSetResourcesArgs{...}

type InMemoryDBReplicaSetResourcesOutput

type InMemoryDBReplicaSetResourcesOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetResourcesOutput) Cores

[int] The number of CPU cores per instance.

func (InMemoryDBReplicaSetResourcesOutput) ElementType

func (InMemoryDBReplicaSetResourcesOutput) Ram

[int] The amount of memory per instance in gigabytes (GB).

func (InMemoryDBReplicaSetResourcesOutput) Storage

[int] The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable.

func (InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesOutput

func (o InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesOutput() InMemoryDBReplicaSetResourcesOutput

func (InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesOutputWithContext

func (o InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesOutputWithContext(ctx context.Context) InMemoryDBReplicaSetResourcesOutput

func (InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesPtrOutput

func (o InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesPtrOutput() InMemoryDBReplicaSetResourcesPtrOutput

func (InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesPtrOutputWithContext

func (o InMemoryDBReplicaSetResourcesOutput) ToInMemoryDBReplicaSetResourcesPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetResourcesPtrOutput

type InMemoryDBReplicaSetResourcesPtrInput

type InMemoryDBReplicaSetResourcesPtrInput interface {
	pulumi.Input

	ToInMemoryDBReplicaSetResourcesPtrOutput() InMemoryDBReplicaSetResourcesPtrOutput
	ToInMemoryDBReplicaSetResourcesPtrOutputWithContext(context.Context) InMemoryDBReplicaSetResourcesPtrOutput
}

InMemoryDBReplicaSetResourcesPtrInput is an input type that accepts InMemoryDBReplicaSetResourcesArgs, InMemoryDBReplicaSetResourcesPtr and InMemoryDBReplicaSetResourcesPtrOutput values. You can construct a concrete instance of `InMemoryDBReplicaSetResourcesPtrInput` via:

        InMemoryDBReplicaSetResourcesArgs{...}

or:

        nil

type InMemoryDBReplicaSetResourcesPtrOutput

type InMemoryDBReplicaSetResourcesPtrOutput struct{ *pulumi.OutputState }

func (InMemoryDBReplicaSetResourcesPtrOutput) Cores

[int] The number of CPU cores per instance.

func (InMemoryDBReplicaSetResourcesPtrOutput) Elem

func (InMemoryDBReplicaSetResourcesPtrOutput) ElementType

func (InMemoryDBReplicaSetResourcesPtrOutput) Ram

[int] The amount of memory per instance in gigabytes (GB).

func (InMemoryDBReplicaSetResourcesPtrOutput) Storage

[int] The size of the storage in GB. The size is derived from the amount of RAM and the persistence mode and is not configurable.

func (InMemoryDBReplicaSetResourcesPtrOutput) ToInMemoryDBReplicaSetResourcesPtrOutput

func (o InMemoryDBReplicaSetResourcesPtrOutput) ToInMemoryDBReplicaSetResourcesPtrOutput() InMemoryDBReplicaSetResourcesPtrOutput

func (InMemoryDBReplicaSetResourcesPtrOutput) ToInMemoryDBReplicaSetResourcesPtrOutputWithContext

func (o InMemoryDBReplicaSetResourcesPtrOutput) ToInMemoryDBReplicaSetResourcesPtrOutputWithContext(ctx context.Context) InMemoryDBReplicaSetResourcesPtrOutput

type InMemoryDBReplicaSetState

type InMemoryDBReplicaSetState struct {
	// [object] The network connection for your replica set. Only one connection is allowed. Updates to the value of the fields force the replica set to be re-created.
	Connections InMemoryDBReplicaSetConnectionsPtrInput
	// [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. These values are used to create the initial InMemoryDB user, updating any of these will force recreation of the replica set resource.
	Credentials InMemoryDBReplicaSetCredentialsPtrInput
	// [string] The human-readable name of your replica set.
	DisplayName pulumi.StringPtrInput
	// [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
	//
	// > **⚠ NOTE:** `IONOS_API_URL_INMEMORYDB` can be used to set a custom API URL for the resource. `location` field needs to be empty, otherwise it will override the custom API URL. Setting `endpoint` or `IONOS_API_URL` does not have any effect.
	DnsName pulumi.StringPtrInput
	// [string] The eviction policy for the replica set, possible values are:
	EvictionPolicy pulumi.StringPtrInput
	// [string] The ID of a snapshot to restore the replica set from. If set, the replica set will be created from the snapshot.
	InitialSnapshotId pulumi.StringPtrInput
	// [string] The location of your replica set. Updates to the value of the field force the replica set to be re-created. If this is not set and if no value is provided for the `IONOS_API_URL` env var, the default `location` will be: `de/fra`.
	Location pulumi.StringPtrInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur.
	MaintenanceWindow InMemoryDBReplicaSetMaintenanceWindowPtrInput
	// [string] Specifies How and If data is persisted, possible values are:
	// * `None` - Data is inMemory only and will not be persisted. Useful for cache only applications.
	// * `AOF` - (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.
	// * `RDB` - RDB persistence performs snapshots of the current in memory state.
	// * `RDB_AOF` - Both RDB and AOF persistence are enabled.
	PersistenceMode pulumi.StringPtrInput
	// [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
	Replicas pulumi.IntPtrInput
	// [object] The resources of the individual replicas.
	Resources InMemoryDBReplicaSetResourcesPtrInput
	// [string] The InMemoryDB version of your replica set.
	Version pulumi.StringPtrInput
}

func (InMemoryDBReplicaSetState) ElementType

func (InMemoryDBReplicaSetState) ElementType() reflect.Type

type LookupInMemoryDBReplicaSetArgs

type LookupInMemoryDBReplicaSetArgs struct {
	// The display name of the InMemoryDB Replica Set.
	DisplayName *string `pulumi:"displayName"`
	// The ID of the InMemoryDB Replica Set.
	Id *string `pulumi:"id"`
	// The location of the InMemoryDB Replica Set.
	//
	// > **Note:** Either `id` or `displayName` must be provided. If none, or both are provided, the datasource will return an error.
	Location *string `pulumi:"location"`
}

A collection of arguments for invoking getInMemoryDBReplicaSet.

type LookupInMemoryDBReplicaSetOutputArgs

type LookupInMemoryDBReplicaSetOutputArgs struct {
	// The display name of the InMemoryDB Replica Set.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// The ID of the InMemoryDB Replica Set.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The location of the InMemoryDB Replica Set.
	//
	// > **Note:** Either `id` or `displayName` must be provided. If none, or both are provided, the datasource will return an error.
	Location pulumi.StringPtrInput `pulumi:"location"`
}

A collection of arguments for invoking getInMemoryDBReplicaSet.

func (LookupInMemoryDBReplicaSetOutputArgs) ElementType

type LookupInMemoryDBReplicaSetResult

type LookupInMemoryDBReplicaSetResult struct {
	// [object] The network connection for your replica set. Only one connection is allowed. It includes:
	Connections []GetInMemoryDBReplicaSetConnection `pulumi:"connections"`
	// [object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. It includes:
	Credentials []GetInMemoryDBReplicaSetCredential `pulumi:"credentials"`
	DisplayName string                              `pulumi:"displayName"`
	// [string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.
	DnsName string `pulumi:"dnsName"`
	// [string] The eviction policy for the replica set, possible values are:
	EvictionPolicy string  `pulumi:"evictionPolicy"`
	Id             string  `pulumi:"id"`
	Location       *string `pulumi:"location"`
	// A weekly 4 hour-long window, during which maintenance might occur. It includes:
	MaintenanceWindows []GetInMemoryDBReplicaSetMaintenanceWindow `pulumi:"maintenanceWindows"`
	// [string] Specifies How and If data is persisted, possible values are:
	// * `None` - Data is inMemory only and will not be persisted. Useful for cache only applications.
	// * `AOF` - (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself.
	// * `RDB` - RDB persistence performs snapshots of the current in memory state.
	// * `RDB_AOF` - Both, RDB and AOF persistence are enabled.
	PersistenceMode string `pulumi:"persistenceMode"`
	// [int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.
	Replicas int `pulumi:"replicas"`
	// [object] The resources of the individual replicas. It includes:
	Resources []GetInMemoryDBReplicaSetResource `pulumi:"resources"`
	// [string] The InMemoryDB version of your replica set.
	Version string `pulumi:"version"`
}

A collection of values returned by getInMemoryDBReplicaSet.

func LookupInMemoryDBReplicaSet

func LookupInMemoryDBReplicaSet(ctx *pulumi.Context, args *LookupInMemoryDBReplicaSetArgs, opts ...pulumi.InvokeOption) (*LookupInMemoryDBReplicaSetResult, error)

The `dbaas.InMemoryDBReplicaSet` data source can be used to retrieve information about an existing InMemoryDB Replica Set.

## Example Usage

### By id ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupInMemoryDBReplicaSet(ctx, &dbaas.LookupInMemoryDBReplicaSetArgs{
			Id:       pulumi.StringRef("example-id"),
			Location: pulumi.StringRef("es/vit"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### By displayName ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupInMemoryDBReplicaSet(ctx, &dbaas.LookupInMemoryDBReplicaSetArgs{
			DisplayName: pulumi.StringRef("example-id"),
			Location:    pulumi.StringRef("us/las"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupInMemoryDBReplicaSetResultOutput

type LookupInMemoryDBReplicaSetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInMemoryDBReplicaSet.

func (LookupInMemoryDBReplicaSetResultOutput) Connections

[object] The network connection for your replica set. Only one connection is allowed. It includes:

func (LookupInMemoryDBReplicaSetResultOutput) Credentials

[object] Credentials for the InMemoryDB replicaset, only one type of password can be used since they are mutually exclusive. It includes:

func (LookupInMemoryDBReplicaSetResultOutput) DisplayName

func (LookupInMemoryDBReplicaSetResultOutput) DnsName

[string] The DNS name pointing to your replica set. Will be used to connect to the active/standalone instance.

func (LookupInMemoryDBReplicaSetResultOutput) ElementType

func (LookupInMemoryDBReplicaSetResultOutput) EvictionPolicy

[string] The eviction policy for the replica set, possible values are:

func (LookupInMemoryDBReplicaSetResultOutput) Id

func (LookupInMemoryDBReplicaSetResultOutput) Location

func (LookupInMemoryDBReplicaSetResultOutput) MaintenanceWindows

A weekly 4 hour-long window, during which maintenance might occur. It includes:

func (LookupInMemoryDBReplicaSetResultOutput) PersistenceMode

[string] Specifies How and If data is persisted, possible values are: * `None` - Data is inMemory only and will not be persisted. Useful for cache only applications. * `AOF` - (Append Only File) AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset. Commands are logged using the same format as the InMemoryDB protocol itself. * `RDB` - RDB persistence performs snapshots of the current in memory state. * `RDB_AOF` - Both, RDB and AOF persistence are enabled.

func (LookupInMemoryDBReplicaSetResultOutput) Replicas

[int] The total number of replicas in the replica set (one active and n-1 passive). In case of a standalone instance, the value is 1. In all other cases, the value is > 1. The replicas will not be available as read replicas, they are only standby for a failure of the active instance.

func (LookupInMemoryDBReplicaSetResultOutput) Resources

[object] The resources of the individual replicas. It includes:

func (LookupInMemoryDBReplicaSetResultOutput) ToLookupInMemoryDBReplicaSetResultOutput

func (o LookupInMemoryDBReplicaSetResultOutput) ToLookupInMemoryDBReplicaSetResultOutput() LookupInMemoryDBReplicaSetResultOutput

func (LookupInMemoryDBReplicaSetResultOutput) ToLookupInMemoryDBReplicaSetResultOutputWithContext

func (o LookupInMemoryDBReplicaSetResultOutput) ToLookupInMemoryDBReplicaSetResultOutputWithContext(ctx context.Context) LookupInMemoryDBReplicaSetResultOutput

func (LookupInMemoryDBReplicaSetResultOutput) Version

[string] The InMemoryDB version of your replica set.

type LookupMariaDBClusterArgs

type LookupMariaDBClusterArgs struct {
	// [string] Display Name of an existing cluster that you want to search for.
	DisplayName *string `pulumi:"displayName"`
	// [string] ID of the cluster you want to search for.
	Id *string `pulumi:"id"`
	// [string] The location of the cluster. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
	//
	// > **⚠ WARNING:** `Location` attribute will become required in the future.
	//
	// Either `displayName` or `id` must be provided. If none or both are provided, the datasource will return an error.
	Location *string `pulumi:"location"`
}

A collection of arguments for invoking getMariaDBCluster.

type LookupMariaDBClusterOutputArgs

type LookupMariaDBClusterOutputArgs struct {
	// [string] Display Name of an existing cluster that you want to search for.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// [string] ID of the cluster you want to search for.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// [string] The location of the cluster. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
	//
	// > **⚠ WARNING:** `Location` attribute will become required in the future.
	//
	// Either `displayName` or `id` must be provided. If none or both are provided, the datasource will return an error.
	Location pulumi.StringPtrInput `pulumi:"location"`
}

A collection of arguments for invoking getMariaDBCluster.

func (LookupMariaDBClusterOutputArgs) ElementType

type LookupMariaDBClusterResult

type LookupMariaDBClusterResult struct {
	// The network connection for your cluster. Only one connection is allowed.
	Connections []GetMariaDBClusterConnection `pulumi:"connections"`
	// [int] The number of CPU cores per instance.
	Cores int `pulumi:"cores"`
	// [string] The friendly name of your cluster.
	DisplayName string `pulumi:"displayName"`
	// [string] The DNS name pointing to your cluster.
	DnsName string `pulumi:"dnsName"`
	Id      string `pulumi:"id"`
	// [int] The total number of instances in the cluster (one primary and n-1 secondary).
	Instances int     `pulumi:"instances"`
	Location  *string `pulumi:"location"`
	// A weekly 4 hour-long window, during which maintenance might occur.
	MaintenanceWindows []GetMariaDBClusterMaintenanceWindow `pulumi:"maintenanceWindows"`
	// [string] The MariaDB version of your cluster.
	MariadbVersion string `pulumi:"mariadbVersion"`
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram int `pulumi:"ram"`
	// [int] The amount of storage per instance in gigabytes (GB).
	StorageSize int `pulumi:"storageSize"`
}

A collection of values returned by getMariaDBCluster.

func LookupMariaDBCluster

func LookupMariaDBCluster(ctx *pulumi.Context, args *LookupMariaDBClusterArgs, opts ...pulumi.InvokeOption) (*LookupMariaDBClusterResult, error)

The **DBaaS MariaDB Cluster data source** can be used to search for and return an existing DBaaS MariaDB Cluster.

## Example Usage

### By ID ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupMariaDBCluster(ctx, &dbaas.LookupMariaDBClusterArgs{
			Id:       pulumi.StringRef("cluster_id"),
			Location: pulumi.StringRef("de/txl"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### By Name

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupMariaDBCluster(ctx, &dbaas.LookupMariaDBClusterArgs{
			DisplayName: pulumi.StringRef("MariaDB_cluster"),
			Location:    pulumi.StringRef("de/txl"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupMariaDBClusterResultOutput

type LookupMariaDBClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMariaDBCluster.

func (LookupMariaDBClusterResultOutput) Connections

The network connection for your cluster. Only one connection is allowed.

func (LookupMariaDBClusterResultOutput) Cores

[int] The number of CPU cores per instance.

func (LookupMariaDBClusterResultOutput) DisplayName

[string] The friendly name of your cluster.

func (LookupMariaDBClusterResultOutput) DnsName

[string] The DNS name pointing to your cluster.

func (LookupMariaDBClusterResultOutput) ElementType

func (LookupMariaDBClusterResultOutput) Id

func (LookupMariaDBClusterResultOutput) Instances

[int] The total number of instances in the cluster (one primary and n-1 secondary).

func (LookupMariaDBClusterResultOutput) Location

func (LookupMariaDBClusterResultOutput) MaintenanceWindows

A weekly 4 hour-long window, during which maintenance might occur.

func (LookupMariaDBClusterResultOutput) MariadbVersion

[string] The MariaDB version of your cluster.

func (LookupMariaDBClusterResultOutput) Ram

[int] The amount of memory per instance in gigabytes (GB).

func (LookupMariaDBClusterResultOutput) StorageSize

[int] The amount of storage per instance in gigabytes (GB).

func (LookupMariaDBClusterResultOutput) ToLookupMariaDBClusterResultOutput

func (o LookupMariaDBClusterResultOutput) ToLookupMariaDBClusterResultOutput() LookupMariaDBClusterResultOutput

func (LookupMariaDBClusterResultOutput) ToLookupMariaDBClusterResultOutputWithContext

func (o LookupMariaDBClusterResultOutput) ToLookupMariaDBClusterResultOutputWithContext(ctx context.Context) LookupMariaDBClusterResultOutput

type LookupMongoClusterArgs

type LookupMongoClusterArgs struct {
	// The name of your cluster. Updates to the value of the field force the cluster to be re-created.
	DisplayName *string `pulumi:"displayName"`
	Id          *string `pulumi:"id"`
}

A collection of arguments for invoking getMongoCluster.

type LookupMongoClusterOutputArgs

type LookupMongoClusterOutputArgs struct {
	// The name of your cluster. Updates to the value of the field force the cluster to be re-created.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	Id          pulumi.StringPtrInput `pulumi:"id"`
}

A collection of arguments for invoking getMongoCluster.

func (LookupMongoClusterOutputArgs) ElementType

type LookupMongoClusterResult

type LookupMongoClusterResult struct {
	Backups      []GetMongoClusterBackup      `pulumi:"backups"`
	BiConnectors []GetMongoClusterBiConnector `pulumi:"biConnectors"`
	// The physical location where the cluster will be created. This will be where all of your instances live. Updates to the value of the field force the cluster to be re-created. Available locations: de/txl, gb/lhr, es/vit"
	ConnectionString string `pulumi:"connectionString"`
	// Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created.
	Connections []GetMongoClusterConnection `pulumi:"connections"`
	// The number of CPU cores per replica. Required for enterprise edition.
	Cores int `pulumi:"cores"`
	// The name of your cluster. Updates to the value of the field force the cluster to be re-created.
	DisplayName string `pulumi:"displayName"`
	// Cluster edition. Playground, business or enterprise.
	Edition string `pulumi:"edition"`
	Id      string `pulumi:"id"`
	// The total number of instances in the cluster (one master and n-1 standbys). Example: 3, 5, 7. Updates to the value of the field force the cluster to be re-created.
	Instances int `pulumi:"instances"`
	// The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.
	Location string `pulumi:"location"`
	// A weekly 4 hour-long window, during which maintenance might occur.  Updates to the value of the field force the cluster to be re-created.
	MaintenanceWindows []GetMongoClusterMaintenanceWindow `pulumi:"maintenanceWindows"`
	// The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created.
	MongodbVersion string `pulumi:"mongodbVersion"`
	// The amount of memory per instance in megabytes. Required for enterprise edition.
	Ram    int `pulumi:"ram"`
	Shards int `pulumi:"shards"`
	// The amount of storage per instance in MB. Required for enterprise edition.
	StorageSize int `pulumi:"storageSize"`
	// The storage type used in your cluster. Required for enterprise edition.
	StorageType string `pulumi:"storageType"`
	// The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created.
	TemplateId string `pulumi:"templateId"`
	Type       string `pulumi:"type"`
}

A collection of values returned by getMongoCluster.

func LookupMongoCluster

func LookupMongoCluster(ctx *pulumi.Context, args *LookupMongoClusterArgs, opts ...pulumi.InvokeOption) (*LookupMongoClusterResult, error)

The **DbaaS Mongo Cluster data source** can be used to search for and return an existing DbaaS MongoDB Cluster. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

## Example Usage

### By ID ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupMongoCluster(ctx, &dbaas.LookupMongoClusterArgs{
			Id: pulumi.StringRef("cluster_id"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### By displayName

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupMongoCluster(ctx, &dbaas.LookupMongoClusterArgs{
			DisplayName: pulumi.StringRef("display_name"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

* `displayName` - (Optional) Display Name of an existing cluster that you want to search for. * `id` - (Optional) ID of the cluster you want to search for.

Either `displayName` or `id` must be provided. If none, or both are provided, the datasource will return an error.

type LookupMongoClusterResultOutput

type LookupMongoClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMongoCluster.

func (LookupMongoClusterResultOutput) Backups

func (LookupMongoClusterResultOutput) BiConnectors

func (LookupMongoClusterResultOutput) ConnectionString

func (o LookupMongoClusterResultOutput) ConnectionString() pulumi.StringOutput

The physical location where the cluster will be created. This will be where all of your instances live. Updates to the value of the field force the cluster to be re-created. Available locations: de/txl, gb/lhr, es/vit"

func (LookupMongoClusterResultOutput) Connections

Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created.

func (LookupMongoClusterResultOutput) Cores

The number of CPU cores per replica. Required for enterprise edition.

func (LookupMongoClusterResultOutput) DisplayName

The name of your cluster. Updates to the value of the field force the cluster to be re-created.

func (LookupMongoClusterResultOutput) Edition

Cluster edition. Playground, business or enterprise.

func (LookupMongoClusterResultOutput) ElementType

func (LookupMongoClusterResultOutput) Id

func (LookupMongoClusterResultOutput) Instances

The total number of instances in the cluster (one master and n-1 standbys). Example: 3, 5, 7. Updates to the value of the field force the cluster to be re-created.

func (LookupMongoClusterResultOutput) Location

The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.

func (LookupMongoClusterResultOutput) MaintenanceWindows

A weekly 4 hour-long window, during which maintenance might occur. Updates to the value of the field force the cluster to be re-created.

func (LookupMongoClusterResultOutput) MongodbVersion

The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created.

func (LookupMongoClusterResultOutput) Ram

The amount of memory per instance in megabytes. Required for enterprise edition.

func (LookupMongoClusterResultOutput) Shards

func (LookupMongoClusterResultOutput) StorageSize

The amount of storage per instance in MB. Required for enterprise edition.

func (LookupMongoClusterResultOutput) StorageType

The storage type used in your cluster. Required for enterprise edition.

func (LookupMongoClusterResultOutput) TemplateId

The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created.

func (LookupMongoClusterResultOutput) ToLookupMongoClusterResultOutput

func (o LookupMongoClusterResultOutput) ToLookupMongoClusterResultOutput() LookupMongoClusterResultOutput

func (LookupMongoClusterResultOutput) ToLookupMongoClusterResultOutputWithContext

func (o LookupMongoClusterResultOutput) ToLookupMongoClusterResultOutputWithContext(ctx context.Context) LookupMongoClusterResultOutput

func (LookupMongoClusterResultOutput) Type

type LookupMongoUserArgs

type LookupMongoUserArgs struct {
	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId string `pulumi:"clusterId"`
	// [string] The user database to use for authentication. Updates to the value of the field force the cluster to be re-created.
	Database *string `pulumi:"database"`
	Id       *string `pulumi:"id"`
	// [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created.
	Roles []GetMongoUserRole `pulumi:"roles"`
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username string `pulumi:"username"`
}

A collection of arguments for invoking getMongoUser.

type LookupMongoUserOutputArgs

type LookupMongoUserOutputArgs struct {
	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// [string] The user database to use for authentication. Updates to the value of the field force the cluster to be re-created.
	Database pulumi.StringPtrInput `pulumi:"database"`
	Id       pulumi.StringPtrInput `pulumi:"id"`
	// [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created.
	Roles GetMongoUserRoleArrayInput `pulumi:"roles"`
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username pulumi.StringInput `pulumi:"username"`
}

A collection of arguments for invoking getMongoUser.

func (LookupMongoUserOutputArgs) ElementType

func (LookupMongoUserOutputArgs) ElementType() reflect.Type

type LookupMongoUserResult

type LookupMongoUserResult struct {
	ClusterId string             `pulumi:"clusterId"`
	Database  string             `pulumi:"database"`
	Id        string             `pulumi:"id"`
	Roles     []GetMongoUserRole `pulumi:"roles"`
	Username  string             `pulumi:"username"`
}

A collection of values returned by getMongoUser.

func LookupMongoUser

func LookupMongoUser(ctx *pulumi.Context, args *LookupMongoUserArgs, opts ...pulumi.InvokeOption) (*LookupMongoUserResult, error)

The **DbaaS Mongo User data source** can be used to search for and return an existing DbaaS MongoDB User. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

## Example Usage

### By username ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupMongoUser(ctx, &dbaas.LookupMongoUserArgs{
			ClusterId: "cluster_id",
			Username:  "username",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupMongoUserResultOutput

type LookupMongoUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMongoUser.

func (LookupMongoUserResultOutput) ClusterId

func (LookupMongoUserResultOutput) Database

func (LookupMongoUserResultOutput) ElementType

func (LookupMongoUserResultOutput) Id

func (LookupMongoUserResultOutput) Roles

func (LookupMongoUserResultOutput) ToLookupMongoUserResultOutput

func (o LookupMongoUserResultOutput) ToLookupMongoUserResultOutput() LookupMongoUserResultOutput

func (LookupMongoUserResultOutput) ToLookupMongoUserResultOutputWithContext

func (o LookupMongoUserResultOutput) ToLookupMongoUserResultOutputWithContext(ctx context.Context) LookupMongoUserResultOutput

func (LookupMongoUserResultOutput) Username

type LookupPSQLClusterArgs

type LookupPSQLClusterArgs struct {
	// Display Name of an existing cluster that you want to search for.
	DisplayName *string `pulumi:"displayName"`
	// ID of the cluster you want to search for.
	//
	// Either `displayName` or `id` must be provided. If none, or both are provided, the datasource will return an error.
	Id *string `pulumi:"id"`
}

A collection of arguments for invoking getPSQLCluster.

type LookupPSQLClusterOutputArgs

type LookupPSQLClusterOutputArgs struct {
	// Display Name of an existing cluster that you want to search for.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// ID of the cluster you want to search for.
	//
	// Either `displayName` or `id` must be provided. If none, or both are provided, the datasource will return an error.
	Id pulumi.StringPtrInput `pulumi:"id"`
}

A collection of arguments for invoking getPSQLCluster.

func (LookupPSQLClusterOutputArgs) ElementType

type LookupPSQLClusterResult

type LookupPSQLClusterResult struct {
	// The IONOS Object Storage location where the backups will be stored.
	BackupLocation string `pulumi:"backupLocation"`
	// Details about the connection pooler.
	ConnectionPoolers []GetPSQLClusterConnectionPooler `pulumi:"connectionPoolers"`
	// Details about the network connection for your cluster.
	Connections []GetPSQLClusterConnection `pulumi:"connections"`
	// The number of CPU cores per replica.
	Cores int `pulumi:"cores"`
	// The friendly name of your cluster.
	DisplayName string `pulumi:"displayName"`
	// The DNS name pointing to your cluster.
	DnsName string `pulumi:"dnsName"`
	// The unique ID of the backup you want to restore.
	FromBackups []GetPSQLClusterFromBackup `pulumi:"fromBackups"`
	Id          string                     `pulumi:"id"`
	// The total number of instances in the cluster (one master and n-1 standbys)
	Instances int `pulumi:"instances"`
	// The physical location where the cluster will be created. This will be where all of your instances live.
	Location string `pulumi:"location"`
	// A weekly 4 hour-long window, during which maintenance might occur
	MaintenanceWindows []GetPSQLClusterMaintenanceWindow `pulumi:"maintenanceWindows"`
	// The PostgreSQL version of your cluster.
	PostgresVersion string `pulumi:"postgresVersion"`
	// The amount of memory per instance in megabytes.
	Ram int `pulumi:"ram"`
	// The amount of storage per instance in MB.
	StorageSize int `pulumi:"storageSize"`
	// The storage type used in your cluster.
	StorageType string `pulumi:"storageType"`
	// Represents different modes of replication.
	SynchronizationMode string `pulumi:"synchronizationMode"`
}

A collection of values returned by getPSQLCluster.

func LookupPSQLCluster

func LookupPSQLCluster(ctx *pulumi.Context, args *LookupPSQLClusterArgs, opts ...pulumi.InvokeOption) (*LookupPSQLClusterResult, error)

The **DbaaS Postgres Cluster data source** can be used to search for and return an existing DbaaS Postgres Cluster. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search string so that it is specific enough to return only one result.

## Example Usage

### By ID ```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupPSQLCluster(ctx, &dbaas.LookupPSQLClusterArgs{
			Id: pulumi.StringRef("cluster_id"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

### By Name

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupPSQLCluster(ctx, &dbaas.LookupPSQLClusterArgs{
			DisplayName: pulumi.StringRef("PostgreSQL_cluster"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPSQLClusterResultOutput

type LookupPSQLClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPSQLCluster.

func (LookupPSQLClusterResultOutput) BackupLocation

The IONOS Object Storage location where the backups will be stored.

func (LookupPSQLClusterResultOutput) ConnectionPoolers

Details about the connection pooler.

func (LookupPSQLClusterResultOutput) Connections

Details about the network connection for your cluster.

func (LookupPSQLClusterResultOutput) Cores

The number of CPU cores per replica.

func (LookupPSQLClusterResultOutput) DisplayName

The friendly name of your cluster.

func (LookupPSQLClusterResultOutput) DnsName

The DNS name pointing to your cluster.

func (LookupPSQLClusterResultOutput) ElementType

func (LookupPSQLClusterResultOutput) FromBackups

The unique ID of the backup you want to restore.

func (LookupPSQLClusterResultOutput) Id

func (LookupPSQLClusterResultOutput) Instances

The total number of instances in the cluster (one master and n-1 standbys)

func (LookupPSQLClusterResultOutput) Location

The physical location where the cluster will be created. This will be where all of your instances live.

func (LookupPSQLClusterResultOutput) MaintenanceWindows

A weekly 4 hour-long window, during which maintenance might occur

func (LookupPSQLClusterResultOutput) PostgresVersion

The PostgreSQL version of your cluster.

func (LookupPSQLClusterResultOutput) Ram

The amount of memory per instance in megabytes.

func (LookupPSQLClusterResultOutput) StorageSize

The amount of storage per instance in MB.

func (LookupPSQLClusterResultOutput) StorageType

The storage type used in your cluster.

func (LookupPSQLClusterResultOutput) SynchronizationMode

func (o LookupPSQLClusterResultOutput) SynchronizationMode() pulumi.StringOutput

Represents different modes of replication.

func (LookupPSQLClusterResultOutput) ToLookupPSQLClusterResultOutput

func (o LookupPSQLClusterResultOutput) ToLookupPSQLClusterResultOutput() LookupPSQLClusterResultOutput

func (LookupPSQLClusterResultOutput) ToLookupPSQLClusterResultOutputWithContext

func (o LookupPSQLClusterResultOutput) ToLookupPSQLClusterResultOutputWithContext(ctx context.Context) LookupPSQLClusterResultOutput

type LookupPSQLDatabaseArgs

type LookupPSQLDatabaseArgs struct {
	// [string] The ID of the cluster.
	ClusterId string `pulumi:"clusterId"`
	// [string] Name of an existing database that you want to search for.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getPSQLDatabase.

type LookupPSQLDatabaseOutputArgs

type LookupPSQLDatabaseOutputArgs struct {
	// [string] The ID of the cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// [string] Name of an existing database that you want to search for.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getPSQLDatabase.

func (LookupPSQLDatabaseOutputArgs) ElementType

type LookupPSQLDatabaseResult

type LookupPSQLDatabaseResult struct {
	ClusterId string `pulumi:"clusterId"`
	// [string] The id of the database.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// [string] The owner of the database.
	Owner string `pulumi:"owner"`
}

A collection of values returned by getPSQLDatabase.

func LookupPSQLDatabase

func LookupPSQLDatabase(ctx *pulumi.Context, args *LookupPSQLDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupPSQLDatabaseResult, error)

The **PgSql Database data source** can be used to search for and return an existing PgSql database.

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupPSQLDatabase(ctx, &dbaas.LookupPSQLDatabaseArgs{
			ClusterId: "cluster_id",
			Name:      "databasename",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPSQLDatabaseResultOutput

type LookupPSQLDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPSQLDatabase.

func (LookupPSQLDatabaseResultOutput) ClusterId

func (LookupPSQLDatabaseResultOutput) ElementType

func (LookupPSQLDatabaseResultOutput) Id

[string] The id of the database.

func (LookupPSQLDatabaseResultOutput) Name

func (LookupPSQLDatabaseResultOutput) Owner

[string] The owner of the database.

func (LookupPSQLDatabaseResultOutput) ToLookupPSQLDatabaseResultOutput

func (o LookupPSQLDatabaseResultOutput) ToLookupPSQLDatabaseResultOutput() LookupPSQLDatabaseResultOutput

func (LookupPSQLDatabaseResultOutput) ToLookupPSQLDatabaseResultOutputWithContext

func (o LookupPSQLDatabaseResultOutput) ToLookupPSQLDatabaseResultOutputWithContext(ctx context.Context) LookupPSQLDatabaseResultOutput

type LookupPSQLUserArgs

type LookupPSQLUserArgs struct {
	// [string] The ID of the cluster.
	ClusterId string `pulumi:"clusterId"`
	// [string] Name of an existing user that you want to search for.
	Username string `pulumi:"username"`
}

A collection of arguments for invoking getPSQLUser.

type LookupPSQLUserOutputArgs

type LookupPSQLUserOutputArgs struct {
	// [string] The ID of the cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// [string] Name of an existing user that you want to search for.
	Username pulumi.StringInput `pulumi:"username"`
}

A collection of arguments for invoking getPSQLUser.

func (LookupPSQLUserOutputArgs) ElementType

func (LookupPSQLUserOutputArgs) ElementType() reflect.Type

type LookupPSQLUserResult

type LookupPSQLUserResult struct {
	ClusterId string `pulumi:"clusterId"`
	// [string] The id of the user.
	Id string `pulumi:"id"`
	// [bool] Describes whether this user is a system user or not. A system user cannot be updated or deleted.
	IsSystemUser bool   `pulumi:"isSystemUser"`
	Username     string `pulumi:"username"`
}

A collection of values returned by getPSQLUser.

func LookupPSQLUser

func LookupPSQLUser(ctx *pulumi.Context, args *LookupPSQLUserArgs, opts ...pulumi.InvokeOption) (*LookupPSQLUserResult, error)

The **PgSql User data source** can be used to search for and return an existing PgSql user.

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.LookupPSQLUser(ctx, &dbaas.LookupPSQLUserArgs{
			ClusterId: "cluster_id",
			Username:  "username",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPSQLUserResultOutput

type LookupPSQLUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPSQLUser.

func (LookupPSQLUserResultOutput) ClusterId

func (LookupPSQLUserResultOutput) ElementType

func (LookupPSQLUserResultOutput) ElementType() reflect.Type

func (LookupPSQLUserResultOutput) Id

[string] The id of the user.

func (LookupPSQLUserResultOutput) IsSystemUser

func (o LookupPSQLUserResultOutput) IsSystemUser() pulumi.BoolOutput

[bool] Describes whether this user is a system user or not. A system user cannot be updated or deleted.

func (LookupPSQLUserResultOutput) ToLookupPSQLUserResultOutput

func (o LookupPSQLUserResultOutput) ToLookupPSQLUserResultOutput() LookupPSQLUserResultOutput

func (LookupPSQLUserResultOutput) ToLookupPSQLUserResultOutputWithContext

func (o LookupPSQLUserResultOutput) ToLookupPSQLUserResultOutputWithContext(ctx context.Context) LookupPSQLUserResultOutput

func (LookupPSQLUserResultOutput) Username

type MariaDBCluster

type MariaDBCluster struct {
	pulumi.CustomResourceState

	// The network connection for your cluster. Only one connection is allowed.
	Connections MariaDBClusterConnectionsOutput `pulumi:"connections"`
	// [int] The number of CPU cores per instance.
	Cores pulumi.IntOutput `pulumi:"cores"`
	// Credentials for the database user to be created.
	Credentials MariaDBClusterCredentialsOutput `pulumi:"credentials"`
	// [string] The friendly name of your cluster.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// [string] The DNS name pointing to your cluster.
	//
	// > **⚠ WARNING:** `IONOS_API_URL_MARIADB` can be used to set a custom API URL for the MariaDB Cluster. `location` field needs to be empty, otherwise it will override the custom API URL. Setting `endpoint` or `IONOS_API_URL` does not have any effect.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// [int] The total number of instances in the cluster (one primary and n-1 secondary).
	Instances pulumi.IntOutput `pulumi:"instances"`
	// [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur
	MaintenanceWindow MariaDBClusterMaintenanceWindowOutput `pulumi:"maintenanceWindow"`
	// [string] The MariaDB version of your cluster. Cannot be downgraded.
	MariadbVersion pulumi.StringOutput `pulumi:"mariadbVersion"`
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram pulumi.IntOutput `pulumi:"ram"`
	// [int] The amount of storage per instance in gigabytes (GB).
	StorageSize pulumi.IntOutput `pulumi:"storageSize"`
}

Manages a **DBaaS MariaDB Cluster**.

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := compute.NewDatacenter(ctx, "example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for testing DBaaS cluster"),
		})
		if err != nil {
			return err
		}
		exampleLan, err := compute.NewLan(ctx, "example", &compute.LanArgs{
			DatacenterId: example.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = compute.NewServer(ctx, "example", &compute.ServerArgs{
			Name:             pulumi.String("example"),
			DatacenterId:     example.ID(),
			Cores:            pulumi.Int(2),
			Ram:              pulumi.Int(2048),
			AvailabilityZone: pulumi.String("ZONE_1"),
			CpuFamily:        pulumi.String("INTEL_SKYLAKE"),
			ImageName:        pulumi.String("rockylinux-8-GenericCloud-20230518"),
			ImagePassword:    pulumi.String("password"),
			Volume: &compute.ServerVolumeArgs{
				Name:     pulumi.String("example"),
				Size:     pulumi.Int(10),
				DiskType: pulumi.String("SSD Standard"),
			},
			Nic: &compute.ServerNicArgs{
				Lan:  exampleLan.ID(),
				Name: pulumi.String("example"),
				Dhcp: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		clusterPassword, err := random.NewPassword(ctx, "cluster_password", &random.PasswordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewMariaDBCluster(ctx, "example", &dbaas.MariaDBClusterArgs{
			MariadbVersion: pulumi.String("10.6"),
			Location:       pulumi.String("de/txl"),
			Instances:      pulumi.Int(1),
			Cores:          pulumi.Int(4),
			Ram:            pulumi.Int(4),
			StorageSize:    pulumi.Int(10),
			Connections: &dbaas.MariaDBClusterConnectionsArgs{
				DatacenterId: example.ID(),
				LanId:        exampleLan.ID(),
				Cidr:         pulumi.String("database_ip_cidr_from_nic"),
			},
			DisplayName: pulumi.String("MariaDB_cluster"),
			MaintenanceWindow: &dbaas.MariaDBClusterMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Sunday"),
				Time:         pulumi.String("09:00:00"),
			},
			Credentials: &dbaas.MariaDBClusterCredentialsArgs{
				Username: pulumi.String("username"),
				Password: clusterPassword.Result,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Resource DBaaS MariaDB Cluster can be imported using the `cluster_id` and the `location`, separated by `:`, e.g.

```sh $ pulumi import ionoscloud:dbaas/mariaDBCluster:MariaDBCluster mycluster location:cluster uuid ```

func GetMariaDBCluster

func GetMariaDBCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MariaDBClusterState, opts ...pulumi.ResourceOption) (*MariaDBCluster, error)

GetMariaDBCluster gets an existing MariaDBCluster 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 NewMariaDBCluster

func NewMariaDBCluster(ctx *pulumi.Context,
	name string, args *MariaDBClusterArgs, opts ...pulumi.ResourceOption) (*MariaDBCluster, error)

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

func (*MariaDBCluster) ElementType

func (*MariaDBCluster) ElementType() reflect.Type

func (*MariaDBCluster) ToMariaDBClusterOutput

func (i *MariaDBCluster) ToMariaDBClusterOutput() MariaDBClusterOutput

func (*MariaDBCluster) ToMariaDBClusterOutputWithContext

func (i *MariaDBCluster) ToMariaDBClusterOutputWithContext(ctx context.Context) MariaDBClusterOutput

type MariaDBClusterArgs

type MariaDBClusterArgs struct {
	// The network connection for your cluster. Only one connection is allowed.
	Connections MariaDBClusterConnectionsInput
	// [int] The number of CPU cores per instance.
	Cores pulumi.IntInput
	// Credentials for the database user to be created.
	Credentials MariaDBClusterCredentialsInput
	// [string] The friendly name of your cluster.
	DisplayName pulumi.StringInput
	// [int] The total number of instances in the cluster (one primary and n-1 secondary).
	Instances pulumi.IntInput
	// [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
	Location pulumi.StringPtrInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur
	MaintenanceWindow MariaDBClusterMaintenanceWindowPtrInput
	// [string] The MariaDB version of your cluster. Cannot be downgraded.
	MariadbVersion pulumi.StringInput
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram pulumi.IntInput
	// [int] The amount of storage per instance in gigabytes (GB).
	StorageSize pulumi.IntInput
}

The set of arguments for constructing a MariaDBCluster resource.

func (MariaDBClusterArgs) ElementType

func (MariaDBClusterArgs) ElementType() reflect.Type

type MariaDBClusterArray

type MariaDBClusterArray []MariaDBClusterInput

func (MariaDBClusterArray) ElementType

func (MariaDBClusterArray) ElementType() reflect.Type

func (MariaDBClusterArray) ToMariaDBClusterArrayOutput

func (i MariaDBClusterArray) ToMariaDBClusterArrayOutput() MariaDBClusterArrayOutput

func (MariaDBClusterArray) ToMariaDBClusterArrayOutputWithContext

func (i MariaDBClusterArray) ToMariaDBClusterArrayOutputWithContext(ctx context.Context) MariaDBClusterArrayOutput

type MariaDBClusterArrayInput

type MariaDBClusterArrayInput interface {
	pulumi.Input

	ToMariaDBClusterArrayOutput() MariaDBClusterArrayOutput
	ToMariaDBClusterArrayOutputWithContext(context.Context) MariaDBClusterArrayOutput
}

MariaDBClusterArrayInput is an input type that accepts MariaDBClusterArray and MariaDBClusterArrayOutput values. You can construct a concrete instance of `MariaDBClusterArrayInput` via:

MariaDBClusterArray{ MariaDBClusterArgs{...} }

type MariaDBClusterArrayOutput

type MariaDBClusterArrayOutput struct{ *pulumi.OutputState }

func (MariaDBClusterArrayOutput) ElementType

func (MariaDBClusterArrayOutput) ElementType() reflect.Type

func (MariaDBClusterArrayOutput) Index

func (MariaDBClusterArrayOutput) ToMariaDBClusterArrayOutput

func (o MariaDBClusterArrayOutput) ToMariaDBClusterArrayOutput() MariaDBClusterArrayOutput

func (MariaDBClusterArrayOutput) ToMariaDBClusterArrayOutputWithContext

func (o MariaDBClusterArrayOutput) ToMariaDBClusterArrayOutputWithContext(ctx context.Context) MariaDBClusterArrayOutput

type MariaDBClusterConnections

type MariaDBClusterConnections struct {
	// [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).
	Cidr string `pulumi:"cidr"`
	// [true] The datacenter to connect your cluster to.
	DatacenterId string `pulumi:"datacenterId"`
	// [true] The numeric LAN ID to connect your cluster to.
	LanId string `pulumi:"lanId"`
}

type MariaDBClusterConnectionsArgs

type MariaDBClusterConnectionsArgs struct {
	// [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).
	Cidr pulumi.StringInput `pulumi:"cidr"`
	// [true] The datacenter to connect your cluster to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// [true] The numeric LAN ID to connect your cluster to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (MariaDBClusterConnectionsArgs) ElementType

func (MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsOutput

func (i MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsOutput() MariaDBClusterConnectionsOutput

func (MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsOutputWithContext

func (i MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsOutputWithContext(ctx context.Context) MariaDBClusterConnectionsOutput

func (MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsPtrOutput

func (i MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsPtrOutput() MariaDBClusterConnectionsPtrOutput

func (MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsPtrOutputWithContext

func (i MariaDBClusterConnectionsArgs) ToMariaDBClusterConnectionsPtrOutputWithContext(ctx context.Context) MariaDBClusterConnectionsPtrOutput

type MariaDBClusterConnectionsInput

type MariaDBClusterConnectionsInput interface {
	pulumi.Input

	ToMariaDBClusterConnectionsOutput() MariaDBClusterConnectionsOutput
	ToMariaDBClusterConnectionsOutputWithContext(context.Context) MariaDBClusterConnectionsOutput
}

MariaDBClusterConnectionsInput is an input type that accepts MariaDBClusterConnectionsArgs and MariaDBClusterConnectionsOutput values. You can construct a concrete instance of `MariaDBClusterConnectionsInput` via:

MariaDBClusterConnectionsArgs{...}

type MariaDBClusterConnectionsOutput

type MariaDBClusterConnectionsOutput struct{ *pulumi.OutputState }

func (MariaDBClusterConnectionsOutput) Cidr

[true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).

func (MariaDBClusterConnectionsOutput) DatacenterId

[true] The datacenter to connect your cluster to.

func (MariaDBClusterConnectionsOutput) ElementType

func (MariaDBClusterConnectionsOutput) LanId

[true] The numeric LAN ID to connect your cluster to.

func (MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsOutput

func (o MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsOutput() MariaDBClusterConnectionsOutput

func (MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsOutputWithContext

func (o MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsOutputWithContext(ctx context.Context) MariaDBClusterConnectionsOutput

func (MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsPtrOutput

func (o MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsPtrOutput() MariaDBClusterConnectionsPtrOutput

func (MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsPtrOutputWithContext

func (o MariaDBClusterConnectionsOutput) ToMariaDBClusterConnectionsPtrOutputWithContext(ctx context.Context) MariaDBClusterConnectionsPtrOutput

type MariaDBClusterConnectionsPtrInput

type MariaDBClusterConnectionsPtrInput interface {
	pulumi.Input

	ToMariaDBClusterConnectionsPtrOutput() MariaDBClusterConnectionsPtrOutput
	ToMariaDBClusterConnectionsPtrOutputWithContext(context.Context) MariaDBClusterConnectionsPtrOutput
}

MariaDBClusterConnectionsPtrInput is an input type that accepts MariaDBClusterConnectionsArgs, MariaDBClusterConnectionsPtr and MariaDBClusterConnectionsPtrOutput values. You can construct a concrete instance of `MariaDBClusterConnectionsPtrInput` via:

        MariaDBClusterConnectionsArgs{...}

or:

        nil

type MariaDBClusterConnectionsPtrOutput

type MariaDBClusterConnectionsPtrOutput struct{ *pulumi.OutputState }

func (MariaDBClusterConnectionsPtrOutput) Cidr

[true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).

func (MariaDBClusterConnectionsPtrOutput) DatacenterId

[true] The datacenter to connect your cluster to.

func (MariaDBClusterConnectionsPtrOutput) Elem

func (MariaDBClusterConnectionsPtrOutput) ElementType

func (MariaDBClusterConnectionsPtrOutput) LanId

[true] The numeric LAN ID to connect your cluster to.

func (MariaDBClusterConnectionsPtrOutput) ToMariaDBClusterConnectionsPtrOutput

func (o MariaDBClusterConnectionsPtrOutput) ToMariaDBClusterConnectionsPtrOutput() MariaDBClusterConnectionsPtrOutput

func (MariaDBClusterConnectionsPtrOutput) ToMariaDBClusterConnectionsPtrOutputWithContext

func (o MariaDBClusterConnectionsPtrOutput) ToMariaDBClusterConnectionsPtrOutputWithContext(ctx context.Context) MariaDBClusterConnectionsPtrOutput

type MariaDBClusterCredentials

type MariaDBClusterCredentials struct {
	// [string] The password for a MariaDB user.
	Password string `pulumi:"password"`
	// [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').
	Username string `pulumi:"username"`
}

type MariaDBClusterCredentialsArgs

type MariaDBClusterCredentialsArgs struct {
	// [string] The password for a MariaDB user.
	Password pulumi.StringInput `pulumi:"password"`
	// [string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').
	Username pulumi.StringInput `pulumi:"username"`
}

func (MariaDBClusterCredentialsArgs) ElementType

func (MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsOutput

func (i MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsOutput() MariaDBClusterCredentialsOutput

func (MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsOutputWithContext

func (i MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsOutputWithContext(ctx context.Context) MariaDBClusterCredentialsOutput

func (MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsPtrOutput

func (i MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsPtrOutput() MariaDBClusterCredentialsPtrOutput

func (MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsPtrOutputWithContext

func (i MariaDBClusterCredentialsArgs) ToMariaDBClusterCredentialsPtrOutputWithContext(ctx context.Context) MariaDBClusterCredentialsPtrOutput

type MariaDBClusterCredentialsInput

type MariaDBClusterCredentialsInput interface {
	pulumi.Input

	ToMariaDBClusterCredentialsOutput() MariaDBClusterCredentialsOutput
	ToMariaDBClusterCredentialsOutputWithContext(context.Context) MariaDBClusterCredentialsOutput
}

MariaDBClusterCredentialsInput is an input type that accepts MariaDBClusterCredentialsArgs and MariaDBClusterCredentialsOutput values. You can construct a concrete instance of `MariaDBClusterCredentialsInput` via:

MariaDBClusterCredentialsArgs{...}

type MariaDBClusterCredentialsOutput

type MariaDBClusterCredentialsOutput struct{ *pulumi.OutputState }

func (MariaDBClusterCredentialsOutput) ElementType

func (MariaDBClusterCredentialsOutput) Password

[string] The password for a MariaDB user.

func (MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsOutput

func (o MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsOutput() MariaDBClusterCredentialsOutput

func (MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsOutputWithContext

func (o MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsOutputWithContext(ctx context.Context) MariaDBClusterCredentialsOutput

func (MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsPtrOutput

func (o MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsPtrOutput() MariaDBClusterCredentialsPtrOutput

func (MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsPtrOutputWithContext

func (o MariaDBClusterCredentialsOutput) ToMariaDBClusterCredentialsPtrOutputWithContext(ctx context.Context) MariaDBClusterCredentialsPtrOutput

func (MariaDBClusterCredentialsOutput) Username

[string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').

type MariaDBClusterCredentialsPtrInput

type MariaDBClusterCredentialsPtrInput interface {
	pulumi.Input

	ToMariaDBClusterCredentialsPtrOutput() MariaDBClusterCredentialsPtrOutput
	ToMariaDBClusterCredentialsPtrOutputWithContext(context.Context) MariaDBClusterCredentialsPtrOutput
}

MariaDBClusterCredentialsPtrInput is an input type that accepts MariaDBClusterCredentialsArgs, MariaDBClusterCredentialsPtr and MariaDBClusterCredentialsPtrOutput values. You can construct a concrete instance of `MariaDBClusterCredentialsPtrInput` via:

        MariaDBClusterCredentialsArgs{...}

or:

        nil

type MariaDBClusterCredentialsPtrOutput

type MariaDBClusterCredentialsPtrOutput struct{ *pulumi.OutputState }

func (MariaDBClusterCredentialsPtrOutput) Elem

func (MariaDBClusterCredentialsPtrOutput) ElementType

func (MariaDBClusterCredentialsPtrOutput) Password

[string] The password for a MariaDB user.

func (MariaDBClusterCredentialsPtrOutput) ToMariaDBClusterCredentialsPtrOutput

func (o MariaDBClusterCredentialsPtrOutput) ToMariaDBClusterCredentialsPtrOutput() MariaDBClusterCredentialsPtrOutput

func (MariaDBClusterCredentialsPtrOutput) ToMariaDBClusterCredentialsPtrOutputWithContext

func (o MariaDBClusterCredentialsPtrOutput) ToMariaDBClusterCredentialsPtrOutputWithContext(ctx context.Context) MariaDBClusterCredentialsPtrOutput

func (MariaDBClusterCredentialsPtrOutput) Username

[string] The username for the initial MariaDB user. Some system usernames are restricted (e.g 'mariadb', 'admin', 'standby').

type MariaDBClusterInput

type MariaDBClusterInput interface {
	pulumi.Input

	ToMariaDBClusterOutput() MariaDBClusterOutput
	ToMariaDBClusterOutputWithContext(ctx context.Context) MariaDBClusterOutput
}

type MariaDBClusterMaintenanceWindow

type MariaDBClusterMaintenanceWindow struct {
	// [string] The name of the week day.
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time string `pulumi:"time"`
}

type MariaDBClusterMaintenanceWindowArgs

type MariaDBClusterMaintenanceWindowArgs struct {
	// [string] The name of the week day.
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	// [string] Start of the maintenance window in UTC time.
	Time pulumi.StringInput `pulumi:"time"`
}

func (MariaDBClusterMaintenanceWindowArgs) ElementType

func (MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowOutput

func (i MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowOutput() MariaDBClusterMaintenanceWindowOutput

func (MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowOutputWithContext

func (i MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowOutputWithContext(ctx context.Context) MariaDBClusterMaintenanceWindowOutput

func (MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowPtrOutput

func (i MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowPtrOutput() MariaDBClusterMaintenanceWindowPtrOutput

func (MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowPtrOutputWithContext

func (i MariaDBClusterMaintenanceWindowArgs) ToMariaDBClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) MariaDBClusterMaintenanceWindowPtrOutput

type MariaDBClusterMaintenanceWindowInput

type MariaDBClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToMariaDBClusterMaintenanceWindowOutput() MariaDBClusterMaintenanceWindowOutput
	ToMariaDBClusterMaintenanceWindowOutputWithContext(context.Context) MariaDBClusterMaintenanceWindowOutput
}

MariaDBClusterMaintenanceWindowInput is an input type that accepts MariaDBClusterMaintenanceWindowArgs and MariaDBClusterMaintenanceWindowOutput values. You can construct a concrete instance of `MariaDBClusterMaintenanceWindowInput` via:

MariaDBClusterMaintenanceWindowArgs{...}

type MariaDBClusterMaintenanceWindowOutput

type MariaDBClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (MariaDBClusterMaintenanceWindowOutput) DayOfTheWeek

[string] The name of the week day.

func (MariaDBClusterMaintenanceWindowOutput) ElementType

func (MariaDBClusterMaintenanceWindowOutput) Time

[string] Start of the maintenance window in UTC time.

func (MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowOutput

func (o MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowOutput() MariaDBClusterMaintenanceWindowOutput

func (MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowOutputWithContext

func (o MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowOutputWithContext(ctx context.Context) MariaDBClusterMaintenanceWindowOutput

func (MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowPtrOutput

func (o MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowPtrOutput() MariaDBClusterMaintenanceWindowPtrOutput

func (MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowPtrOutputWithContext

func (o MariaDBClusterMaintenanceWindowOutput) ToMariaDBClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) MariaDBClusterMaintenanceWindowPtrOutput

type MariaDBClusterMaintenanceWindowPtrInput

type MariaDBClusterMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToMariaDBClusterMaintenanceWindowPtrOutput() MariaDBClusterMaintenanceWindowPtrOutput
	ToMariaDBClusterMaintenanceWindowPtrOutputWithContext(context.Context) MariaDBClusterMaintenanceWindowPtrOutput
}

MariaDBClusterMaintenanceWindowPtrInput is an input type that accepts MariaDBClusterMaintenanceWindowArgs, MariaDBClusterMaintenanceWindowPtr and MariaDBClusterMaintenanceWindowPtrOutput values. You can construct a concrete instance of `MariaDBClusterMaintenanceWindowPtrInput` via:

        MariaDBClusterMaintenanceWindowArgs{...}

or:

        nil

type MariaDBClusterMaintenanceWindowPtrOutput

type MariaDBClusterMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (MariaDBClusterMaintenanceWindowPtrOutput) DayOfTheWeek

[string] The name of the week day.

func (MariaDBClusterMaintenanceWindowPtrOutput) Elem

func (MariaDBClusterMaintenanceWindowPtrOutput) ElementType

func (MariaDBClusterMaintenanceWindowPtrOutput) Time

[string] Start of the maintenance window in UTC time.

func (MariaDBClusterMaintenanceWindowPtrOutput) ToMariaDBClusterMaintenanceWindowPtrOutput

func (o MariaDBClusterMaintenanceWindowPtrOutput) ToMariaDBClusterMaintenanceWindowPtrOutput() MariaDBClusterMaintenanceWindowPtrOutput

func (MariaDBClusterMaintenanceWindowPtrOutput) ToMariaDBClusterMaintenanceWindowPtrOutputWithContext

func (o MariaDBClusterMaintenanceWindowPtrOutput) ToMariaDBClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) MariaDBClusterMaintenanceWindowPtrOutput

type MariaDBClusterMap

type MariaDBClusterMap map[string]MariaDBClusterInput

func (MariaDBClusterMap) ElementType

func (MariaDBClusterMap) ElementType() reflect.Type

func (MariaDBClusterMap) ToMariaDBClusterMapOutput

func (i MariaDBClusterMap) ToMariaDBClusterMapOutput() MariaDBClusterMapOutput

func (MariaDBClusterMap) ToMariaDBClusterMapOutputWithContext

func (i MariaDBClusterMap) ToMariaDBClusterMapOutputWithContext(ctx context.Context) MariaDBClusterMapOutput

type MariaDBClusterMapInput

type MariaDBClusterMapInput interface {
	pulumi.Input

	ToMariaDBClusterMapOutput() MariaDBClusterMapOutput
	ToMariaDBClusterMapOutputWithContext(context.Context) MariaDBClusterMapOutput
}

MariaDBClusterMapInput is an input type that accepts MariaDBClusterMap and MariaDBClusterMapOutput values. You can construct a concrete instance of `MariaDBClusterMapInput` via:

MariaDBClusterMap{ "key": MariaDBClusterArgs{...} }

type MariaDBClusterMapOutput

type MariaDBClusterMapOutput struct{ *pulumi.OutputState }

func (MariaDBClusterMapOutput) ElementType

func (MariaDBClusterMapOutput) ElementType() reflect.Type

func (MariaDBClusterMapOutput) MapIndex

func (MariaDBClusterMapOutput) ToMariaDBClusterMapOutput

func (o MariaDBClusterMapOutput) ToMariaDBClusterMapOutput() MariaDBClusterMapOutput

func (MariaDBClusterMapOutput) ToMariaDBClusterMapOutputWithContext

func (o MariaDBClusterMapOutput) ToMariaDBClusterMapOutputWithContext(ctx context.Context) MariaDBClusterMapOutput

type MariaDBClusterOutput

type MariaDBClusterOutput struct{ *pulumi.OutputState }

func (MariaDBClusterOutput) Connections

The network connection for your cluster. Only one connection is allowed.

func (MariaDBClusterOutput) Cores

[int] The number of CPU cores per instance.

func (MariaDBClusterOutput) Credentials

Credentials for the database user to be created.

func (MariaDBClusterOutput) DisplayName

func (o MariaDBClusterOutput) DisplayName() pulumi.StringOutput

[string] The friendly name of your cluster.

func (MariaDBClusterOutput) DnsName

[string] The DNS name pointing to your cluster.

> **⚠ WARNING:** `IONOS_API_URL_MARIADB` can be used to set a custom API URL for the MariaDB Cluster. `location` field needs to be empty, otherwise it will override the custom API URL. Setting `endpoint` or `IONOS_API_URL` does not have any effect.

func (MariaDBClusterOutput) ElementType

func (MariaDBClusterOutput) ElementType() reflect.Type

func (MariaDBClusterOutput) Instances

func (o MariaDBClusterOutput) Instances() pulumi.IntOutput

[int] The total number of instances in the cluster (one primary and n-1 secondary).

func (MariaDBClusterOutput) Location

[string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".

func (MariaDBClusterOutput) MaintenanceWindow

(Computed) A weekly 4 hour-long window, during which maintenance might occur

func (MariaDBClusterOutput) MariadbVersion

func (o MariaDBClusterOutput) MariadbVersion() pulumi.StringOutput

[string] The MariaDB version of your cluster. Cannot be downgraded.

func (MariaDBClusterOutput) Ram

[int] The amount of memory per instance in gigabytes (GB).

func (MariaDBClusterOutput) StorageSize

func (o MariaDBClusterOutput) StorageSize() pulumi.IntOutput

[int] The amount of storage per instance in gigabytes (GB).

func (MariaDBClusterOutput) ToMariaDBClusterOutput

func (o MariaDBClusterOutput) ToMariaDBClusterOutput() MariaDBClusterOutput

func (MariaDBClusterOutput) ToMariaDBClusterOutputWithContext

func (o MariaDBClusterOutput) ToMariaDBClusterOutputWithContext(ctx context.Context) MariaDBClusterOutput

type MariaDBClusterState

type MariaDBClusterState struct {
	// The network connection for your cluster. Only one connection is allowed.
	Connections MariaDBClusterConnectionsPtrInput
	// [int] The number of CPU cores per instance.
	Cores pulumi.IntPtrInput
	// Credentials for the database user to be created.
	Credentials MariaDBClusterCredentialsPtrInput
	// [string] The friendly name of your cluster.
	DisplayName pulumi.StringPtrInput
	// [string] The DNS name pointing to your cluster.
	//
	// > **⚠ WARNING:** `IONOS_API_URL_MARIADB` can be used to set a custom API URL for the MariaDB Cluster. `location` field needs to be empty, otherwise it will override the custom API URL. Setting `endpoint` or `IONOS_API_URL` does not have any effect.
	DnsName pulumi.StringPtrInput
	// [int] The total number of instances in the cluster (one primary and n-1 secondary).
	Instances pulumi.IntPtrInput
	// [string] The location in which the cluster will be created. Different service endpoints are used based on location, possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl".
	Location pulumi.StringPtrInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur
	MaintenanceWindow MariaDBClusterMaintenanceWindowPtrInput
	// [string] The MariaDB version of your cluster. Cannot be downgraded.
	MariadbVersion pulumi.StringPtrInput
	// [int] The amount of memory per instance in gigabytes (GB).
	Ram pulumi.IntPtrInput
	// [int] The amount of storage per instance in gigabytes (GB).
	StorageSize pulumi.IntPtrInput
}

func (MariaDBClusterState) ElementType

func (MariaDBClusterState) ElementType() reflect.Type

type MongoCluster

type MongoCluster struct {
	pulumi.CustomResourceState

	// [list]
	Backup MongoClusterBackupPtrOutput `pulumi:"backup"`
	// (Computed)The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
	BiConnector MongoClusterBiConnectorOutput `pulumi:"biConnector"`
	// [string] The physical location where the cluster will be created. This will be where all of your instances live. Updates to the value of the field force the cluster to be re-created. Available locations: de/txl, gb/lhr, es/vit
	ConnectionString pulumi.StringOutput `pulumi:"connectionString"`
	// [List] Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created.
	Connections MongoClusterConnectionsOutput `pulumi:"connections"`
	// (Computed)[int] The number of CPU cores per replica. Required for enterprise edition.
	Cores pulumi.IntOutput `pulumi:"cores"`
	// [string] The name of your cluster. Updates to the value of the field force the cluster to be re-created.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Computed)[string] Cluster edition. Playground, business or enterprise.
	Edition pulumi.StringOutput `pulumi:"edition"`
	// [int] The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. Updates to the value of the field force the cluster to be re-created.
	Instances pulumi.IntOutput `pulumi:"instances"`
	// [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
	Location pulumi.StringOutput `pulumi:"location"`
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur.  Updates to the value of the field force the cluster to be re-created.
	MaintenanceWindow MongoClusterMaintenanceWindowOutput `pulumi:"maintenanceWindow"`
	// [string] The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created.
	MongodbVersion pulumi.StringOutput `pulumi:"mongodbVersion"`
	// (Computed)[int]The amount of memory per instance in megabytes. Required for enterprise edition.
	Ram pulumi.IntOutput `pulumi:"ram"`
	// [int]The total number of shards in the cluster.
	Shards pulumi.IntPtrOutput `pulumi:"shards"`
	// (Computed)[int] The amount of storage per instance in MB. Required for enterprise edition.
	StorageSize pulumi.IntOutput `pulumi:"storageSize"`
	// (Computed)[String] The storage type used in your cluster. Required for enterprise edition.
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// [string] The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created. Required for playground and business editions. Must not be provided for enterprise edition.
	TemplateId pulumi.StringPtrOutput `pulumi:"templateId"`
	// (Computed)[string]The cluster type, either `replicaset` or `sharded-cluster`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages a **DbaaS Mongo Cluster**.

## Example Usage

### Playground Or Business Editions. They Require Template_id Defined.

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		datacenterExample, err := compute.NewDatacenter(ctx, "datacenter_example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for testing dbaas cluster"),
		})
		if err != nil {
			return err
		}
		lanExample, err := compute.NewLan(ctx, "lan_example", &compute.LanArgs{
			DatacenterId: datacenterExample.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewMongoCluster(ctx, "example_mongo_cluster", &dbaas.MongoClusterArgs{
			MaintenanceWindow: &dbaas.MongoClusterMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Sunday"),
				Time:         pulumi.String("09:00:00"),
			},
			MongodbVersion: pulumi.String("5.0"),
			Instances:      pulumi.Int(1),
			DisplayName:    pulumi.String("example_mongo_cluster"),
			Location:       datacenterExample.Location,
			Connections: &dbaas.MongoClusterConnectionsArgs{
				DatacenterId: datacenterExample.ID(),
				LanId:        lanExample.ID(),
				CidrLists: pulumi.StringArray{
					pulumi.String("192.168.1.108/24"),
				},
			},
			TemplateId: pulumi.String("6b78ea06-ee0e-4689-998c-fc9c46e781f6"),
		})
		if err != nil {
			return err
		}
		_, err = random.NewPassword(ctx, "cluster_password", &random.PasswordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Enterprise Edition

**Enterprise Support: With MongoDB Enterprise, you gain access to professional support from the MongoDB team ensuring that you receive timely assistance and expert guidance when needed. IONOS offers enterprise-grade Service Level Agreements (SLAs), guaranteeing rapid response times and 24/7 support to address any critical issues that may arise.**

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		datacenterExample, err := compute.NewDatacenter(ctx, "datacenter_example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for testing dbaas cluster"),
		})
		if err != nil {
			return err
		}
		lanExample, err := compute.NewLan(ctx, "lan_example", &compute.LanArgs{
			DatacenterId: datacenterExample.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewMongoCluster(ctx, "example_mongo_cluster", &dbaas.MongoClusterArgs{
			MaintenanceWindow: &dbaas.MongoClusterMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Sunday"),
				Time:         pulumi.String("09:00:00"),
			},
			MongodbVersion: pulumi.String("5.0"),
			Instances:      pulumi.Int(3),
			DisplayName:    pulumi.String("example_mongo_cluster"),
			Location:       datacenterExample.Location,
			Connections: &dbaas.MongoClusterConnectionsArgs{
				DatacenterId: datacenterExample.ID(),
				LanId:        lanExample.ID(),
				CidrLists: pulumi.StringArray{
					pulumi.String("192.168.1.108/24"),
					pulumi.String("192.168.1.109/24"),
					pulumi.String("192.168.1.110/24"),
				},
			},
			Type:        pulumi.String("sharded-cluster"),
			Shards:      pulumi.Int(2),
			Edition:     pulumi.String("enterprise"),
			Ram:         pulumi.Int(2048),
			Cores:       pulumi.Int(1),
			StorageSize: pulumi.Int(5120),
			StorageType: pulumi.String("HDD"),
		})
		if err != nil {
			return err
		}
		_, err = random.NewPassword(ctx, "cluster_password", &random.PasswordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Resource DbaaS MongoDb Cluster can be imported using the `cluster_id`, e.g.

```sh $ pulumi import ionoscloud:dbaas/mongoCluster:MongoCluster mycluser cluster uuid ```

func GetMongoCluster

func GetMongoCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoClusterState, opts ...pulumi.ResourceOption) (*MongoCluster, error)

GetMongoCluster gets an existing MongoCluster 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 NewMongoCluster

func NewMongoCluster(ctx *pulumi.Context,
	name string, args *MongoClusterArgs, opts ...pulumi.ResourceOption) (*MongoCluster, error)

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

func (*MongoCluster) ElementType

func (*MongoCluster) ElementType() reflect.Type

func (*MongoCluster) ToMongoClusterOutput

func (i *MongoCluster) ToMongoClusterOutput() MongoClusterOutput

func (*MongoCluster) ToMongoClusterOutputWithContext

func (i *MongoCluster) ToMongoClusterOutputWithContext(ctx context.Context) MongoClusterOutput

type MongoClusterArgs

type MongoClusterArgs struct {
	// [list]
	Backup MongoClusterBackupPtrInput
	// (Computed)The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
	BiConnector MongoClusterBiConnectorPtrInput
	// [List] Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created.
	Connections MongoClusterConnectionsInput
	// (Computed)[int] The number of CPU cores per replica. Required for enterprise edition.
	Cores pulumi.IntPtrInput
	// [string] The name of your cluster. Updates to the value of the field force the cluster to be re-created.
	DisplayName pulumi.StringInput
	// (Computed)[string] Cluster edition. Playground, business or enterprise.
	Edition pulumi.StringPtrInput
	// [int] The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. Updates to the value of the field force the cluster to be re-created.
	Instances pulumi.IntInput
	// [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
	Location pulumi.StringInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur.  Updates to the value of the field force the cluster to be re-created.
	MaintenanceWindow MongoClusterMaintenanceWindowPtrInput
	// [string] The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created.
	MongodbVersion pulumi.StringInput
	// (Computed)[int]The amount of memory per instance in megabytes. Required for enterprise edition.
	Ram pulumi.IntPtrInput
	// [int]The total number of shards in the cluster.
	Shards pulumi.IntPtrInput
	// (Computed)[int] The amount of storage per instance in MB. Required for enterprise edition.
	StorageSize pulumi.IntPtrInput
	// (Computed)[String] The storage type used in your cluster. Required for enterprise edition.
	StorageType pulumi.StringPtrInput
	// [string] The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created. Required for playground and business editions. Must not be provided for enterprise edition.
	TemplateId pulumi.StringPtrInput
	// (Computed)[string]The cluster type, either `replicaset` or `sharded-cluster`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a MongoCluster resource.

func (MongoClusterArgs) ElementType

func (MongoClusterArgs) ElementType() reflect.Type

type MongoClusterArray

type MongoClusterArray []MongoClusterInput

func (MongoClusterArray) ElementType

func (MongoClusterArray) ElementType() reflect.Type

func (MongoClusterArray) ToMongoClusterArrayOutput

func (i MongoClusterArray) ToMongoClusterArrayOutput() MongoClusterArrayOutput

func (MongoClusterArray) ToMongoClusterArrayOutputWithContext

func (i MongoClusterArray) ToMongoClusterArrayOutputWithContext(ctx context.Context) MongoClusterArrayOutput

type MongoClusterArrayInput

type MongoClusterArrayInput interface {
	pulumi.Input

	ToMongoClusterArrayOutput() MongoClusterArrayOutput
	ToMongoClusterArrayOutputWithContext(context.Context) MongoClusterArrayOutput
}

MongoClusterArrayInput is an input type that accepts MongoClusterArray and MongoClusterArrayOutput values. You can construct a concrete instance of `MongoClusterArrayInput` via:

MongoClusterArray{ MongoClusterArgs{...} }

type MongoClusterArrayOutput

type MongoClusterArrayOutput struct{ *pulumi.OutputState }

func (MongoClusterArrayOutput) ElementType

func (MongoClusterArrayOutput) ElementType() reflect.Type

func (MongoClusterArrayOutput) Index

func (MongoClusterArrayOutput) ToMongoClusterArrayOutput

func (o MongoClusterArrayOutput) ToMongoClusterArrayOutput() MongoClusterArrayOutput

func (MongoClusterArrayOutput) ToMongoClusterArrayOutputWithContext

func (o MongoClusterArrayOutput) ToMongoClusterArrayOutputWithContext(ctx context.Context) MongoClusterArrayOutput

type MongoClusterBackup

type MongoClusterBackup struct {
	// [string] - The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.
	Location *string `pulumi:"location"`
	// Number of hours in the past for which a point-in-time snapshot can be created.
	PointInTimeWindowHours *int `pulumi:"pointInTimeWindowHours"`
	// Number of hours between snapshots.
	SnapshotIntervalHours *int `pulumi:"snapshotIntervalHours"`
}

type MongoClusterBackupArgs

type MongoClusterBackupArgs struct {
	// [string] - The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Number of hours in the past for which a point-in-time snapshot can be created.
	PointInTimeWindowHours pulumi.IntPtrInput `pulumi:"pointInTimeWindowHours"`
	// Number of hours between snapshots.
	SnapshotIntervalHours pulumi.IntPtrInput `pulumi:"snapshotIntervalHours"`
}

func (MongoClusterBackupArgs) ElementType

func (MongoClusterBackupArgs) ElementType() reflect.Type

func (MongoClusterBackupArgs) ToMongoClusterBackupOutput

func (i MongoClusterBackupArgs) ToMongoClusterBackupOutput() MongoClusterBackupOutput

func (MongoClusterBackupArgs) ToMongoClusterBackupOutputWithContext

func (i MongoClusterBackupArgs) ToMongoClusterBackupOutputWithContext(ctx context.Context) MongoClusterBackupOutput

func (MongoClusterBackupArgs) ToMongoClusterBackupPtrOutput

func (i MongoClusterBackupArgs) ToMongoClusterBackupPtrOutput() MongoClusterBackupPtrOutput

func (MongoClusterBackupArgs) ToMongoClusterBackupPtrOutputWithContext

func (i MongoClusterBackupArgs) ToMongoClusterBackupPtrOutputWithContext(ctx context.Context) MongoClusterBackupPtrOutput

type MongoClusterBackupInput

type MongoClusterBackupInput interface {
	pulumi.Input

	ToMongoClusterBackupOutput() MongoClusterBackupOutput
	ToMongoClusterBackupOutputWithContext(context.Context) MongoClusterBackupOutput
}

MongoClusterBackupInput is an input type that accepts MongoClusterBackupArgs and MongoClusterBackupOutput values. You can construct a concrete instance of `MongoClusterBackupInput` via:

MongoClusterBackupArgs{...}

type MongoClusterBackupOutput

type MongoClusterBackupOutput struct{ *pulumi.OutputState }

func (MongoClusterBackupOutput) ElementType

func (MongoClusterBackupOutput) ElementType() reflect.Type

func (MongoClusterBackupOutput) Location

[string] - The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.

func (MongoClusterBackupOutput) PointInTimeWindowHours

func (o MongoClusterBackupOutput) PointInTimeWindowHours() pulumi.IntPtrOutput

Number of hours in the past for which a point-in-time snapshot can be created.

func (MongoClusterBackupOutput) SnapshotIntervalHours

func (o MongoClusterBackupOutput) SnapshotIntervalHours() pulumi.IntPtrOutput

Number of hours between snapshots.

func (MongoClusterBackupOutput) ToMongoClusterBackupOutput

func (o MongoClusterBackupOutput) ToMongoClusterBackupOutput() MongoClusterBackupOutput

func (MongoClusterBackupOutput) ToMongoClusterBackupOutputWithContext

func (o MongoClusterBackupOutput) ToMongoClusterBackupOutputWithContext(ctx context.Context) MongoClusterBackupOutput

func (MongoClusterBackupOutput) ToMongoClusterBackupPtrOutput

func (o MongoClusterBackupOutput) ToMongoClusterBackupPtrOutput() MongoClusterBackupPtrOutput

func (MongoClusterBackupOutput) ToMongoClusterBackupPtrOutputWithContext

func (o MongoClusterBackupOutput) ToMongoClusterBackupPtrOutputWithContext(ctx context.Context) MongoClusterBackupPtrOutput

type MongoClusterBackupPtrInput

type MongoClusterBackupPtrInput interface {
	pulumi.Input

	ToMongoClusterBackupPtrOutput() MongoClusterBackupPtrOutput
	ToMongoClusterBackupPtrOutputWithContext(context.Context) MongoClusterBackupPtrOutput
}

MongoClusterBackupPtrInput is an input type that accepts MongoClusterBackupArgs, MongoClusterBackupPtr and MongoClusterBackupPtrOutput values. You can construct a concrete instance of `MongoClusterBackupPtrInput` via:

        MongoClusterBackupArgs{...}

or:

        nil

type MongoClusterBackupPtrOutput

type MongoClusterBackupPtrOutput struct{ *pulumi.OutputState }

func (MongoClusterBackupPtrOutput) Elem

func (MongoClusterBackupPtrOutput) ElementType

func (MongoClusterBackupPtrOutput) Location

[string] - The location where the cluster backups will be stored. If not set, the backup is stored in the nearest location of the cluster. Possible values are de, eu-south-2, or eu-central-2.

func (MongoClusterBackupPtrOutput) PointInTimeWindowHours

func (o MongoClusterBackupPtrOutput) PointInTimeWindowHours() pulumi.IntPtrOutput

Number of hours in the past for which a point-in-time snapshot can be created.

func (MongoClusterBackupPtrOutput) SnapshotIntervalHours

func (o MongoClusterBackupPtrOutput) SnapshotIntervalHours() pulumi.IntPtrOutput

Number of hours between snapshots.

func (MongoClusterBackupPtrOutput) ToMongoClusterBackupPtrOutput

func (o MongoClusterBackupPtrOutput) ToMongoClusterBackupPtrOutput() MongoClusterBackupPtrOutput

func (MongoClusterBackupPtrOutput) ToMongoClusterBackupPtrOutputWithContext

func (o MongoClusterBackupPtrOutput) ToMongoClusterBackupPtrOutputWithContext(ctx context.Context) MongoClusterBackupPtrOutput

type MongoClusterBiConnector

type MongoClusterBiConnector struct {
	// [bool] - The status of the BI Connector. If not set, the BI Connector is disabled.
	Enabled *bool `pulumi:"enabled"`
	// [string] - The host where this new BI Connector is installed.
	Host *string `pulumi:"host"`
	// [string] - Port number used when connecting to this new BI Connector.
	Port *string `pulumi:"port"`
}

type MongoClusterBiConnectorArgs

type MongoClusterBiConnectorArgs struct {
	// [bool] - The status of the BI Connector. If not set, the BI Connector is disabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// [string] - The host where this new BI Connector is installed.
	Host pulumi.StringPtrInput `pulumi:"host"`
	// [string] - Port number used when connecting to this new BI Connector.
	Port pulumi.StringPtrInput `pulumi:"port"`
}

func (MongoClusterBiConnectorArgs) ElementType

func (MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorOutput

func (i MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorOutput() MongoClusterBiConnectorOutput

func (MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorOutputWithContext

func (i MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorOutputWithContext(ctx context.Context) MongoClusterBiConnectorOutput

func (MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorPtrOutput

func (i MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorPtrOutput() MongoClusterBiConnectorPtrOutput

func (MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorPtrOutputWithContext

func (i MongoClusterBiConnectorArgs) ToMongoClusterBiConnectorPtrOutputWithContext(ctx context.Context) MongoClusterBiConnectorPtrOutput

type MongoClusterBiConnectorInput

type MongoClusterBiConnectorInput interface {
	pulumi.Input

	ToMongoClusterBiConnectorOutput() MongoClusterBiConnectorOutput
	ToMongoClusterBiConnectorOutputWithContext(context.Context) MongoClusterBiConnectorOutput
}

MongoClusterBiConnectorInput is an input type that accepts MongoClusterBiConnectorArgs and MongoClusterBiConnectorOutput values. You can construct a concrete instance of `MongoClusterBiConnectorInput` via:

MongoClusterBiConnectorArgs{...}

type MongoClusterBiConnectorOutput

type MongoClusterBiConnectorOutput struct{ *pulumi.OutputState }

func (MongoClusterBiConnectorOutput) ElementType

func (MongoClusterBiConnectorOutput) Enabled

[bool] - The status of the BI Connector. If not set, the BI Connector is disabled.

func (MongoClusterBiConnectorOutput) Host

[string] - The host where this new BI Connector is installed.

func (MongoClusterBiConnectorOutput) Port

[string] - Port number used when connecting to this new BI Connector.

func (MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorOutput

func (o MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorOutput() MongoClusterBiConnectorOutput

func (MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorOutputWithContext

func (o MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorOutputWithContext(ctx context.Context) MongoClusterBiConnectorOutput

func (MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorPtrOutput

func (o MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorPtrOutput() MongoClusterBiConnectorPtrOutput

func (MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorPtrOutputWithContext

func (o MongoClusterBiConnectorOutput) ToMongoClusterBiConnectorPtrOutputWithContext(ctx context.Context) MongoClusterBiConnectorPtrOutput

type MongoClusterBiConnectorPtrInput

type MongoClusterBiConnectorPtrInput interface {
	pulumi.Input

	ToMongoClusterBiConnectorPtrOutput() MongoClusterBiConnectorPtrOutput
	ToMongoClusterBiConnectorPtrOutputWithContext(context.Context) MongoClusterBiConnectorPtrOutput
}

MongoClusterBiConnectorPtrInput is an input type that accepts MongoClusterBiConnectorArgs, MongoClusterBiConnectorPtr and MongoClusterBiConnectorPtrOutput values. You can construct a concrete instance of `MongoClusterBiConnectorPtrInput` via:

        MongoClusterBiConnectorArgs{...}

or:

        nil

type MongoClusterBiConnectorPtrOutput

type MongoClusterBiConnectorPtrOutput struct{ *pulumi.OutputState }

func (MongoClusterBiConnectorPtrOutput) Elem

func (MongoClusterBiConnectorPtrOutput) ElementType

func (MongoClusterBiConnectorPtrOutput) Enabled

[bool] - The status of the BI Connector. If not set, the BI Connector is disabled.

func (MongoClusterBiConnectorPtrOutput) Host

[string] - The host where this new BI Connector is installed.

func (MongoClusterBiConnectorPtrOutput) Port

[string] - Port number used when connecting to this new BI Connector.

func (MongoClusterBiConnectorPtrOutput) ToMongoClusterBiConnectorPtrOutput

func (o MongoClusterBiConnectorPtrOutput) ToMongoClusterBiConnectorPtrOutput() MongoClusterBiConnectorPtrOutput

func (MongoClusterBiConnectorPtrOutput) ToMongoClusterBiConnectorPtrOutputWithContext

func (o MongoClusterBiConnectorPtrOutput) ToMongoClusterBiConnectorPtrOutputWithContext(ctx context.Context) MongoClusterBiConnectorPtrOutput

type MongoClusterConnections

type MongoClusterConnections struct {
	// [List] The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Cluster Setup - Preparing the network](https://docs.ionos.com/cloud/databases/mongodb/api-howtos/create-a-cluster#preparing-the-network).
	CidrLists []string `pulumi:"cidrLists"`
	// [string] The datacenter to connect your cluster to.
	DatacenterId string `pulumi:"datacenterId"`
	// [string] The LAN to connect your cluster to.
	LanId string `pulumi:"lanId"`
}

type MongoClusterConnectionsArgs

type MongoClusterConnectionsArgs struct {
	// [List] The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Cluster Setup - Preparing the network](https://docs.ionos.com/cloud/databases/mongodb/api-howtos/create-a-cluster#preparing-the-network).
	CidrLists pulumi.StringArrayInput `pulumi:"cidrLists"`
	// [string] The datacenter to connect your cluster to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// [string] The LAN to connect your cluster to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (MongoClusterConnectionsArgs) ElementType

func (MongoClusterConnectionsArgs) ToMongoClusterConnectionsOutput

func (i MongoClusterConnectionsArgs) ToMongoClusterConnectionsOutput() MongoClusterConnectionsOutput

func (MongoClusterConnectionsArgs) ToMongoClusterConnectionsOutputWithContext

func (i MongoClusterConnectionsArgs) ToMongoClusterConnectionsOutputWithContext(ctx context.Context) MongoClusterConnectionsOutput

func (MongoClusterConnectionsArgs) ToMongoClusterConnectionsPtrOutput

func (i MongoClusterConnectionsArgs) ToMongoClusterConnectionsPtrOutput() MongoClusterConnectionsPtrOutput

func (MongoClusterConnectionsArgs) ToMongoClusterConnectionsPtrOutputWithContext

func (i MongoClusterConnectionsArgs) ToMongoClusterConnectionsPtrOutputWithContext(ctx context.Context) MongoClusterConnectionsPtrOutput

type MongoClusterConnectionsInput

type MongoClusterConnectionsInput interface {
	pulumi.Input

	ToMongoClusterConnectionsOutput() MongoClusterConnectionsOutput
	ToMongoClusterConnectionsOutputWithContext(context.Context) MongoClusterConnectionsOutput
}

MongoClusterConnectionsInput is an input type that accepts MongoClusterConnectionsArgs and MongoClusterConnectionsOutput values. You can construct a concrete instance of `MongoClusterConnectionsInput` via:

MongoClusterConnectionsArgs{...}

type MongoClusterConnectionsOutput

type MongoClusterConnectionsOutput struct{ *pulumi.OutputState }

func (MongoClusterConnectionsOutput) CidrLists

[List] The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Cluster Setup - Preparing the network](https://docs.ionos.com/cloud/databases/mongodb/api-howtos/create-a-cluster#preparing-the-network).

func (MongoClusterConnectionsOutput) DatacenterId

[string] The datacenter to connect your cluster to.

func (MongoClusterConnectionsOutput) ElementType

func (MongoClusterConnectionsOutput) LanId

[string] The LAN to connect your cluster to.

func (MongoClusterConnectionsOutput) ToMongoClusterConnectionsOutput

func (o MongoClusterConnectionsOutput) ToMongoClusterConnectionsOutput() MongoClusterConnectionsOutput

func (MongoClusterConnectionsOutput) ToMongoClusterConnectionsOutputWithContext

func (o MongoClusterConnectionsOutput) ToMongoClusterConnectionsOutputWithContext(ctx context.Context) MongoClusterConnectionsOutput

func (MongoClusterConnectionsOutput) ToMongoClusterConnectionsPtrOutput

func (o MongoClusterConnectionsOutput) ToMongoClusterConnectionsPtrOutput() MongoClusterConnectionsPtrOutput

func (MongoClusterConnectionsOutput) ToMongoClusterConnectionsPtrOutputWithContext

func (o MongoClusterConnectionsOutput) ToMongoClusterConnectionsPtrOutputWithContext(ctx context.Context) MongoClusterConnectionsPtrOutput

type MongoClusterConnectionsPtrInput

type MongoClusterConnectionsPtrInput interface {
	pulumi.Input

	ToMongoClusterConnectionsPtrOutput() MongoClusterConnectionsPtrOutput
	ToMongoClusterConnectionsPtrOutputWithContext(context.Context) MongoClusterConnectionsPtrOutput
}

MongoClusterConnectionsPtrInput is an input type that accepts MongoClusterConnectionsArgs, MongoClusterConnectionsPtr and MongoClusterConnectionsPtrOutput values. You can construct a concrete instance of `MongoClusterConnectionsPtrInput` via:

        MongoClusterConnectionsArgs{...}

or:

        nil

type MongoClusterConnectionsPtrOutput

type MongoClusterConnectionsPtrOutput struct{ *pulumi.OutputState }

func (MongoClusterConnectionsPtrOutput) CidrLists

[List] The list of IPs and subnet for your cluster. Note the following unavailable IP ranges:10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. example: [192.168.1.100/24, 192.168.1.101/24]. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Cluster Setup - Preparing the network](https://docs.ionos.com/cloud/databases/mongodb/api-howtos/create-a-cluster#preparing-the-network).

func (MongoClusterConnectionsPtrOutput) DatacenterId

[string] The datacenter to connect your cluster to.

func (MongoClusterConnectionsPtrOutput) Elem

func (MongoClusterConnectionsPtrOutput) ElementType

func (MongoClusterConnectionsPtrOutput) LanId

[string] The LAN to connect your cluster to.

func (MongoClusterConnectionsPtrOutput) ToMongoClusterConnectionsPtrOutput

func (o MongoClusterConnectionsPtrOutput) ToMongoClusterConnectionsPtrOutput() MongoClusterConnectionsPtrOutput

func (MongoClusterConnectionsPtrOutput) ToMongoClusterConnectionsPtrOutputWithContext

func (o MongoClusterConnectionsPtrOutput) ToMongoClusterConnectionsPtrOutputWithContext(ctx context.Context) MongoClusterConnectionsPtrOutput

type MongoClusterInput

type MongoClusterInput interface {
	pulumi.Input

	ToMongoClusterOutput() MongoClusterOutput
	ToMongoClusterOutputWithContext(ctx context.Context) MongoClusterOutput
}

type MongoClusterMaintenanceWindow

type MongoClusterMaintenanceWindow struct {
	// [string]
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	// [string]
	Time string `pulumi:"time"`
}

type MongoClusterMaintenanceWindowArgs

type MongoClusterMaintenanceWindowArgs struct {
	// [string]
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	// [string]
	Time pulumi.StringInput `pulumi:"time"`
}

func (MongoClusterMaintenanceWindowArgs) ElementType

func (MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowOutput

func (i MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowOutput() MongoClusterMaintenanceWindowOutput

func (MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowOutputWithContext

func (i MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowOutputWithContext(ctx context.Context) MongoClusterMaintenanceWindowOutput

func (MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowPtrOutput

func (i MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowPtrOutput() MongoClusterMaintenanceWindowPtrOutput

func (MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowPtrOutputWithContext

func (i MongoClusterMaintenanceWindowArgs) ToMongoClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) MongoClusterMaintenanceWindowPtrOutput

type MongoClusterMaintenanceWindowInput

type MongoClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToMongoClusterMaintenanceWindowOutput() MongoClusterMaintenanceWindowOutput
	ToMongoClusterMaintenanceWindowOutputWithContext(context.Context) MongoClusterMaintenanceWindowOutput
}

MongoClusterMaintenanceWindowInput is an input type that accepts MongoClusterMaintenanceWindowArgs and MongoClusterMaintenanceWindowOutput values. You can construct a concrete instance of `MongoClusterMaintenanceWindowInput` via:

MongoClusterMaintenanceWindowArgs{...}

type MongoClusterMaintenanceWindowOutput

type MongoClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (MongoClusterMaintenanceWindowOutput) DayOfTheWeek

[string]

func (MongoClusterMaintenanceWindowOutput) ElementType

func (MongoClusterMaintenanceWindowOutput) Time

[string]

func (MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowOutput

func (o MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowOutput() MongoClusterMaintenanceWindowOutput

func (MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowOutputWithContext

func (o MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowOutputWithContext(ctx context.Context) MongoClusterMaintenanceWindowOutput

func (MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowPtrOutput

func (o MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowPtrOutput() MongoClusterMaintenanceWindowPtrOutput

func (MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowPtrOutputWithContext

func (o MongoClusterMaintenanceWindowOutput) ToMongoClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) MongoClusterMaintenanceWindowPtrOutput

type MongoClusterMaintenanceWindowPtrInput

type MongoClusterMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToMongoClusterMaintenanceWindowPtrOutput() MongoClusterMaintenanceWindowPtrOutput
	ToMongoClusterMaintenanceWindowPtrOutputWithContext(context.Context) MongoClusterMaintenanceWindowPtrOutput
}

MongoClusterMaintenanceWindowPtrInput is an input type that accepts MongoClusterMaintenanceWindowArgs, MongoClusterMaintenanceWindowPtr and MongoClusterMaintenanceWindowPtrOutput values. You can construct a concrete instance of `MongoClusterMaintenanceWindowPtrInput` via:

        MongoClusterMaintenanceWindowArgs{...}

or:

        nil

type MongoClusterMaintenanceWindowPtrOutput

type MongoClusterMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (MongoClusterMaintenanceWindowPtrOutput) DayOfTheWeek

[string]

func (MongoClusterMaintenanceWindowPtrOutput) Elem

func (MongoClusterMaintenanceWindowPtrOutput) ElementType

func (MongoClusterMaintenanceWindowPtrOutput) Time

[string]

func (MongoClusterMaintenanceWindowPtrOutput) ToMongoClusterMaintenanceWindowPtrOutput

func (o MongoClusterMaintenanceWindowPtrOutput) ToMongoClusterMaintenanceWindowPtrOutput() MongoClusterMaintenanceWindowPtrOutput

func (MongoClusterMaintenanceWindowPtrOutput) ToMongoClusterMaintenanceWindowPtrOutputWithContext

func (o MongoClusterMaintenanceWindowPtrOutput) ToMongoClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) MongoClusterMaintenanceWindowPtrOutput

type MongoClusterMap

type MongoClusterMap map[string]MongoClusterInput

func (MongoClusterMap) ElementType

func (MongoClusterMap) ElementType() reflect.Type

func (MongoClusterMap) ToMongoClusterMapOutput

func (i MongoClusterMap) ToMongoClusterMapOutput() MongoClusterMapOutput

func (MongoClusterMap) ToMongoClusterMapOutputWithContext

func (i MongoClusterMap) ToMongoClusterMapOutputWithContext(ctx context.Context) MongoClusterMapOutput

type MongoClusterMapInput

type MongoClusterMapInput interface {
	pulumi.Input

	ToMongoClusterMapOutput() MongoClusterMapOutput
	ToMongoClusterMapOutputWithContext(context.Context) MongoClusterMapOutput
}

MongoClusterMapInput is an input type that accepts MongoClusterMap and MongoClusterMapOutput values. You can construct a concrete instance of `MongoClusterMapInput` via:

MongoClusterMap{ "key": MongoClusterArgs{...} }

type MongoClusterMapOutput

type MongoClusterMapOutput struct{ *pulumi.OutputState }

func (MongoClusterMapOutput) ElementType

func (MongoClusterMapOutput) ElementType() reflect.Type

func (MongoClusterMapOutput) MapIndex

func (MongoClusterMapOutput) ToMongoClusterMapOutput

func (o MongoClusterMapOutput) ToMongoClusterMapOutput() MongoClusterMapOutput

func (MongoClusterMapOutput) ToMongoClusterMapOutputWithContext

func (o MongoClusterMapOutput) ToMongoClusterMapOutputWithContext(ctx context.Context) MongoClusterMapOutput

type MongoClusterOutput

type MongoClusterOutput struct{ *pulumi.OutputState }

func (MongoClusterOutput) Backup

[list]

func (MongoClusterOutput) BiConnector

(Computed)The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.

func (MongoClusterOutput) ConnectionString

func (o MongoClusterOutput) ConnectionString() pulumi.StringOutput

[string] The physical location where the cluster will be created. This will be where all of your instances live. Updates to the value of the field force the cluster to be re-created. Available locations: de/txl, gb/lhr, es/vit

func (MongoClusterOutput) Connections

[List] Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created.

func (MongoClusterOutput) Cores

(Computed)[int] The number of CPU cores per replica. Required for enterprise edition.

func (MongoClusterOutput) DisplayName

func (o MongoClusterOutput) DisplayName() pulumi.StringOutput

[string] The name of your cluster. Updates to the value of the field force the cluster to be re-created.

func (MongoClusterOutput) Edition

(Computed)[string] Cluster edition. Playground, business or enterprise.

func (MongoClusterOutput) ElementType

func (MongoClusterOutput) ElementType() reflect.Type

func (MongoClusterOutput) Instances

func (o MongoClusterOutput) Instances() pulumi.IntOutput

[int] The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. Updates to the value of the field force the cluster to be re-created.

func (MongoClusterOutput) Location

func (o MongoClusterOutput) Location() pulumi.StringOutput

[string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.

func (MongoClusterOutput) MaintenanceWindow

(Computed) A weekly 4 hour-long window, during which maintenance might occur. Updates to the value of the field force the cluster to be re-created.

func (MongoClusterOutput) MongodbVersion

func (o MongoClusterOutput) MongodbVersion() pulumi.StringOutput

[string] The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created.

func (MongoClusterOutput) Ram

(Computed)[int]The amount of memory per instance in megabytes. Required for enterprise edition.

func (MongoClusterOutput) Shards

[int]The total number of shards in the cluster.

func (MongoClusterOutput) StorageSize

func (o MongoClusterOutput) StorageSize() pulumi.IntOutput

(Computed)[int] The amount of storage per instance in MB. Required for enterprise edition.

func (MongoClusterOutput) StorageType

func (o MongoClusterOutput) StorageType() pulumi.StringOutput

(Computed)[String] The storage type used in your cluster. Required for enterprise edition.

func (MongoClusterOutput) TemplateId

func (o MongoClusterOutput) TemplateId() pulumi.StringPtrOutput

[string] The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created. Required for playground and business editions. Must not be provided for enterprise edition.

func (MongoClusterOutput) ToMongoClusterOutput

func (o MongoClusterOutput) ToMongoClusterOutput() MongoClusterOutput

func (MongoClusterOutput) ToMongoClusterOutputWithContext

func (o MongoClusterOutput) ToMongoClusterOutputWithContext(ctx context.Context) MongoClusterOutput

func (MongoClusterOutput) Type

(Computed)[string]The cluster type, either `replicaset` or `sharded-cluster`.

type MongoClusterState

type MongoClusterState struct {
	// [list]
	Backup MongoClusterBackupPtrInput
	// (Computed)The MongoDB Connector for Business Intelligence allows you to query a MongoDB database using SQL commands to aid in data analysis.
	BiConnector MongoClusterBiConnectorPtrInput
	// [string] The physical location where the cluster will be created. This will be where all of your instances live. Updates to the value of the field force the cluster to be re-created. Available locations: de/txl, gb/lhr, es/vit
	ConnectionString pulumi.StringPtrInput
	// [List] Details about the network connection for your cluster. Updates to the value of the field force the cluster to be re-created.
	Connections MongoClusterConnectionsPtrInput
	// (Computed)[int] The number of CPU cores per replica. Required for enterprise edition.
	Cores pulumi.IntPtrInput
	// [string] The name of your cluster. Updates to the value of the field force the cluster to be re-created.
	DisplayName pulumi.StringPtrInput
	// (Computed)[string] Cluster edition. Playground, business or enterprise.
	Edition pulumi.StringPtrInput
	// [int] The total number of instances in the cluster (one master and n-1 standbys). Example: 1, 3, 5, 7. Updates to the value of the field force the cluster to be re-created.
	Instances pulumi.IntPtrInput
	// [string] The physical location where the cluster will be created. Property cannot be modified after datacenter creation (disallowed in update requests). Available locations: de/txl, gb/lhr, es/vit. Update forces cluster re-creation.
	Location pulumi.StringPtrInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur.  Updates to the value of the field force the cluster to be re-created.
	MaintenanceWindow MongoClusterMaintenanceWindowPtrInput
	// [string] The MongoDB version of your cluster. Updates to the value of the field force the cluster to be re-created.
	MongodbVersion pulumi.StringPtrInput
	// (Computed)[int]The amount of memory per instance in megabytes. Required for enterprise edition.
	Ram pulumi.IntPtrInput
	// [int]The total number of shards in the cluster.
	Shards pulumi.IntPtrInput
	// (Computed)[int] The amount of storage per instance in MB. Required for enterprise edition.
	StorageSize pulumi.IntPtrInput
	// (Computed)[String] The storage type used in your cluster. Required for enterprise edition.
	StorageType pulumi.StringPtrInput
	// [string] The unique ID of the template, which specifies the number of cores, storage size, and memory. Updates to the value of the field force the cluster to be re-created. Required for playground and business editions. Must not be provided for enterprise edition.
	TemplateId pulumi.StringPtrInput
	// (Computed)[string]The cluster type, either `replicaset` or `sharded-cluster`.
	Type pulumi.StringPtrInput
}

func (MongoClusterState) ElementType

func (MongoClusterState) ElementType() reflect.Type

type MongoUser

type MongoUser struct {
	pulumi.CustomResourceState

	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// [string] User password. Updates to the value of the field force the cluster to be re-created.
	Password pulumi.StringOutput `pulumi:"password"`
	// [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created.
	Roles MongoUserRoleArrayOutput `pulumi:"roles"`
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a **DbaaS Mongo User**. .

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Basic example
		datacenterExample, err := compute.NewDatacenter(ctx, "datacenter_example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for testing dbaas cluster"),
		})
		if err != nil {
			return err
		}
		lanExample, err := compute.NewLan(ctx, "lan_example", &compute.LanArgs{
			DatacenterId: datacenterExample.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		exampleMongoCluster, err := dbaas.NewMongoCluster(ctx, "example_mongo_cluster", &dbaas.MongoClusterArgs{
			MaintenanceWindow: &dbaas.MongoClusterMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Sunday"),
				Time:         pulumi.String("09:00:00"),
			},
			MongodbVersion: pulumi.String("5.0"),
			Instances:      pulumi.Int(1),
			DisplayName:    pulumi.String("example_mongo_cluster"),
			Location:       datacenterExample.Location,
			Connections: &dbaas.MongoClusterConnectionsArgs{
				DatacenterId: datacenterExample.ID(),
				LanId:        lanExample.ID(),
				CidrLists: pulumi.StringArray{
					pulumi.String("192.168.1.108/24"),
				},
			},
			TemplateId: pulumi.String("6b78ea06-ee0e-4689-998c-fc9c46e781f6"),
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewMongoUser(ctx, "example_mongo_user", &dbaas.MongoUserArgs{
			ClusterId: exampleMongoCluster.ID(),
			Username:  pulumi.String("myUser"),
			Password:  pulumi.String("strongPassword"),
			Roles: dbaas.MongoUserRoleArray{
				&dbaas.MongoUserRoleArgs{
					Role:     pulumi.String("read"),
					Database: pulumi.String("db1"),
				},
				&dbaas.MongoUserRoleArgs{
					Role:     pulumi.String("readWrite"),
					Database: pulumi.String("db2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Complete example
		datacenterExample, err := compute.NewDatacenter(ctx, "datacenter_example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for testing dbaas cluster"),
		})
		if err != nil {
			return err
		}
		lanExample, err := compute.NewLan(ctx, "lan_example", &compute.LanArgs{
			DatacenterId: datacenterExample.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		exampleMongoCluster, err := dbaas.NewMongoCluster(ctx, "example_mongo_cluster", &dbaas.MongoClusterArgs{
			MaintenanceWindow: &dbaas.MongoClusterMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Sunday"),
				Time:         pulumi.String("09:00:00"),
			},
			MongodbVersion: pulumi.String("5.0"),
			Instances:      pulumi.Int(1),
			DisplayName:    pulumi.String("example_mongo_cluster"),
			Location:       datacenterExample.Location,
			Connections: &dbaas.MongoClusterConnectionsArgs{
				DatacenterId: datacenterExample.ID(),
				LanId:        lanExample.ID(),
				CidrLists: pulumi.StringArray{
					pulumi.String("192.168.1.108/24"),
				},
			},
			TemplateId: pulumi.String("6b78ea06-ee0e-4689-998c-fc9c46e781f6"),
		})
		if err != nil {
			return err
		}
		_, err = random.NewPassword(ctx, "cluster_password", &random.PasswordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		userPassword, err := random.NewPassword(ctx, "user_password", &random.PasswordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewMongoUser(ctx, "example_mongo_user", &dbaas.MongoUserArgs{
			ClusterId: exampleMongoCluster.ID(),
			Username:  pulumi.String("myUser"),
			Password:  userPassword.Result,
			Roles: dbaas.MongoUserRoleArray{
				&dbaas.MongoUserRoleArgs{
					Role:     pulumi.String("read"),
					Database: pulumi.String("db1"),
				},
				&dbaas.MongoUserRoleArgs{
					Role:     pulumi.String("readWrite"),
					Database: pulumi.String("db2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Resource DBaaS MongoDB User can be imported using the `clusterID` and the `username`.

First, define an empty resource in the plan:

hcl

resource "ionoscloud_mongo_user" "importeduser" {

}

Then you can import the user using the following command:

```sh $ pulumi import ionoscloud:dbaas/mongoUser:MongoUser mycluser clusterid/username ```

func GetMongoUser

func GetMongoUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoUserState, opts ...pulumi.ResourceOption) (*MongoUser, error)

GetMongoUser gets an existing MongoUser 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 NewMongoUser

func NewMongoUser(ctx *pulumi.Context,
	name string, args *MongoUserArgs, opts ...pulumi.ResourceOption) (*MongoUser, error)

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

func (*MongoUser) ElementType

func (*MongoUser) ElementType() reflect.Type

func (*MongoUser) ToMongoUserOutput

func (i *MongoUser) ToMongoUserOutput() MongoUserOutput

func (*MongoUser) ToMongoUserOutputWithContext

func (i *MongoUser) ToMongoUserOutputWithContext(ctx context.Context) MongoUserOutput

type MongoUserArgs

type MongoUserArgs struct {
	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId pulumi.StringInput
	// [string] User password. Updates to the value of the field force the cluster to be re-created.
	Password pulumi.StringInput
	// [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created.
	Roles MongoUserRoleArrayInput
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username pulumi.StringInput
}

The set of arguments for constructing a MongoUser resource.

func (MongoUserArgs) ElementType

func (MongoUserArgs) ElementType() reflect.Type

type MongoUserArray

type MongoUserArray []MongoUserInput

func (MongoUserArray) ElementType

func (MongoUserArray) ElementType() reflect.Type

func (MongoUserArray) ToMongoUserArrayOutput

func (i MongoUserArray) ToMongoUserArrayOutput() MongoUserArrayOutput

func (MongoUserArray) ToMongoUserArrayOutputWithContext

func (i MongoUserArray) ToMongoUserArrayOutputWithContext(ctx context.Context) MongoUserArrayOutput

type MongoUserArrayInput

type MongoUserArrayInput interface {
	pulumi.Input

	ToMongoUserArrayOutput() MongoUserArrayOutput
	ToMongoUserArrayOutputWithContext(context.Context) MongoUserArrayOutput
}

MongoUserArrayInput is an input type that accepts MongoUserArray and MongoUserArrayOutput values. You can construct a concrete instance of `MongoUserArrayInput` via:

MongoUserArray{ MongoUserArgs{...} }

type MongoUserArrayOutput

type MongoUserArrayOutput struct{ *pulumi.OutputState }

func (MongoUserArrayOutput) ElementType

func (MongoUserArrayOutput) ElementType() reflect.Type

func (MongoUserArrayOutput) Index

func (MongoUserArrayOutput) ToMongoUserArrayOutput

func (o MongoUserArrayOutput) ToMongoUserArrayOutput() MongoUserArrayOutput

func (MongoUserArrayOutput) ToMongoUserArrayOutputWithContext

func (o MongoUserArrayOutput) ToMongoUserArrayOutputWithContext(ctx context.Context) MongoUserArrayOutput

type MongoUserInput

type MongoUserInput interface {
	pulumi.Input

	ToMongoUserOutput() MongoUserOutput
	ToMongoUserOutputWithContext(ctx context.Context) MongoUserOutput
}

type MongoUserMap

type MongoUserMap map[string]MongoUserInput

func (MongoUserMap) ElementType

func (MongoUserMap) ElementType() reflect.Type

func (MongoUserMap) ToMongoUserMapOutput

func (i MongoUserMap) ToMongoUserMapOutput() MongoUserMapOutput

func (MongoUserMap) ToMongoUserMapOutputWithContext

func (i MongoUserMap) ToMongoUserMapOutputWithContext(ctx context.Context) MongoUserMapOutput

type MongoUserMapInput

type MongoUserMapInput interface {
	pulumi.Input

	ToMongoUserMapOutput() MongoUserMapOutput
	ToMongoUserMapOutputWithContext(context.Context) MongoUserMapOutput
}

MongoUserMapInput is an input type that accepts MongoUserMap and MongoUserMapOutput values. You can construct a concrete instance of `MongoUserMapInput` via:

MongoUserMap{ "key": MongoUserArgs{...} }

type MongoUserMapOutput

type MongoUserMapOutput struct{ *pulumi.OutputState }

func (MongoUserMapOutput) ElementType

func (MongoUserMapOutput) ElementType() reflect.Type

func (MongoUserMapOutput) MapIndex

func (MongoUserMapOutput) ToMongoUserMapOutput

func (o MongoUserMapOutput) ToMongoUserMapOutput() MongoUserMapOutput

func (MongoUserMapOutput) ToMongoUserMapOutputWithContext

func (o MongoUserMapOutput) ToMongoUserMapOutputWithContext(ctx context.Context) MongoUserMapOutput

type MongoUserOutput

type MongoUserOutput struct{ *pulumi.OutputState }

func (MongoUserOutput) ClusterId

func (o MongoUserOutput) ClusterId() pulumi.StringOutput

[string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.

func (MongoUserOutput) ElementType

func (MongoUserOutput) ElementType() reflect.Type

func (MongoUserOutput) Password

func (o MongoUserOutput) Password() pulumi.StringOutput

[string] User password. Updates to the value of the field force the cluster to be re-created.

func (MongoUserOutput) Roles

[string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created.

func (MongoUserOutput) ToMongoUserOutput

func (o MongoUserOutput) ToMongoUserOutput() MongoUserOutput

func (MongoUserOutput) ToMongoUserOutputWithContext

func (o MongoUserOutput) ToMongoUserOutputWithContext(ctx context.Context) MongoUserOutput

func (MongoUserOutput) Username

func (o MongoUserOutput) Username() pulumi.StringOutput

[string] Used for authentication. Updates to the value of the field force the cluster to be re-created.

type MongoUserRole

type MongoUserRole struct {
	// [true] Database on which to apply the role.
	//
	// **NOTE:** MongoDb users do not support update at the moment. Changing any attribute will result in the user being re-created.
	Database *string `pulumi:"database"`
	// [true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor.
	Role *string `pulumi:"role"`
}

type MongoUserRoleArgs

type MongoUserRoleArgs struct {
	// [true] Database on which to apply the role.
	//
	// **NOTE:** MongoDb users do not support update at the moment. Changing any attribute will result in the user being re-created.
	Database pulumi.StringPtrInput `pulumi:"database"`
	// [true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor.
	Role pulumi.StringPtrInput `pulumi:"role"`
}

func (MongoUserRoleArgs) ElementType

func (MongoUserRoleArgs) ElementType() reflect.Type

func (MongoUserRoleArgs) ToMongoUserRoleOutput

func (i MongoUserRoleArgs) ToMongoUserRoleOutput() MongoUserRoleOutput

func (MongoUserRoleArgs) ToMongoUserRoleOutputWithContext

func (i MongoUserRoleArgs) ToMongoUserRoleOutputWithContext(ctx context.Context) MongoUserRoleOutput

type MongoUserRoleArray

type MongoUserRoleArray []MongoUserRoleInput

func (MongoUserRoleArray) ElementType

func (MongoUserRoleArray) ElementType() reflect.Type

func (MongoUserRoleArray) ToMongoUserRoleArrayOutput

func (i MongoUserRoleArray) ToMongoUserRoleArrayOutput() MongoUserRoleArrayOutput

func (MongoUserRoleArray) ToMongoUserRoleArrayOutputWithContext

func (i MongoUserRoleArray) ToMongoUserRoleArrayOutputWithContext(ctx context.Context) MongoUserRoleArrayOutput

type MongoUserRoleArrayInput

type MongoUserRoleArrayInput interface {
	pulumi.Input

	ToMongoUserRoleArrayOutput() MongoUserRoleArrayOutput
	ToMongoUserRoleArrayOutputWithContext(context.Context) MongoUserRoleArrayOutput
}

MongoUserRoleArrayInput is an input type that accepts MongoUserRoleArray and MongoUserRoleArrayOutput values. You can construct a concrete instance of `MongoUserRoleArrayInput` via:

MongoUserRoleArray{ MongoUserRoleArgs{...} }

type MongoUserRoleArrayOutput

type MongoUserRoleArrayOutput struct{ *pulumi.OutputState }

func (MongoUserRoleArrayOutput) ElementType

func (MongoUserRoleArrayOutput) ElementType() reflect.Type

func (MongoUserRoleArrayOutput) Index

func (MongoUserRoleArrayOutput) ToMongoUserRoleArrayOutput

func (o MongoUserRoleArrayOutput) ToMongoUserRoleArrayOutput() MongoUserRoleArrayOutput

func (MongoUserRoleArrayOutput) ToMongoUserRoleArrayOutputWithContext

func (o MongoUserRoleArrayOutput) ToMongoUserRoleArrayOutputWithContext(ctx context.Context) MongoUserRoleArrayOutput

type MongoUserRoleInput

type MongoUserRoleInput interface {
	pulumi.Input

	ToMongoUserRoleOutput() MongoUserRoleOutput
	ToMongoUserRoleOutputWithContext(context.Context) MongoUserRoleOutput
}

MongoUserRoleInput is an input type that accepts MongoUserRoleArgs and MongoUserRoleOutput values. You can construct a concrete instance of `MongoUserRoleInput` via:

MongoUserRoleArgs{...}

type MongoUserRoleOutput

type MongoUserRoleOutput struct{ *pulumi.OutputState }

func (MongoUserRoleOutput) Database

[true] Database on which to apply the role.

**NOTE:** MongoDb users do not support update at the moment. Changing any attribute will result in the user being re-created.

func (MongoUserRoleOutput) ElementType

func (MongoUserRoleOutput) ElementType() reflect.Type

func (MongoUserRoleOutput) Role

[true] Mongodb user role. Examples: read, readWrite, readAnyDatabase, readWriteAnyDatabase, dbAdmin, dbAdminAnyDatabase, clusterMonitor.

func (MongoUserRoleOutput) ToMongoUserRoleOutput

func (o MongoUserRoleOutput) ToMongoUserRoleOutput() MongoUserRoleOutput

func (MongoUserRoleOutput) ToMongoUserRoleOutputWithContext

func (o MongoUserRoleOutput) ToMongoUserRoleOutputWithContext(ctx context.Context) MongoUserRoleOutput

type MongoUserState

type MongoUserState struct {
	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId pulumi.StringPtrInput
	// [string] User password. Updates to the value of the field force the cluster to be re-created.
	Password pulumi.StringPtrInput
	// [string] a list of mongodb user roles. Updates to the value of the field force the cluster to be re-created.
	Roles MongoUserRoleArrayInput
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username pulumi.StringPtrInput
}

func (MongoUserState) ElementType

func (MongoUserState) ElementType() reflect.Type

type PSQLCluster

type PSQLCluster struct {
	pulumi.CustomResourceState

	// (Computed)[string] The IONOS Object Storage location where the backups will be stored. Possible values are: `de`, `eu-south-2`, `eu-central-2`. This attribute is immutable (disallowed in update requests).
	BackupLocation pulumi.StringOutput `pulumi:"backupLocation"`
	// [object]
	ConnectionPooler PSQLClusterConnectionPoolerOutput `pulumi:"connectionPooler"`
	// [string] Details about the network connection for your cluster.
	Connections PSQLClusterConnectionsPtrOutput `pulumi:"connections"`
	// [int] The number of CPU cores per replica.
	Cores pulumi.IntOutput `pulumi:"cores"`
	// [string] Credentials for the database user to be created. This attribute is immutable(disallowed in update requests).
	Credentials PSQLClusterCredentialsOutput `pulumi:"credentials"`
	// [string] The friendly name of your cluster.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// [string] The DNS name pointing to your cluster.
	DnsName pulumi.StringOutput `pulumi:"dnsName"`
	// [string] The unique ID of the backup you want to restore. This attribute is immutable(disallowed in update requests).
	FromBackup PSQLClusterFromBackupPtrOutput `pulumi:"fromBackup"`
	// [int] The total number of instances in the cluster (one master and n-1 standbys)
	Instances pulumi.IntOutput `pulumi:"instances"`
	// [string] The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Possible values are: `de/fra`, `de/txl`, `gb/lhr`, `es/vit`, `us/ewr`, `us/las`. This attribute is immutable(disallowed in update requests).
	Location pulumi.StringOutput `pulumi:"location"`
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur
	MaintenanceWindow PSQLClusterMaintenanceWindowOutput `pulumi:"maintenanceWindow"`
	// [string] The PostgreSQL version of your cluster.
	PostgresVersion pulumi.StringOutput `pulumi:"postgresVersion"`
	// [int] The amount of memory per instance in megabytes. Has to be a multiple of 1024.
	Ram pulumi.IntOutput `pulumi:"ram"`
	// [int] The amount of storage per instance in MB. Has to be a multiple of 2048.
	StorageSize pulumi.IntOutput `pulumi:"storageSize"`
	// [string] SSD, SSD Standard, SSD Premium, or HDD. Value "SSD" is deprecated, use the equivalent "SSD Premium" instead. This attribute is immutable(disallowed in update requests).
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// [string] Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests).
	SynchronizationMode pulumi.StringOutput `pulumi:"synchronizationMode"`
}

Manages a **DbaaS PgSql Cluster**.

## Example Usage

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Basic example
		example, err := compute.NewDatacenter(ctx, "example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for testing dbaas cluster"),
		})
		if err != nil {
			return err
		}
		exampleLan, err := compute.NewLan(ctx, "example", &compute.LanArgs{
			DatacenterId: example.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewPSQLCluster(ctx, "example", &dbaas.PSQLClusterArgs{
			PostgresVersion: pulumi.String("12"),
			Instances:       pulumi.Int(1),
			Cores:           pulumi.Int(4),
			Ram:             pulumi.Int(2048),
			StorageSize:     pulumi.Int(2048),
			StorageType:     pulumi.String("HDD"),
			ConnectionPooler: &dbaas.PSQLClusterConnectionPoolerArgs{
				Enabled:  pulumi.Bool(true),
				PoolMode: pulumi.String("session"),
			},
			Connections: &dbaas.PSQLClusterConnectionsArgs{
				DatacenterId: example.ID(),
				LanId:        exampleLan.ID(),
				Cidr:         pulumi.String("192.168.100.1/24"),
			},
			Location:    example.Location,
			DisplayName: pulumi.String("PostgreSQL_cluster"),
			MaintenanceWindow: &dbaas.PSQLClusterMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Sunday"),
				Time:         pulumi.String("09:00:00"),
			},
			Credentials: &dbaas.PSQLClusterCredentialsArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("strongPassword"),
			},
			SynchronizationMode: pulumi.String("ASYNCHRONOUS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/compute"
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Complete example
		example, err := compute.NewDatacenter(ctx, "example", &compute.DatacenterArgs{
			Name:        pulumi.String("example"),
			Location:    pulumi.String("de/txl"),
			Description: pulumi.String("Datacenter for testing dbaas cluster"),
		})
		if err != nil {
			return err
		}
		exampleLan, err := compute.NewLan(ctx, "example", &compute.LanArgs{
			DatacenterId: example.ID(),
			Public:       pulumi.Bool(false),
			Name:         pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = compute.NewServer(ctx, "example", &compute.ServerArgs{
			Name:             pulumi.String("example"),
			DatacenterId:     example.ID(),
			Cores:            pulumi.Int(2),
			Ram:              pulumi.Int(2048),
			AvailabilityZone: pulumi.String("ZONE_1"),
			CpuFamily:        pulumi.String("INTEL_SKYLAKE"),
			ImageName:        pulumi.String("rockylinux-8-GenericCloud-20230518"),
			ImagePassword:    pulumi.String("password"),
			Volume: &compute.ServerVolumeArgs{
				Name:     pulumi.String("example"),
				Size:     pulumi.Int(6),
				DiskType: pulumi.String("SSD Standard"),
			},
			Nic: &compute.ServerNicArgs{
				Lan:  exampleLan.ID(),
				Name: pulumi.String("example"),
				Dhcp: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		clusterPassword, err := random.NewPassword(ctx, "cluster_password", &random.PasswordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewPSQLCluster(ctx, "example", &dbaas.PSQLClusterArgs{
			PostgresVersion: pulumi.String("12"),
			Instances:       pulumi.Int(1),
			Cores:           pulumi.Int(4),
			Ram:             pulumi.Int(2048),
			StorageSize:     pulumi.Int(2048),
			StorageType:     pulumi.String("HDD"),
			ConnectionPooler: &dbaas.PSQLClusterConnectionPoolerArgs{
				Enabled:  pulumi.Bool(true),
				PoolMode: pulumi.String("session"),
			},
			Connections: &dbaas.PSQLClusterConnectionsArgs{
				DatacenterId: example.ID(),
				LanId:        exampleLan.ID(),
				Cidr:         pulumi.String("database_ip_cidr_from_nic"),
			},
			Location:    example.Location,
			DisplayName: pulumi.String("PostgreSQL_cluster"),
			MaintenanceWindow: &dbaas.PSQLClusterMaintenanceWindowArgs{
				DayOfTheWeek: pulumi.String("Sunday"),
				Time:         pulumi.String("09:00:00"),
			},
			Credentials: &dbaas.PSQLClusterCredentialsArgs{
				Username: pulumi.String("username"),
				Password: clusterPassword.Result,
			},
			SynchronizationMode: pulumi.String("ASYNCHRONOUS"),
			FromBackup: &dbaas.PSQLClusterFromBackupArgs{
				BackupId:           pulumi.String("backup_uuid"),
				RecoveryTargetTime: pulumi.String("2021-12-06T13:54:08Z"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Resource DbaaS Postgres Cluster can be imported using the `cluster_id`, e.g.

```sh $ pulumi import ionoscloud:dbaas/pSQLCluster:PSQLCluster mycluser cluster uuid ```

func GetPSQLCluster

func GetPSQLCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PSQLClusterState, opts ...pulumi.ResourceOption) (*PSQLCluster, error)

GetPSQLCluster gets an existing PSQLCluster 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 NewPSQLCluster

func NewPSQLCluster(ctx *pulumi.Context,
	name string, args *PSQLClusterArgs, opts ...pulumi.ResourceOption) (*PSQLCluster, error)

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

func (*PSQLCluster) ElementType

func (*PSQLCluster) ElementType() reflect.Type

func (*PSQLCluster) ToPSQLClusterOutput

func (i *PSQLCluster) ToPSQLClusterOutput() PSQLClusterOutput

func (*PSQLCluster) ToPSQLClusterOutputWithContext

func (i *PSQLCluster) ToPSQLClusterOutputWithContext(ctx context.Context) PSQLClusterOutput

type PSQLClusterArgs

type PSQLClusterArgs struct {
	// (Computed)[string] The IONOS Object Storage location where the backups will be stored. Possible values are: `de`, `eu-south-2`, `eu-central-2`. This attribute is immutable (disallowed in update requests).
	BackupLocation pulumi.StringPtrInput
	// [object]
	ConnectionPooler PSQLClusterConnectionPoolerPtrInput
	// [string] Details about the network connection for your cluster.
	Connections PSQLClusterConnectionsPtrInput
	// [int] The number of CPU cores per replica.
	Cores pulumi.IntInput
	// [string] Credentials for the database user to be created. This attribute is immutable(disallowed in update requests).
	Credentials PSQLClusterCredentialsInput
	// [string] The friendly name of your cluster.
	DisplayName pulumi.StringInput
	// [string] The unique ID of the backup you want to restore. This attribute is immutable(disallowed in update requests).
	FromBackup PSQLClusterFromBackupPtrInput
	// [int] The total number of instances in the cluster (one master and n-1 standbys)
	Instances pulumi.IntInput
	// [string] The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Possible values are: `de/fra`, `de/txl`, `gb/lhr`, `es/vit`, `us/ewr`, `us/las`. This attribute is immutable(disallowed in update requests).
	Location pulumi.StringInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur
	MaintenanceWindow PSQLClusterMaintenanceWindowPtrInput
	// [string] The PostgreSQL version of your cluster.
	PostgresVersion pulumi.StringInput
	// [int] The amount of memory per instance in megabytes. Has to be a multiple of 1024.
	Ram pulumi.IntInput
	// [int] The amount of storage per instance in MB. Has to be a multiple of 2048.
	StorageSize pulumi.IntInput
	// [string] SSD, SSD Standard, SSD Premium, or HDD. Value "SSD" is deprecated, use the equivalent "SSD Premium" instead. This attribute is immutable(disallowed in update requests).
	StorageType pulumi.StringInput
	// [string] Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests).
	SynchronizationMode pulumi.StringInput
}

The set of arguments for constructing a PSQLCluster resource.

func (PSQLClusterArgs) ElementType

func (PSQLClusterArgs) ElementType() reflect.Type

type PSQLClusterArray

type PSQLClusterArray []PSQLClusterInput

func (PSQLClusterArray) ElementType

func (PSQLClusterArray) ElementType() reflect.Type

func (PSQLClusterArray) ToPSQLClusterArrayOutput

func (i PSQLClusterArray) ToPSQLClusterArrayOutput() PSQLClusterArrayOutput

func (PSQLClusterArray) ToPSQLClusterArrayOutputWithContext

func (i PSQLClusterArray) ToPSQLClusterArrayOutputWithContext(ctx context.Context) PSQLClusterArrayOutput

type PSQLClusterArrayInput

type PSQLClusterArrayInput interface {
	pulumi.Input

	ToPSQLClusterArrayOutput() PSQLClusterArrayOutput
	ToPSQLClusterArrayOutputWithContext(context.Context) PSQLClusterArrayOutput
}

PSQLClusterArrayInput is an input type that accepts PSQLClusterArray and PSQLClusterArrayOutput values. You can construct a concrete instance of `PSQLClusterArrayInput` via:

PSQLClusterArray{ PSQLClusterArgs{...} }

type PSQLClusterArrayOutput

type PSQLClusterArrayOutput struct{ *pulumi.OutputState }

func (PSQLClusterArrayOutput) ElementType

func (PSQLClusterArrayOutput) ElementType() reflect.Type

func (PSQLClusterArrayOutput) Index

func (PSQLClusterArrayOutput) ToPSQLClusterArrayOutput

func (o PSQLClusterArrayOutput) ToPSQLClusterArrayOutput() PSQLClusterArrayOutput

func (PSQLClusterArrayOutput) ToPSQLClusterArrayOutputWithContext

func (o PSQLClusterArrayOutput) ToPSQLClusterArrayOutputWithContext(ctx context.Context) PSQLClusterArrayOutput

type PSQLClusterConnectionPooler

type PSQLClusterConnectionPooler struct {
	// [bool]
	Enabled bool `pulumi:"enabled"`
	// [string] Represents different modes of connection pooling for the connection pooler.
	PoolMode string `pulumi:"poolMode"`
}

type PSQLClusterConnectionPoolerArgs

type PSQLClusterConnectionPoolerArgs struct {
	// [bool]
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// [string] Represents different modes of connection pooling for the connection pooler.
	PoolMode pulumi.StringInput `pulumi:"poolMode"`
}

func (PSQLClusterConnectionPoolerArgs) ElementType

func (PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerOutput

func (i PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerOutput() PSQLClusterConnectionPoolerOutput

func (PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerOutputWithContext

func (i PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerOutputWithContext(ctx context.Context) PSQLClusterConnectionPoolerOutput

func (PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerPtrOutput

func (i PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerPtrOutput() PSQLClusterConnectionPoolerPtrOutput

func (PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerPtrOutputWithContext

func (i PSQLClusterConnectionPoolerArgs) ToPSQLClusterConnectionPoolerPtrOutputWithContext(ctx context.Context) PSQLClusterConnectionPoolerPtrOutput

type PSQLClusterConnectionPoolerInput

type PSQLClusterConnectionPoolerInput interface {
	pulumi.Input

	ToPSQLClusterConnectionPoolerOutput() PSQLClusterConnectionPoolerOutput
	ToPSQLClusterConnectionPoolerOutputWithContext(context.Context) PSQLClusterConnectionPoolerOutput
}

PSQLClusterConnectionPoolerInput is an input type that accepts PSQLClusterConnectionPoolerArgs and PSQLClusterConnectionPoolerOutput values. You can construct a concrete instance of `PSQLClusterConnectionPoolerInput` via:

PSQLClusterConnectionPoolerArgs{...}

type PSQLClusterConnectionPoolerOutput

type PSQLClusterConnectionPoolerOutput struct{ *pulumi.OutputState }

func (PSQLClusterConnectionPoolerOutput) ElementType

func (PSQLClusterConnectionPoolerOutput) Enabled

[bool]

func (PSQLClusterConnectionPoolerOutput) PoolMode

[string] Represents different modes of connection pooling for the connection pooler.

func (PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerOutput

func (o PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerOutput() PSQLClusterConnectionPoolerOutput

func (PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerOutputWithContext

func (o PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerOutputWithContext(ctx context.Context) PSQLClusterConnectionPoolerOutput

func (PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerPtrOutput

func (o PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerPtrOutput() PSQLClusterConnectionPoolerPtrOutput

func (PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerPtrOutputWithContext

func (o PSQLClusterConnectionPoolerOutput) ToPSQLClusterConnectionPoolerPtrOutputWithContext(ctx context.Context) PSQLClusterConnectionPoolerPtrOutput

type PSQLClusterConnectionPoolerPtrInput

type PSQLClusterConnectionPoolerPtrInput interface {
	pulumi.Input

	ToPSQLClusterConnectionPoolerPtrOutput() PSQLClusterConnectionPoolerPtrOutput
	ToPSQLClusterConnectionPoolerPtrOutputWithContext(context.Context) PSQLClusterConnectionPoolerPtrOutput
}

PSQLClusterConnectionPoolerPtrInput is an input type that accepts PSQLClusterConnectionPoolerArgs, PSQLClusterConnectionPoolerPtr and PSQLClusterConnectionPoolerPtrOutput values. You can construct a concrete instance of `PSQLClusterConnectionPoolerPtrInput` via:

        PSQLClusterConnectionPoolerArgs{...}

or:

        nil

type PSQLClusterConnectionPoolerPtrOutput

type PSQLClusterConnectionPoolerPtrOutput struct{ *pulumi.OutputState }

func (PSQLClusterConnectionPoolerPtrOutput) Elem

func (PSQLClusterConnectionPoolerPtrOutput) ElementType

func (PSQLClusterConnectionPoolerPtrOutput) Enabled

[bool]

func (PSQLClusterConnectionPoolerPtrOutput) PoolMode

[string] Represents different modes of connection pooling for the connection pooler.

func (PSQLClusterConnectionPoolerPtrOutput) ToPSQLClusterConnectionPoolerPtrOutput

func (o PSQLClusterConnectionPoolerPtrOutput) ToPSQLClusterConnectionPoolerPtrOutput() PSQLClusterConnectionPoolerPtrOutput

func (PSQLClusterConnectionPoolerPtrOutput) ToPSQLClusterConnectionPoolerPtrOutputWithContext

func (o PSQLClusterConnectionPoolerPtrOutput) ToPSQLClusterConnectionPoolerPtrOutputWithContext(ctx context.Context) PSQLClusterConnectionPoolerPtrOutput

type PSQLClusterConnections

type PSQLClusterConnections struct {
	// [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).
	Cidr string `pulumi:"cidr"`
	// [true] The datacenter to connect your cluster to.
	DatacenterId string `pulumi:"datacenterId"`
	// [true] The LAN to connect your cluster to.
	LanId string `pulumi:"lanId"`
}

type PSQLClusterConnectionsArgs

type PSQLClusterConnectionsArgs struct {
	// [true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).
	Cidr pulumi.StringInput `pulumi:"cidr"`
	// [true] The datacenter to connect your cluster to.
	DatacenterId pulumi.StringInput `pulumi:"datacenterId"`
	// [true] The LAN to connect your cluster to.
	LanId pulumi.StringInput `pulumi:"lanId"`
}

func (PSQLClusterConnectionsArgs) ElementType

func (PSQLClusterConnectionsArgs) ElementType() reflect.Type

func (PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsOutput

func (i PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsOutput() PSQLClusterConnectionsOutput

func (PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsOutputWithContext

func (i PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsOutputWithContext(ctx context.Context) PSQLClusterConnectionsOutput

func (PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsPtrOutput

func (i PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsPtrOutput() PSQLClusterConnectionsPtrOutput

func (PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsPtrOutputWithContext

func (i PSQLClusterConnectionsArgs) ToPSQLClusterConnectionsPtrOutputWithContext(ctx context.Context) PSQLClusterConnectionsPtrOutput

type PSQLClusterConnectionsInput

type PSQLClusterConnectionsInput interface {
	pulumi.Input

	ToPSQLClusterConnectionsOutput() PSQLClusterConnectionsOutput
	ToPSQLClusterConnectionsOutputWithContext(context.Context) PSQLClusterConnectionsOutput
}

PSQLClusterConnectionsInput is an input type that accepts PSQLClusterConnectionsArgs and PSQLClusterConnectionsOutput values. You can construct a concrete instance of `PSQLClusterConnectionsInput` via:

PSQLClusterConnectionsArgs{...}

type PSQLClusterConnectionsOutput

type PSQLClusterConnectionsOutput struct{ *pulumi.OutputState }

func (PSQLClusterConnectionsOutput) Cidr

[true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).

func (PSQLClusterConnectionsOutput) DatacenterId

[true] The datacenter to connect your cluster to.

func (PSQLClusterConnectionsOutput) ElementType

func (PSQLClusterConnectionsOutput) LanId

[true] The LAN to connect your cluster to.

func (PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsOutput

func (o PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsOutput() PSQLClusterConnectionsOutput

func (PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsOutputWithContext

func (o PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsOutputWithContext(ctx context.Context) PSQLClusterConnectionsOutput

func (PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsPtrOutput

func (o PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsPtrOutput() PSQLClusterConnectionsPtrOutput

func (PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsPtrOutputWithContext

func (o PSQLClusterConnectionsOutput) ToPSQLClusterConnectionsPtrOutputWithContext(ctx context.Context) PSQLClusterConnectionsPtrOutput

type PSQLClusterConnectionsPtrInput

type PSQLClusterConnectionsPtrInput interface {
	pulumi.Input

	ToPSQLClusterConnectionsPtrOutput() PSQLClusterConnectionsPtrOutput
	ToPSQLClusterConnectionsPtrOutputWithContext(context.Context) PSQLClusterConnectionsPtrOutput
}

PSQLClusterConnectionsPtrInput is an input type that accepts PSQLClusterConnectionsArgs, PSQLClusterConnectionsPtr and PSQLClusterConnectionsPtrOutput values. You can construct a concrete instance of `PSQLClusterConnectionsPtrInput` via:

        PSQLClusterConnectionsArgs{...}

or:

        nil

type PSQLClusterConnectionsPtrOutput

type PSQLClusterConnectionsPtrOutput struct{ *pulumi.OutputState }

func (PSQLClusterConnectionsPtrOutput) Cidr

[true] The IP and subnet for the database. Note the following unavailable IP ranges: 10.233.64.0/18, 10.233.0.0/18, 10.233.114.0/24. Please enter in the correct format like IP/Subnet, exp: 192.168.10.0/24. See [Private IPs](https://www.ionos.com/help/server-cloud-infrastructure/private-network/private-ip-address-ranges/) and [Configuring the network](https://docs.ionos.com/cloud/compute-engine/networks/how-tos/configure-networks).

func (PSQLClusterConnectionsPtrOutput) DatacenterId

[true] The datacenter to connect your cluster to.

func (PSQLClusterConnectionsPtrOutput) Elem

func (PSQLClusterConnectionsPtrOutput) ElementType

func (PSQLClusterConnectionsPtrOutput) LanId

[true] The LAN to connect your cluster to.

func (PSQLClusterConnectionsPtrOutput) ToPSQLClusterConnectionsPtrOutput

func (o PSQLClusterConnectionsPtrOutput) ToPSQLClusterConnectionsPtrOutput() PSQLClusterConnectionsPtrOutput

func (PSQLClusterConnectionsPtrOutput) ToPSQLClusterConnectionsPtrOutputWithContext

func (o PSQLClusterConnectionsPtrOutput) ToPSQLClusterConnectionsPtrOutputWithContext(ctx context.Context) PSQLClusterConnectionsPtrOutput

type PSQLClusterCredentials

type PSQLClusterCredentials struct {
	// [string]
	Password string `pulumi:"password"`
	// [string] The username for the initial postgres user. Some system usernames are restricted (e.g. "postgres", "admin", "standby")
	Username string `pulumi:"username"`
}

type PSQLClusterCredentialsArgs

type PSQLClusterCredentialsArgs struct {
	// [string]
	Password pulumi.StringInput `pulumi:"password"`
	// [string] The username for the initial postgres user. Some system usernames are restricted (e.g. "postgres", "admin", "standby")
	Username pulumi.StringInput `pulumi:"username"`
}

func (PSQLClusterCredentialsArgs) ElementType

func (PSQLClusterCredentialsArgs) ElementType() reflect.Type

func (PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsOutput

func (i PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsOutput() PSQLClusterCredentialsOutput

func (PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsOutputWithContext

func (i PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsOutputWithContext(ctx context.Context) PSQLClusterCredentialsOutput

func (PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsPtrOutput

func (i PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsPtrOutput() PSQLClusterCredentialsPtrOutput

func (PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsPtrOutputWithContext

func (i PSQLClusterCredentialsArgs) ToPSQLClusterCredentialsPtrOutputWithContext(ctx context.Context) PSQLClusterCredentialsPtrOutput

type PSQLClusterCredentialsInput

type PSQLClusterCredentialsInput interface {
	pulumi.Input

	ToPSQLClusterCredentialsOutput() PSQLClusterCredentialsOutput
	ToPSQLClusterCredentialsOutputWithContext(context.Context) PSQLClusterCredentialsOutput
}

PSQLClusterCredentialsInput is an input type that accepts PSQLClusterCredentialsArgs and PSQLClusterCredentialsOutput values. You can construct a concrete instance of `PSQLClusterCredentialsInput` via:

PSQLClusterCredentialsArgs{...}

type PSQLClusterCredentialsOutput

type PSQLClusterCredentialsOutput struct{ *pulumi.OutputState }

func (PSQLClusterCredentialsOutput) ElementType

func (PSQLClusterCredentialsOutput) Password

[string]

func (PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsOutput

func (o PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsOutput() PSQLClusterCredentialsOutput

func (PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsOutputWithContext

func (o PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsOutputWithContext(ctx context.Context) PSQLClusterCredentialsOutput

func (PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsPtrOutput

func (o PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsPtrOutput() PSQLClusterCredentialsPtrOutput

func (PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsPtrOutputWithContext

func (o PSQLClusterCredentialsOutput) ToPSQLClusterCredentialsPtrOutputWithContext(ctx context.Context) PSQLClusterCredentialsPtrOutput

func (PSQLClusterCredentialsOutput) Username

[string] The username for the initial postgres user. Some system usernames are restricted (e.g. "postgres", "admin", "standby")

type PSQLClusterCredentialsPtrInput

type PSQLClusterCredentialsPtrInput interface {
	pulumi.Input

	ToPSQLClusterCredentialsPtrOutput() PSQLClusterCredentialsPtrOutput
	ToPSQLClusterCredentialsPtrOutputWithContext(context.Context) PSQLClusterCredentialsPtrOutput
}

PSQLClusterCredentialsPtrInput is an input type that accepts PSQLClusterCredentialsArgs, PSQLClusterCredentialsPtr and PSQLClusterCredentialsPtrOutput values. You can construct a concrete instance of `PSQLClusterCredentialsPtrInput` via:

        PSQLClusterCredentialsArgs{...}

or:

        nil

type PSQLClusterCredentialsPtrOutput

type PSQLClusterCredentialsPtrOutput struct{ *pulumi.OutputState }

func (PSQLClusterCredentialsPtrOutput) Elem

func (PSQLClusterCredentialsPtrOutput) ElementType

func (PSQLClusterCredentialsPtrOutput) Password

[string]

func (PSQLClusterCredentialsPtrOutput) ToPSQLClusterCredentialsPtrOutput

func (o PSQLClusterCredentialsPtrOutput) ToPSQLClusterCredentialsPtrOutput() PSQLClusterCredentialsPtrOutput

func (PSQLClusterCredentialsPtrOutput) ToPSQLClusterCredentialsPtrOutputWithContext

func (o PSQLClusterCredentialsPtrOutput) ToPSQLClusterCredentialsPtrOutputWithContext(ctx context.Context) PSQLClusterCredentialsPtrOutput

func (PSQLClusterCredentialsPtrOutput) Username

[string] The username for the initial postgres user. Some system usernames are restricted (e.g. "postgres", "admin", "standby")

type PSQLClusterFromBackup

type PSQLClusterFromBackup struct {
	// [string] The unique ID of the backup you want to restore.
	BackupId string `pulumi:"backupId"`
	// [string] If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
	RecoveryTargetTime *string `pulumi:"recoveryTargetTime"`
}

type PSQLClusterFromBackupArgs

type PSQLClusterFromBackupArgs struct {
	// [string] The unique ID of the backup you want to restore.
	BackupId pulumi.StringInput `pulumi:"backupId"`
	// [string] If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
	RecoveryTargetTime pulumi.StringPtrInput `pulumi:"recoveryTargetTime"`
}

func (PSQLClusterFromBackupArgs) ElementType

func (PSQLClusterFromBackupArgs) ElementType() reflect.Type

func (PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupOutput

func (i PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupOutput() PSQLClusterFromBackupOutput

func (PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupOutputWithContext

func (i PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupOutputWithContext(ctx context.Context) PSQLClusterFromBackupOutput

func (PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupPtrOutput

func (i PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupPtrOutput() PSQLClusterFromBackupPtrOutput

func (PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupPtrOutputWithContext

func (i PSQLClusterFromBackupArgs) ToPSQLClusterFromBackupPtrOutputWithContext(ctx context.Context) PSQLClusterFromBackupPtrOutput

type PSQLClusterFromBackupInput

type PSQLClusterFromBackupInput interface {
	pulumi.Input

	ToPSQLClusterFromBackupOutput() PSQLClusterFromBackupOutput
	ToPSQLClusterFromBackupOutputWithContext(context.Context) PSQLClusterFromBackupOutput
}

PSQLClusterFromBackupInput is an input type that accepts PSQLClusterFromBackupArgs and PSQLClusterFromBackupOutput values. You can construct a concrete instance of `PSQLClusterFromBackupInput` via:

PSQLClusterFromBackupArgs{...}

type PSQLClusterFromBackupOutput

type PSQLClusterFromBackupOutput struct{ *pulumi.OutputState }

func (PSQLClusterFromBackupOutput) BackupId

[string] The unique ID of the backup you want to restore.

func (PSQLClusterFromBackupOutput) ElementType

func (PSQLClusterFromBackupOutput) RecoveryTargetTime

func (o PSQLClusterFromBackupOutput) RecoveryTargetTime() pulumi.StringPtrOutput

[string] If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.

func (PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupOutput

func (o PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupOutput() PSQLClusterFromBackupOutput

func (PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupOutputWithContext

func (o PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupOutputWithContext(ctx context.Context) PSQLClusterFromBackupOutput

func (PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupPtrOutput

func (o PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupPtrOutput() PSQLClusterFromBackupPtrOutput

func (PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupPtrOutputWithContext

func (o PSQLClusterFromBackupOutput) ToPSQLClusterFromBackupPtrOutputWithContext(ctx context.Context) PSQLClusterFromBackupPtrOutput

type PSQLClusterFromBackupPtrInput

type PSQLClusterFromBackupPtrInput interface {
	pulumi.Input

	ToPSQLClusterFromBackupPtrOutput() PSQLClusterFromBackupPtrOutput
	ToPSQLClusterFromBackupPtrOutputWithContext(context.Context) PSQLClusterFromBackupPtrOutput
}

PSQLClusterFromBackupPtrInput is an input type that accepts PSQLClusterFromBackupArgs, PSQLClusterFromBackupPtr and PSQLClusterFromBackupPtrOutput values. You can construct a concrete instance of `PSQLClusterFromBackupPtrInput` via:

        PSQLClusterFromBackupArgs{...}

or:

        nil

type PSQLClusterFromBackupPtrOutput

type PSQLClusterFromBackupPtrOutput struct{ *pulumi.OutputState }

func (PSQLClusterFromBackupPtrOutput) BackupId

[string] The unique ID of the backup you want to restore.

func (PSQLClusterFromBackupPtrOutput) Elem

func (PSQLClusterFromBackupPtrOutput) ElementType

func (PSQLClusterFromBackupPtrOutput) RecoveryTargetTime

func (o PSQLClusterFromBackupPtrOutput) RecoveryTargetTime() pulumi.StringPtrOutput

[string] If this value is supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.

func (PSQLClusterFromBackupPtrOutput) ToPSQLClusterFromBackupPtrOutput

func (o PSQLClusterFromBackupPtrOutput) ToPSQLClusterFromBackupPtrOutput() PSQLClusterFromBackupPtrOutput

func (PSQLClusterFromBackupPtrOutput) ToPSQLClusterFromBackupPtrOutputWithContext

func (o PSQLClusterFromBackupPtrOutput) ToPSQLClusterFromBackupPtrOutputWithContext(ctx context.Context) PSQLClusterFromBackupPtrOutput

type PSQLClusterInput

type PSQLClusterInput interface {
	pulumi.Input

	ToPSQLClusterOutput() PSQLClusterOutput
	ToPSQLClusterOutputWithContext(ctx context.Context) PSQLClusterOutput
}

type PSQLClusterMaintenanceWindow

type PSQLClusterMaintenanceWindow struct {
	// [string]
	DayOfTheWeek string `pulumi:"dayOfTheWeek"`
	// [string]
	Time string `pulumi:"time"`
}

type PSQLClusterMaintenanceWindowArgs

type PSQLClusterMaintenanceWindowArgs struct {
	// [string]
	DayOfTheWeek pulumi.StringInput `pulumi:"dayOfTheWeek"`
	// [string]
	Time pulumi.StringInput `pulumi:"time"`
}

func (PSQLClusterMaintenanceWindowArgs) ElementType

func (PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowOutput

func (i PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowOutput() PSQLClusterMaintenanceWindowOutput

func (PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowOutputWithContext

func (i PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowOutputWithContext(ctx context.Context) PSQLClusterMaintenanceWindowOutput

func (PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowPtrOutput

func (i PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowPtrOutput() PSQLClusterMaintenanceWindowPtrOutput

func (PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowPtrOutputWithContext

func (i PSQLClusterMaintenanceWindowArgs) ToPSQLClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) PSQLClusterMaintenanceWindowPtrOutput

type PSQLClusterMaintenanceWindowInput

type PSQLClusterMaintenanceWindowInput interface {
	pulumi.Input

	ToPSQLClusterMaintenanceWindowOutput() PSQLClusterMaintenanceWindowOutput
	ToPSQLClusterMaintenanceWindowOutputWithContext(context.Context) PSQLClusterMaintenanceWindowOutput
}

PSQLClusterMaintenanceWindowInput is an input type that accepts PSQLClusterMaintenanceWindowArgs and PSQLClusterMaintenanceWindowOutput values. You can construct a concrete instance of `PSQLClusterMaintenanceWindowInput` via:

PSQLClusterMaintenanceWindowArgs{...}

type PSQLClusterMaintenanceWindowOutput

type PSQLClusterMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (PSQLClusterMaintenanceWindowOutput) DayOfTheWeek

[string]

func (PSQLClusterMaintenanceWindowOutput) ElementType

func (PSQLClusterMaintenanceWindowOutput) Time

[string]

func (PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowOutput

func (o PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowOutput() PSQLClusterMaintenanceWindowOutput

func (PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowOutputWithContext

func (o PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowOutputWithContext(ctx context.Context) PSQLClusterMaintenanceWindowOutput

func (PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowPtrOutput

func (o PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowPtrOutput() PSQLClusterMaintenanceWindowPtrOutput

func (PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowPtrOutputWithContext

func (o PSQLClusterMaintenanceWindowOutput) ToPSQLClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) PSQLClusterMaintenanceWindowPtrOutput

type PSQLClusterMaintenanceWindowPtrInput

type PSQLClusterMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToPSQLClusterMaintenanceWindowPtrOutput() PSQLClusterMaintenanceWindowPtrOutput
	ToPSQLClusterMaintenanceWindowPtrOutputWithContext(context.Context) PSQLClusterMaintenanceWindowPtrOutput
}

PSQLClusterMaintenanceWindowPtrInput is an input type that accepts PSQLClusterMaintenanceWindowArgs, PSQLClusterMaintenanceWindowPtr and PSQLClusterMaintenanceWindowPtrOutput values. You can construct a concrete instance of `PSQLClusterMaintenanceWindowPtrInput` via:

        PSQLClusterMaintenanceWindowArgs{...}

or:

        nil

type PSQLClusterMaintenanceWindowPtrOutput

type PSQLClusterMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (PSQLClusterMaintenanceWindowPtrOutput) DayOfTheWeek

[string]

func (PSQLClusterMaintenanceWindowPtrOutput) Elem

func (PSQLClusterMaintenanceWindowPtrOutput) ElementType

func (PSQLClusterMaintenanceWindowPtrOutput) Time

[string]

func (PSQLClusterMaintenanceWindowPtrOutput) ToPSQLClusterMaintenanceWindowPtrOutput

func (o PSQLClusterMaintenanceWindowPtrOutput) ToPSQLClusterMaintenanceWindowPtrOutput() PSQLClusterMaintenanceWindowPtrOutput

func (PSQLClusterMaintenanceWindowPtrOutput) ToPSQLClusterMaintenanceWindowPtrOutputWithContext

func (o PSQLClusterMaintenanceWindowPtrOutput) ToPSQLClusterMaintenanceWindowPtrOutputWithContext(ctx context.Context) PSQLClusterMaintenanceWindowPtrOutput

type PSQLClusterMap

type PSQLClusterMap map[string]PSQLClusterInput

func (PSQLClusterMap) ElementType

func (PSQLClusterMap) ElementType() reflect.Type

func (PSQLClusterMap) ToPSQLClusterMapOutput

func (i PSQLClusterMap) ToPSQLClusterMapOutput() PSQLClusterMapOutput

func (PSQLClusterMap) ToPSQLClusterMapOutputWithContext

func (i PSQLClusterMap) ToPSQLClusterMapOutputWithContext(ctx context.Context) PSQLClusterMapOutput

type PSQLClusterMapInput

type PSQLClusterMapInput interface {
	pulumi.Input

	ToPSQLClusterMapOutput() PSQLClusterMapOutput
	ToPSQLClusterMapOutputWithContext(context.Context) PSQLClusterMapOutput
}

PSQLClusterMapInput is an input type that accepts PSQLClusterMap and PSQLClusterMapOutput values. You can construct a concrete instance of `PSQLClusterMapInput` via:

PSQLClusterMap{ "key": PSQLClusterArgs{...} }

type PSQLClusterMapOutput

type PSQLClusterMapOutput struct{ *pulumi.OutputState }

func (PSQLClusterMapOutput) ElementType

func (PSQLClusterMapOutput) ElementType() reflect.Type

func (PSQLClusterMapOutput) MapIndex

func (PSQLClusterMapOutput) ToPSQLClusterMapOutput

func (o PSQLClusterMapOutput) ToPSQLClusterMapOutput() PSQLClusterMapOutput

func (PSQLClusterMapOutput) ToPSQLClusterMapOutputWithContext

func (o PSQLClusterMapOutput) ToPSQLClusterMapOutputWithContext(ctx context.Context) PSQLClusterMapOutput

type PSQLClusterOutput

type PSQLClusterOutput struct{ *pulumi.OutputState }

func (PSQLClusterOutput) BackupLocation

func (o PSQLClusterOutput) BackupLocation() pulumi.StringOutput

(Computed)[string] The IONOS Object Storage location where the backups will be stored. Possible values are: `de`, `eu-south-2`, `eu-central-2`. This attribute is immutable (disallowed in update requests).

func (PSQLClusterOutput) ConnectionPooler

[object]

func (PSQLClusterOutput) Connections

[string] Details about the network connection for your cluster.

func (PSQLClusterOutput) Cores

[int] The number of CPU cores per replica.

func (PSQLClusterOutput) Credentials

[string] Credentials for the database user to be created. This attribute is immutable(disallowed in update requests).

func (PSQLClusterOutput) DisplayName

func (o PSQLClusterOutput) DisplayName() pulumi.StringOutput

[string] The friendly name of your cluster.

func (PSQLClusterOutput) DnsName

[string] The DNS name pointing to your cluster.

func (PSQLClusterOutput) ElementType

func (PSQLClusterOutput) ElementType() reflect.Type

func (PSQLClusterOutput) FromBackup

[string] The unique ID of the backup you want to restore. This attribute is immutable(disallowed in update requests).

func (PSQLClusterOutput) Instances

func (o PSQLClusterOutput) Instances() pulumi.IntOutput

[int] The total number of instances in the cluster (one master and n-1 standbys)

func (PSQLClusterOutput) Location

func (o PSQLClusterOutput) Location() pulumi.StringOutput

[string] The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Possible values are: `de/fra`, `de/txl`, `gb/lhr`, `es/vit`, `us/ewr`, `us/las`. This attribute is immutable(disallowed in update requests).

func (PSQLClusterOutput) MaintenanceWindow

(Computed) A weekly 4 hour-long window, during which maintenance might occur

func (PSQLClusterOutput) PostgresVersion

func (o PSQLClusterOutput) PostgresVersion() pulumi.StringOutput

[string] The PostgreSQL version of your cluster.

func (PSQLClusterOutput) Ram

[int] The amount of memory per instance in megabytes. Has to be a multiple of 1024.

func (PSQLClusterOutput) StorageSize

func (o PSQLClusterOutput) StorageSize() pulumi.IntOutput

[int] The amount of storage per instance in MB. Has to be a multiple of 2048.

func (PSQLClusterOutput) StorageType

func (o PSQLClusterOutput) StorageType() pulumi.StringOutput

[string] SSD, SSD Standard, SSD Premium, or HDD. Value "SSD" is deprecated, use the equivalent "SSD Premium" instead. This attribute is immutable(disallowed in update requests).

func (PSQLClusterOutput) SynchronizationMode

func (o PSQLClusterOutput) SynchronizationMode() pulumi.StringOutput

[string] Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests).

func (PSQLClusterOutput) ToPSQLClusterOutput

func (o PSQLClusterOutput) ToPSQLClusterOutput() PSQLClusterOutput

func (PSQLClusterOutput) ToPSQLClusterOutputWithContext

func (o PSQLClusterOutput) ToPSQLClusterOutputWithContext(ctx context.Context) PSQLClusterOutput

type PSQLClusterState

type PSQLClusterState struct {
	// (Computed)[string] The IONOS Object Storage location where the backups will be stored. Possible values are: `de`, `eu-south-2`, `eu-central-2`. This attribute is immutable (disallowed in update requests).
	BackupLocation pulumi.StringPtrInput
	// [object]
	ConnectionPooler PSQLClusterConnectionPoolerPtrInput
	// [string] Details about the network connection for your cluster.
	Connections PSQLClusterConnectionsPtrInput
	// [int] The number of CPU cores per replica.
	Cores pulumi.IntPtrInput
	// [string] Credentials for the database user to be created. This attribute is immutable(disallowed in update requests).
	Credentials PSQLClusterCredentialsPtrInput
	// [string] The friendly name of your cluster.
	DisplayName pulumi.StringPtrInput
	// [string] The DNS name pointing to your cluster.
	DnsName pulumi.StringPtrInput
	// [string] The unique ID of the backup you want to restore. This attribute is immutable(disallowed in update requests).
	FromBackup PSQLClusterFromBackupPtrInput
	// [int] The total number of instances in the cluster (one master and n-1 standbys)
	Instances pulumi.IntPtrInput
	// [string] The physical location where the cluster will be created. This will be where all of your instances live. Property cannot be modified after datacenter creation. Possible values are: `de/fra`, `de/txl`, `gb/lhr`, `es/vit`, `us/ewr`, `us/las`. This attribute is immutable(disallowed in update requests).
	Location pulumi.StringPtrInput
	// (Computed) A weekly 4 hour-long window, during which maintenance might occur
	MaintenanceWindow PSQLClusterMaintenanceWindowPtrInput
	// [string] The PostgreSQL version of your cluster.
	PostgresVersion pulumi.StringPtrInput
	// [int] The amount of memory per instance in megabytes. Has to be a multiple of 1024.
	Ram pulumi.IntPtrInput
	// [int] The amount of storage per instance in MB. Has to be a multiple of 2048.
	StorageSize pulumi.IntPtrInput
	// [string] SSD, SSD Standard, SSD Premium, or HDD. Value "SSD" is deprecated, use the equivalent "SSD Premium" instead. This attribute is immutable(disallowed in update requests).
	StorageType pulumi.StringPtrInput
	// [string] Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests).
	SynchronizationMode pulumi.StringPtrInput
}

func (PSQLClusterState) ElementType

func (PSQLClusterState) ElementType() reflect.Type

type PSQLDatabase

type PSQLDatabase struct {
	pulumi.CustomResourceState

	// [string] The unique ID of the cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// [string] The name of the database.
	Name pulumi.StringOutput `pulumi:"name"`
	// [string] The owner of the database.
	Owner pulumi.StringOutput `pulumi:"owner"`
}

Manages a **DbaaS PgSql Database**.

## Example Usage

Create a `PgSQL` cluster as presented in the documentation for the cluster, then define a database resource and link it with the previously created cluster:

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dbaas.NewPSQLDatabase(ctx, "example_pg_database", &dbaas.PSQLDatabaseArgs{
			ClusterId: pulumi.Any(example.Id),
			Name:      pulumi.String("exampledatabase"),
			Owner:     pulumi.String("exampleuser"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

In order to import a PgSql database, you can define an empty database resource in the plan:

hcl

resource "ionoscloud_pg_database" "example" {

}

The resource can be imported using the `clusterId` and the `name`, for example:

```sh $ pulumi import ionoscloud:dbaas/pSQLDatabase:PSQLDatabase example clusterid/name ```

func GetPSQLDatabase

func GetPSQLDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PSQLDatabaseState, opts ...pulumi.ResourceOption) (*PSQLDatabase, error)

GetPSQLDatabase gets an existing PSQLDatabase 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 NewPSQLDatabase

func NewPSQLDatabase(ctx *pulumi.Context,
	name string, args *PSQLDatabaseArgs, opts ...pulumi.ResourceOption) (*PSQLDatabase, error)

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

func (*PSQLDatabase) ElementType

func (*PSQLDatabase) ElementType() reflect.Type

func (*PSQLDatabase) ToPSQLDatabaseOutput

func (i *PSQLDatabase) ToPSQLDatabaseOutput() PSQLDatabaseOutput

func (*PSQLDatabase) ToPSQLDatabaseOutputWithContext

func (i *PSQLDatabase) ToPSQLDatabaseOutputWithContext(ctx context.Context) PSQLDatabaseOutput

type PSQLDatabaseArgs

type PSQLDatabaseArgs struct {
	// [string] The unique ID of the cluster.
	ClusterId pulumi.StringInput
	// [string] The name of the database.
	Name pulumi.StringPtrInput
	// [string] The owner of the database.
	Owner pulumi.StringInput
}

The set of arguments for constructing a PSQLDatabase resource.

func (PSQLDatabaseArgs) ElementType

func (PSQLDatabaseArgs) ElementType() reflect.Type

type PSQLDatabaseArray

type PSQLDatabaseArray []PSQLDatabaseInput

func (PSQLDatabaseArray) ElementType

func (PSQLDatabaseArray) ElementType() reflect.Type

func (PSQLDatabaseArray) ToPSQLDatabaseArrayOutput

func (i PSQLDatabaseArray) ToPSQLDatabaseArrayOutput() PSQLDatabaseArrayOutput

func (PSQLDatabaseArray) ToPSQLDatabaseArrayOutputWithContext

func (i PSQLDatabaseArray) ToPSQLDatabaseArrayOutputWithContext(ctx context.Context) PSQLDatabaseArrayOutput

type PSQLDatabaseArrayInput

type PSQLDatabaseArrayInput interface {
	pulumi.Input

	ToPSQLDatabaseArrayOutput() PSQLDatabaseArrayOutput
	ToPSQLDatabaseArrayOutputWithContext(context.Context) PSQLDatabaseArrayOutput
}

PSQLDatabaseArrayInput is an input type that accepts PSQLDatabaseArray and PSQLDatabaseArrayOutput values. You can construct a concrete instance of `PSQLDatabaseArrayInput` via:

PSQLDatabaseArray{ PSQLDatabaseArgs{...} }

type PSQLDatabaseArrayOutput

type PSQLDatabaseArrayOutput struct{ *pulumi.OutputState }

func (PSQLDatabaseArrayOutput) ElementType

func (PSQLDatabaseArrayOutput) ElementType() reflect.Type

func (PSQLDatabaseArrayOutput) Index

func (PSQLDatabaseArrayOutput) ToPSQLDatabaseArrayOutput

func (o PSQLDatabaseArrayOutput) ToPSQLDatabaseArrayOutput() PSQLDatabaseArrayOutput

func (PSQLDatabaseArrayOutput) ToPSQLDatabaseArrayOutputWithContext

func (o PSQLDatabaseArrayOutput) ToPSQLDatabaseArrayOutputWithContext(ctx context.Context) PSQLDatabaseArrayOutput

type PSQLDatabaseInput

type PSQLDatabaseInput interface {
	pulumi.Input

	ToPSQLDatabaseOutput() PSQLDatabaseOutput
	ToPSQLDatabaseOutputWithContext(ctx context.Context) PSQLDatabaseOutput
}

type PSQLDatabaseMap

type PSQLDatabaseMap map[string]PSQLDatabaseInput

func (PSQLDatabaseMap) ElementType

func (PSQLDatabaseMap) ElementType() reflect.Type

func (PSQLDatabaseMap) ToPSQLDatabaseMapOutput

func (i PSQLDatabaseMap) ToPSQLDatabaseMapOutput() PSQLDatabaseMapOutput

func (PSQLDatabaseMap) ToPSQLDatabaseMapOutputWithContext

func (i PSQLDatabaseMap) ToPSQLDatabaseMapOutputWithContext(ctx context.Context) PSQLDatabaseMapOutput

type PSQLDatabaseMapInput

type PSQLDatabaseMapInput interface {
	pulumi.Input

	ToPSQLDatabaseMapOutput() PSQLDatabaseMapOutput
	ToPSQLDatabaseMapOutputWithContext(context.Context) PSQLDatabaseMapOutput
}

PSQLDatabaseMapInput is an input type that accepts PSQLDatabaseMap and PSQLDatabaseMapOutput values. You can construct a concrete instance of `PSQLDatabaseMapInput` via:

PSQLDatabaseMap{ "key": PSQLDatabaseArgs{...} }

type PSQLDatabaseMapOutput

type PSQLDatabaseMapOutput struct{ *pulumi.OutputState }

func (PSQLDatabaseMapOutput) ElementType

func (PSQLDatabaseMapOutput) ElementType() reflect.Type

func (PSQLDatabaseMapOutput) MapIndex

func (PSQLDatabaseMapOutput) ToPSQLDatabaseMapOutput

func (o PSQLDatabaseMapOutput) ToPSQLDatabaseMapOutput() PSQLDatabaseMapOutput

func (PSQLDatabaseMapOutput) ToPSQLDatabaseMapOutputWithContext

func (o PSQLDatabaseMapOutput) ToPSQLDatabaseMapOutputWithContext(ctx context.Context) PSQLDatabaseMapOutput

type PSQLDatabaseOutput

type PSQLDatabaseOutput struct{ *pulumi.OutputState }

func (PSQLDatabaseOutput) ClusterId

func (o PSQLDatabaseOutput) ClusterId() pulumi.StringOutput

[string] The unique ID of the cluster.

func (PSQLDatabaseOutput) ElementType

func (PSQLDatabaseOutput) ElementType() reflect.Type

func (PSQLDatabaseOutput) Name

[string] The name of the database.

func (PSQLDatabaseOutput) Owner

[string] The owner of the database.

func (PSQLDatabaseOutput) ToPSQLDatabaseOutput

func (o PSQLDatabaseOutput) ToPSQLDatabaseOutput() PSQLDatabaseOutput

func (PSQLDatabaseOutput) ToPSQLDatabaseOutputWithContext

func (o PSQLDatabaseOutput) ToPSQLDatabaseOutputWithContext(ctx context.Context) PSQLDatabaseOutput

type PSQLDatabaseState

type PSQLDatabaseState struct {
	// [string] The unique ID of the cluster.
	ClusterId pulumi.StringPtrInput
	// [string] The name of the database.
	Name pulumi.StringPtrInput
	// [string] The owner of the database.
	Owner pulumi.StringPtrInput
}

func (PSQLDatabaseState) ElementType

func (PSQLDatabaseState) ElementType() reflect.Type

type PSQLUser

type PSQLUser struct {
	pulumi.CustomResourceState

	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// [bool] Describes whether this user is a system user or not. A system user cannot be updated or deleted.
	IsSystemUser pulumi.BoolOutput `pulumi:"isSystemUser"`
	// [string] User password.
	Password pulumi.StringOutput `pulumi:"password"`
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username pulumi.StringOutput `pulumi:"username"`
}

Manages a **DbaaS PgSql User**.

## Example Usage

Create a `PgSQL` cluster as presented in the documentation for the cluster, then define a user resource and link it with the previously created cluster:

```go package main

import (

"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi-random/sdk/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		userPassword, err := random.NewPassword(ctx, "user_password", &random.PasswordArgs{
			Length:          16,
			Special:         true,
			OverrideSpecial: "!#$%&*()-_=+[]{}<>:?",
		})
		if err != nil {
			return err
		}
		_, err = dbaas.NewPSQLUser(ctx, "example_pg_user", &dbaas.PSQLUserArgs{
			ClusterId: pulumi.Any(example.Id),
			Username:  pulumi.String("exampleuser"),
			Password:  userPassword.Result,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

In order to import a PgSql user, you can define an empty user resource in the plan:

hcl

resource "ionoscloud_pg_user" "example" {

}

The resource can be imported using the `clusterId` and the `username`, for example:

```sh $ pulumi import ionoscloud:dbaas/pSQLUser:PSQLUser example clusterid/username ```

func GetPSQLUser

func GetPSQLUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PSQLUserState, opts ...pulumi.ResourceOption) (*PSQLUser, error)

GetPSQLUser gets an existing PSQLUser 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 NewPSQLUser

func NewPSQLUser(ctx *pulumi.Context,
	name string, args *PSQLUserArgs, opts ...pulumi.ResourceOption) (*PSQLUser, error)

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

func (*PSQLUser) ElementType

func (*PSQLUser) ElementType() reflect.Type

func (*PSQLUser) ToPSQLUserOutput

func (i *PSQLUser) ToPSQLUserOutput() PSQLUserOutput

func (*PSQLUser) ToPSQLUserOutputWithContext

func (i *PSQLUser) ToPSQLUserOutputWithContext(ctx context.Context) PSQLUserOutput

type PSQLUserArgs

type PSQLUserArgs struct {
	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId pulumi.StringInput
	// [string] User password.
	Password pulumi.StringInput
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username pulumi.StringInput
}

The set of arguments for constructing a PSQLUser resource.

func (PSQLUserArgs) ElementType

func (PSQLUserArgs) ElementType() reflect.Type

type PSQLUserArray

type PSQLUserArray []PSQLUserInput

func (PSQLUserArray) ElementType

func (PSQLUserArray) ElementType() reflect.Type

func (PSQLUserArray) ToPSQLUserArrayOutput

func (i PSQLUserArray) ToPSQLUserArrayOutput() PSQLUserArrayOutput

func (PSQLUserArray) ToPSQLUserArrayOutputWithContext

func (i PSQLUserArray) ToPSQLUserArrayOutputWithContext(ctx context.Context) PSQLUserArrayOutput

type PSQLUserArrayInput

type PSQLUserArrayInput interface {
	pulumi.Input

	ToPSQLUserArrayOutput() PSQLUserArrayOutput
	ToPSQLUserArrayOutputWithContext(context.Context) PSQLUserArrayOutput
}

PSQLUserArrayInput is an input type that accepts PSQLUserArray and PSQLUserArrayOutput values. You can construct a concrete instance of `PSQLUserArrayInput` via:

PSQLUserArray{ PSQLUserArgs{...} }

type PSQLUserArrayOutput

type PSQLUserArrayOutput struct{ *pulumi.OutputState }

func (PSQLUserArrayOutput) ElementType

func (PSQLUserArrayOutput) ElementType() reflect.Type

func (PSQLUserArrayOutput) Index

func (PSQLUserArrayOutput) ToPSQLUserArrayOutput

func (o PSQLUserArrayOutput) ToPSQLUserArrayOutput() PSQLUserArrayOutput

func (PSQLUserArrayOutput) ToPSQLUserArrayOutputWithContext

func (o PSQLUserArrayOutput) ToPSQLUserArrayOutputWithContext(ctx context.Context) PSQLUserArrayOutput

type PSQLUserInput

type PSQLUserInput interface {
	pulumi.Input

	ToPSQLUserOutput() PSQLUserOutput
	ToPSQLUserOutputWithContext(ctx context.Context) PSQLUserOutput
}

type PSQLUserMap

type PSQLUserMap map[string]PSQLUserInput

func (PSQLUserMap) ElementType

func (PSQLUserMap) ElementType() reflect.Type

func (PSQLUserMap) ToPSQLUserMapOutput

func (i PSQLUserMap) ToPSQLUserMapOutput() PSQLUserMapOutput

func (PSQLUserMap) ToPSQLUserMapOutputWithContext

func (i PSQLUserMap) ToPSQLUserMapOutputWithContext(ctx context.Context) PSQLUserMapOutput

type PSQLUserMapInput

type PSQLUserMapInput interface {
	pulumi.Input

	ToPSQLUserMapOutput() PSQLUserMapOutput
	ToPSQLUserMapOutputWithContext(context.Context) PSQLUserMapOutput
}

PSQLUserMapInput is an input type that accepts PSQLUserMap and PSQLUserMapOutput values. You can construct a concrete instance of `PSQLUserMapInput` via:

PSQLUserMap{ "key": PSQLUserArgs{...} }

type PSQLUserMapOutput

type PSQLUserMapOutput struct{ *pulumi.OutputState }

func (PSQLUserMapOutput) ElementType

func (PSQLUserMapOutput) ElementType() reflect.Type

func (PSQLUserMapOutput) MapIndex

func (PSQLUserMapOutput) ToPSQLUserMapOutput

func (o PSQLUserMapOutput) ToPSQLUserMapOutput() PSQLUserMapOutput

func (PSQLUserMapOutput) ToPSQLUserMapOutputWithContext

func (o PSQLUserMapOutput) ToPSQLUserMapOutputWithContext(ctx context.Context) PSQLUserMapOutput

type PSQLUserOutput

type PSQLUserOutput struct{ *pulumi.OutputState }

func (PSQLUserOutput) ClusterId

func (o PSQLUserOutput) ClusterId() pulumi.StringOutput

[string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.

func (PSQLUserOutput) ElementType

func (PSQLUserOutput) ElementType() reflect.Type

func (PSQLUserOutput) IsSystemUser

func (o PSQLUserOutput) IsSystemUser() pulumi.BoolOutput

[bool] Describes whether this user is a system user or not. A system user cannot be updated or deleted.

func (PSQLUserOutput) Password

func (o PSQLUserOutput) Password() pulumi.StringOutput

[string] User password.

func (PSQLUserOutput) ToPSQLUserOutput

func (o PSQLUserOutput) ToPSQLUserOutput() PSQLUserOutput

func (PSQLUserOutput) ToPSQLUserOutputWithContext

func (o PSQLUserOutput) ToPSQLUserOutputWithContext(ctx context.Context) PSQLUserOutput

func (PSQLUserOutput) Username

func (o PSQLUserOutput) Username() pulumi.StringOutput

[string] Used for authentication. Updates to the value of the field force the cluster to be re-created.

type PSQLUserState

type PSQLUserState struct {
	// [string] The unique ID of the cluster. Updates to the value of the field force the cluster to be re-created.
	ClusterId pulumi.StringPtrInput
	// [bool] Describes whether this user is a system user or not. A system user cannot be updated or deleted.
	IsSystemUser pulumi.BoolPtrInput
	// [string] User password.
	Password pulumi.StringPtrInput
	// [string] Used for authentication. Updates to the value of the field force the cluster to be re-created.
	Username pulumi.StringPtrInput
}

func (PSQLUserState) ElementType

func (PSQLUserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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