cloudprojectdatabase

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 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 DatabaseInstance

type DatabaseInstance struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Defines if the database has been created by default.
	Default pulumi.BoolOutput `pulumi:"default"`
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringOutput `pulumi:"engine"`
	// Name of the database.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
}

Creates a database for a database cluster associated with a public cloud project.

With this resource you can create a database for the following database engine:

  • `mysql`
  • `postgresql`

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		db, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXXX",
			Engine:      "YYYY",
			Id:          "ZZZZ",
		}, nil)
		if err != nil {
			return err
		}
		_, err = CloudProjectDatabase.NewDatabaseInstance(ctx, "database", &CloudProjectDatabase.DatabaseInstanceArgs{
			ServiceName: *pulumi.String(db.ServiceName),
			Engine:      *pulumi.String(db.Engine),
			ClusterId:   *pulumi.String(db.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OVHcloud Managed database clusters databases can be imported using the `service_name`, `engine`, `cluster_id` and `id` of the database, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/databaseInstance:DatabaseInstance my_database service_name/engine/cluster_id/id

```

func GetDatabaseInstance

func GetDatabaseInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseInstanceState, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

GetDatabaseInstance gets an existing DatabaseInstance 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 NewDatabaseInstance

func NewDatabaseInstance(ctx *pulumi.Context,
	name string, args *DatabaseInstanceArgs, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

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

func (*DatabaseInstance) ElementType

func (*DatabaseInstance) ElementType() reflect.Type

func (*DatabaseInstance) ToDatabaseInstanceOutput

func (i *DatabaseInstance) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (*DatabaseInstance) ToDatabaseInstanceOutputWithContext

func (i *DatabaseInstance) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

type DatabaseInstanceArgs

type DatabaseInstanceArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringInput
	// Name of the database.
	Name pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a DatabaseInstance resource.

func (DatabaseInstanceArgs) ElementType

func (DatabaseInstanceArgs) ElementType() reflect.Type

type DatabaseInstanceArray

type DatabaseInstanceArray []DatabaseInstanceInput

func (DatabaseInstanceArray) ElementType

func (DatabaseInstanceArray) ElementType() reflect.Type

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutput

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

type DatabaseInstanceArrayInput

type DatabaseInstanceArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput
	ToDatabaseInstanceArrayOutputWithContext(context.Context) DatabaseInstanceArrayOutput
}

DatabaseInstanceArrayInput is an input type that accepts DatabaseInstanceArray and DatabaseInstanceArrayOutput values. You can construct a concrete instance of `DatabaseInstanceArrayInput` via:

DatabaseInstanceArray{ DatabaseInstanceArgs{...} }

type DatabaseInstanceArrayOutput

type DatabaseInstanceArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceArrayOutput) ElementType

func (DatabaseInstanceArrayOutput) Index

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

type DatabaseInstanceInput

type DatabaseInstanceInput interface {
	pulumi.Input

	ToDatabaseInstanceOutput() DatabaseInstanceOutput
	ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput
}

type DatabaseInstanceMap

type DatabaseInstanceMap map[string]DatabaseInstanceInput

func (DatabaseInstanceMap) ElementType

func (DatabaseInstanceMap) ElementType() reflect.Type

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutput

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

type DatabaseInstanceMapInput

type DatabaseInstanceMapInput interface {
	pulumi.Input

	ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput
	ToDatabaseInstanceMapOutputWithContext(context.Context) DatabaseInstanceMapOutput
}

DatabaseInstanceMapInput is an input type that accepts DatabaseInstanceMap and DatabaseInstanceMapOutput values. You can construct a concrete instance of `DatabaseInstanceMapInput` via:

DatabaseInstanceMap{ "key": DatabaseInstanceArgs{...} }

type DatabaseInstanceMapOutput

type DatabaseInstanceMapOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceMapOutput) ElementType

func (DatabaseInstanceMapOutput) ElementType() reflect.Type

func (DatabaseInstanceMapOutput) MapIndex

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

type DatabaseInstanceOutput

type DatabaseInstanceOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceOutput) ClusterId

Cluster ID.

func (DatabaseInstanceOutput) Default

Defines if the database has been created by default.

func (DatabaseInstanceOutput) ElementType

func (DatabaseInstanceOutput) ElementType() reflect.Type

func (DatabaseInstanceOutput) Engine

The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases). Available engines:

func (DatabaseInstanceOutput) Name

Name of the database.

func (DatabaseInstanceOutput) ServiceName

func (o DatabaseInstanceOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (DatabaseInstanceOutput) ToDatabaseInstanceOutput

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

type DatabaseInstanceState

type DatabaseInstanceState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Defines if the database has been created by default.
	Default pulumi.BoolPtrInput
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringPtrInput
	// Name of the database.
	Name pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
}

func (DatabaseInstanceState) ElementType

func (DatabaseInstanceState) ElementType() reflect.Type

type GetCapabilitiesArgs

type GetCapabilitiesArgs struct {
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getCapabilities.

type GetCapabilitiesEngine

type GetCapabilitiesEngine struct {
	// Default version used for the engine.
	DefaultVersion string `pulumi:"defaultVersion"`
	// Description of the plan.
	Description string `pulumi:"description"`
	// Name of the plan.
	Name string `pulumi:"name"`
	// SSL modes for this engine.
	SslModes []string `pulumi:"sslModes"`
	// Versions available for this engine.
	Versions []string `pulumi:"versions"`
}

type GetCapabilitiesEngineArgs

type GetCapabilitiesEngineArgs struct {
	// Default version used for the engine.
	DefaultVersion pulumi.StringInput `pulumi:"defaultVersion"`
	// Description of the plan.
	Description pulumi.StringInput `pulumi:"description"`
	// Name of the plan.
	Name pulumi.StringInput `pulumi:"name"`
	// SSL modes for this engine.
	SslModes pulumi.StringArrayInput `pulumi:"sslModes"`
	// Versions available for this engine.
	Versions pulumi.StringArrayInput `pulumi:"versions"`
}

func (GetCapabilitiesEngineArgs) ElementType

func (GetCapabilitiesEngineArgs) ElementType() reflect.Type

func (GetCapabilitiesEngineArgs) ToGetCapabilitiesEngineOutput

func (i GetCapabilitiesEngineArgs) ToGetCapabilitiesEngineOutput() GetCapabilitiesEngineOutput

func (GetCapabilitiesEngineArgs) ToGetCapabilitiesEngineOutputWithContext

func (i GetCapabilitiesEngineArgs) ToGetCapabilitiesEngineOutputWithContext(ctx context.Context) GetCapabilitiesEngineOutput

type GetCapabilitiesEngineArray

type GetCapabilitiesEngineArray []GetCapabilitiesEngineInput

func (GetCapabilitiesEngineArray) ElementType

func (GetCapabilitiesEngineArray) ElementType() reflect.Type

func (GetCapabilitiesEngineArray) ToGetCapabilitiesEngineArrayOutput

func (i GetCapabilitiesEngineArray) ToGetCapabilitiesEngineArrayOutput() GetCapabilitiesEngineArrayOutput

func (GetCapabilitiesEngineArray) ToGetCapabilitiesEngineArrayOutputWithContext

func (i GetCapabilitiesEngineArray) ToGetCapabilitiesEngineArrayOutputWithContext(ctx context.Context) GetCapabilitiesEngineArrayOutput

type GetCapabilitiesEngineArrayInput

type GetCapabilitiesEngineArrayInput interface {
	pulumi.Input

	ToGetCapabilitiesEngineArrayOutput() GetCapabilitiesEngineArrayOutput
	ToGetCapabilitiesEngineArrayOutputWithContext(context.Context) GetCapabilitiesEngineArrayOutput
}

GetCapabilitiesEngineArrayInput is an input type that accepts GetCapabilitiesEngineArray and GetCapabilitiesEngineArrayOutput values. You can construct a concrete instance of `GetCapabilitiesEngineArrayInput` via:

GetCapabilitiesEngineArray{ GetCapabilitiesEngineArgs{...} }

type GetCapabilitiesEngineArrayOutput

type GetCapabilitiesEngineArrayOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesEngineArrayOutput) ElementType

func (GetCapabilitiesEngineArrayOutput) Index

func (GetCapabilitiesEngineArrayOutput) ToGetCapabilitiesEngineArrayOutput

func (o GetCapabilitiesEngineArrayOutput) ToGetCapabilitiesEngineArrayOutput() GetCapabilitiesEngineArrayOutput

func (GetCapabilitiesEngineArrayOutput) ToGetCapabilitiesEngineArrayOutputWithContext

func (o GetCapabilitiesEngineArrayOutput) ToGetCapabilitiesEngineArrayOutputWithContext(ctx context.Context) GetCapabilitiesEngineArrayOutput

type GetCapabilitiesEngineInput

type GetCapabilitiesEngineInput interface {
	pulumi.Input

	ToGetCapabilitiesEngineOutput() GetCapabilitiesEngineOutput
	ToGetCapabilitiesEngineOutputWithContext(context.Context) GetCapabilitiesEngineOutput
}

GetCapabilitiesEngineInput is an input type that accepts GetCapabilitiesEngineArgs and GetCapabilitiesEngineOutput values. You can construct a concrete instance of `GetCapabilitiesEngineInput` via:

GetCapabilitiesEngineArgs{...}

type GetCapabilitiesEngineOutput

type GetCapabilitiesEngineOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesEngineOutput) DefaultVersion

func (o GetCapabilitiesEngineOutput) DefaultVersion() pulumi.StringOutput

Default version used for the engine.

func (GetCapabilitiesEngineOutput) Description

Description of the plan.

func (GetCapabilitiesEngineOutput) ElementType

func (GetCapabilitiesEngineOutput) Name

Name of the plan.

func (GetCapabilitiesEngineOutput) SslModes

SSL modes for this engine.

func (GetCapabilitiesEngineOutput) ToGetCapabilitiesEngineOutput

func (o GetCapabilitiesEngineOutput) ToGetCapabilitiesEngineOutput() GetCapabilitiesEngineOutput

func (GetCapabilitiesEngineOutput) ToGetCapabilitiesEngineOutputWithContext

func (o GetCapabilitiesEngineOutput) ToGetCapabilitiesEngineOutputWithContext(ctx context.Context) GetCapabilitiesEngineOutput

func (GetCapabilitiesEngineOutput) Versions

Versions available for this engine.

type GetCapabilitiesFlavor

type GetCapabilitiesFlavor struct {
	// Flavor core number.
	Core int `pulumi:"core"`
	// Flavor ram size in GB.
	Memory int `pulumi:"memory"`
	// Name of the plan.
	Name string `pulumi:"name"`
	// Flavor disk size in GB.
	Storage int `pulumi:"storage"`
}

type GetCapabilitiesFlavorArgs

type GetCapabilitiesFlavorArgs struct {
	// Flavor core number.
	Core pulumi.IntInput `pulumi:"core"`
	// Flavor ram size in GB.
	Memory pulumi.IntInput `pulumi:"memory"`
	// Name of the plan.
	Name pulumi.StringInput `pulumi:"name"`
	// Flavor disk size in GB.
	Storage pulumi.IntInput `pulumi:"storage"`
}

func (GetCapabilitiesFlavorArgs) ElementType

func (GetCapabilitiesFlavorArgs) ElementType() reflect.Type

func (GetCapabilitiesFlavorArgs) ToGetCapabilitiesFlavorOutput

func (i GetCapabilitiesFlavorArgs) ToGetCapabilitiesFlavorOutput() GetCapabilitiesFlavorOutput

func (GetCapabilitiesFlavorArgs) ToGetCapabilitiesFlavorOutputWithContext

func (i GetCapabilitiesFlavorArgs) ToGetCapabilitiesFlavorOutputWithContext(ctx context.Context) GetCapabilitiesFlavorOutput

type GetCapabilitiesFlavorArray

type GetCapabilitiesFlavorArray []GetCapabilitiesFlavorInput

func (GetCapabilitiesFlavorArray) ElementType

func (GetCapabilitiesFlavorArray) ElementType() reflect.Type

func (GetCapabilitiesFlavorArray) ToGetCapabilitiesFlavorArrayOutput

func (i GetCapabilitiesFlavorArray) ToGetCapabilitiesFlavorArrayOutput() GetCapabilitiesFlavorArrayOutput

func (GetCapabilitiesFlavorArray) ToGetCapabilitiesFlavorArrayOutputWithContext

func (i GetCapabilitiesFlavorArray) ToGetCapabilitiesFlavorArrayOutputWithContext(ctx context.Context) GetCapabilitiesFlavorArrayOutput

type GetCapabilitiesFlavorArrayInput

type GetCapabilitiesFlavorArrayInput interface {
	pulumi.Input

	ToGetCapabilitiesFlavorArrayOutput() GetCapabilitiesFlavorArrayOutput
	ToGetCapabilitiesFlavorArrayOutputWithContext(context.Context) GetCapabilitiesFlavorArrayOutput
}

GetCapabilitiesFlavorArrayInput is an input type that accepts GetCapabilitiesFlavorArray and GetCapabilitiesFlavorArrayOutput values. You can construct a concrete instance of `GetCapabilitiesFlavorArrayInput` via:

GetCapabilitiesFlavorArray{ GetCapabilitiesFlavorArgs{...} }

type GetCapabilitiesFlavorArrayOutput

type GetCapabilitiesFlavorArrayOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesFlavorArrayOutput) ElementType

func (GetCapabilitiesFlavorArrayOutput) Index

func (GetCapabilitiesFlavorArrayOutput) ToGetCapabilitiesFlavorArrayOutput

func (o GetCapabilitiesFlavorArrayOutput) ToGetCapabilitiesFlavorArrayOutput() GetCapabilitiesFlavorArrayOutput

func (GetCapabilitiesFlavorArrayOutput) ToGetCapabilitiesFlavorArrayOutputWithContext

func (o GetCapabilitiesFlavorArrayOutput) ToGetCapabilitiesFlavorArrayOutputWithContext(ctx context.Context) GetCapabilitiesFlavorArrayOutput

type GetCapabilitiesFlavorInput

type GetCapabilitiesFlavorInput interface {
	pulumi.Input

	ToGetCapabilitiesFlavorOutput() GetCapabilitiesFlavorOutput
	ToGetCapabilitiesFlavorOutputWithContext(context.Context) GetCapabilitiesFlavorOutput
}

GetCapabilitiesFlavorInput is an input type that accepts GetCapabilitiesFlavorArgs and GetCapabilitiesFlavorOutput values. You can construct a concrete instance of `GetCapabilitiesFlavorInput` via:

GetCapabilitiesFlavorArgs{...}

type GetCapabilitiesFlavorOutput

type GetCapabilitiesFlavorOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesFlavorOutput) Core

Flavor core number.

func (GetCapabilitiesFlavorOutput) ElementType

func (GetCapabilitiesFlavorOutput) Memory

Flavor ram size in GB.

func (GetCapabilitiesFlavorOutput) Name

Name of the plan.

func (GetCapabilitiesFlavorOutput) Storage

Flavor disk size in GB.

func (GetCapabilitiesFlavorOutput) ToGetCapabilitiesFlavorOutput

func (o GetCapabilitiesFlavorOutput) ToGetCapabilitiesFlavorOutput() GetCapabilitiesFlavorOutput

func (GetCapabilitiesFlavorOutput) ToGetCapabilitiesFlavorOutputWithContext

func (o GetCapabilitiesFlavorOutput) ToGetCapabilitiesFlavorOutputWithContext(ctx context.Context) GetCapabilitiesFlavorOutput

type GetCapabilitiesOption

type GetCapabilitiesOption struct {
	// Name of the plan.
	Name string `pulumi:"name"`
	// Type of the option.
	Type string `pulumi:"type"`
}

type GetCapabilitiesOptionArgs

type GetCapabilitiesOptionArgs struct {
	// Name of the plan.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of the option.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetCapabilitiesOptionArgs) ElementType

func (GetCapabilitiesOptionArgs) ElementType() reflect.Type

func (GetCapabilitiesOptionArgs) ToGetCapabilitiesOptionOutput

func (i GetCapabilitiesOptionArgs) ToGetCapabilitiesOptionOutput() GetCapabilitiesOptionOutput

func (GetCapabilitiesOptionArgs) ToGetCapabilitiesOptionOutputWithContext

func (i GetCapabilitiesOptionArgs) ToGetCapabilitiesOptionOutputWithContext(ctx context.Context) GetCapabilitiesOptionOutput

type GetCapabilitiesOptionArray

type GetCapabilitiesOptionArray []GetCapabilitiesOptionInput

func (GetCapabilitiesOptionArray) ElementType

func (GetCapabilitiesOptionArray) ElementType() reflect.Type

func (GetCapabilitiesOptionArray) ToGetCapabilitiesOptionArrayOutput

func (i GetCapabilitiesOptionArray) ToGetCapabilitiesOptionArrayOutput() GetCapabilitiesOptionArrayOutput

func (GetCapabilitiesOptionArray) ToGetCapabilitiesOptionArrayOutputWithContext

func (i GetCapabilitiesOptionArray) ToGetCapabilitiesOptionArrayOutputWithContext(ctx context.Context) GetCapabilitiesOptionArrayOutput

type GetCapabilitiesOptionArrayInput

type GetCapabilitiesOptionArrayInput interface {
	pulumi.Input

	ToGetCapabilitiesOptionArrayOutput() GetCapabilitiesOptionArrayOutput
	ToGetCapabilitiesOptionArrayOutputWithContext(context.Context) GetCapabilitiesOptionArrayOutput
}

GetCapabilitiesOptionArrayInput is an input type that accepts GetCapabilitiesOptionArray and GetCapabilitiesOptionArrayOutput values. You can construct a concrete instance of `GetCapabilitiesOptionArrayInput` via:

GetCapabilitiesOptionArray{ GetCapabilitiesOptionArgs{...} }

type GetCapabilitiesOptionArrayOutput

type GetCapabilitiesOptionArrayOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesOptionArrayOutput) ElementType

func (GetCapabilitiesOptionArrayOutput) Index

func (GetCapabilitiesOptionArrayOutput) ToGetCapabilitiesOptionArrayOutput

func (o GetCapabilitiesOptionArrayOutput) ToGetCapabilitiesOptionArrayOutput() GetCapabilitiesOptionArrayOutput

func (GetCapabilitiesOptionArrayOutput) ToGetCapabilitiesOptionArrayOutputWithContext

func (o GetCapabilitiesOptionArrayOutput) ToGetCapabilitiesOptionArrayOutputWithContext(ctx context.Context) GetCapabilitiesOptionArrayOutput

type GetCapabilitiesOptionInput

type GetCapabilitiesOptionInput interface {
	pulumi.Input

	ToGetCapabilitiesOptionOutput() GetCapabilitiesOptionOutput
	ToGetCapabilitiesOptionOutputWithContext(context.Context) GetCapabilitiesOptionOutput
}

GetCapabilitiesOptionInput is an input type that accepts GetCapabilitiesOptionArgs and GetCapabilitiesOptionOutput values. You can construct a concrete instance of `GetCapabilitiesOptionInput` via:

GetCapabilitiesOptionArgs{...}

type GetCapabilitiesOptionOutput

type GetCapabilitiesOptionOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesOptionOutput) ElementType

func (GetCapabilitiesOptionOutput) Name

Name of the plan.

func (GetCapabilitiesOptionOutput) ToGetCapabilitiesOptionOutput

func (o GetCapabilitiesOptionOutput) ToGetCapabilitiesOptionOutput() GetCapabilitiesOptionOutput

func (GetCapabilitiesOptionOutput) ToGetCapabilitiesOptionOutputWithContext

func (o GetCapabilitiesOptionOutput) ToGetCapabilitiesOptionOutputWithContext(ctx context.Context) GetCapabilitiesOptionOutput

func (GetCapabilitiesOptionOutput) Type

Type of the option.

type GetCapabilitiesOutputArgs

type GetCapabilitiesOutputArgs struct {
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getCapabilities.

func (GetCapabilitiesOutputArgs) ElementType

func (GetCapabilitiesOutputArgs) ElementType() reflect.Type

type GetCapabilitiesPlan

type GetCapabilitiesPlan struct {
	// Automatic backup retention duration.
	BackupRetention string `pulumi:"backupRetention"`
	// Description of the plan.
	Description string `pulumi:"description"`
	// Name of the plan.
	Name string `pulumi:"name"`
}

type GetCapabilitiesPlanArgs

type GetCapabilitiesPlanArgs struct {
	// Automatic backup retention duration.
	BackupRetention pulumi.StringInput `pulumi:"backupRetention"`
	// Description of the plan.
	Description pulumi.StringInput `pulumi:"description"`
	// Name of the plan.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetCapabilitiesPlanArgs) ElementType

func (GetCapabilitiesPlanArgs) ElementType() reflect.Type

func (GetCapabilitiesPlanArgs) ToGetCapabilitiesPlanOutput

func (i GetCapabilitiesPlanArgs) ToGetCapabilitiesPlanOutput() GetCapabilitiesPlanOutput

func (GetCapabilitiesPlanArgs) ToGetCapabilitiesPlanOutputWithContext

func (i GetCapabilitiesPlanArgs) ToGetCapabilitiesPlanOutputWithContext(ctx context.Context) GetCapabilitiesPlanOutput

type GetCapabilitiesPlanArray

type GetCapabilitiesPlanArray []GetCapabilitiesPlanInput

func (GetCapabilitiesPlanArray) ElementType

func (GetCapabilitiesPlanArray) ElementType() reflect.Type

func (GetCapabilitiesPlanArray) ToGetCapabilitiesPlanArrayOutput

func (i GetCapabilitiesPlanArray) ToGetCapabilitiesPlanArrayOutput() GetCapabilitiesPlanArrayOutput

func (GetCapabilitiesPlanArray) ToGetCapabilitiesPlanArrayOutputWithContext

func (i GetCapabilitiesPlanArray) ToGetCapabilitiesPlanArrayOutputWithContext(ctx context.Context) GetCapabilitiesPlanArrayOutput

type GetCapabilitiesPlanArrayInput

type GetCapabilitiesPlanArrayInput interface {
	pulumi.Input

	ToGetCapabilitiesPlanArrayOutput() GetCapabilitiesPlanArrayOutput
	ToGetCapabilitiesPlanArrayOutputWithContext(context.Context) GetCapabilitiesPlanArrayOutput
}

GetCapabilitiesPlanArrayInput is an input type that accepts GetCapabilitiesPlanArray and GetCapabilitiesPlanArrayOutput values. You can construct a concrete instance of `GetCapabilitiesPlanArrayInput` via:

GetCapabilitiesPlanArray{ GetCapabilitiesPlanArgs{...} }

type GetCapabilitiesPlanArrayOutput

type GetCapabilitiesPlanArrayOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesPlanArrayOutput) ElementType

func (GetCapabilitiesPlanArrayOutput) Index

func (GetCapabilitiesPlanArrayOutput) ToGetCapabilitiesPlanArrayOutput

func (o GetCapabilitiesPlanArrayOutput) ToGetCapabilitiesPlanArrayOutput() GetCapabilitiesPlanArrayOutput

func (GetCapabilitiesPlanArrayOutput) ToGetCapabilitiesPlanArrayOutputWithContext

func (o GetCapabilitiesPlanArrayOutput) ToGetCapabilitiesPlanArrayOutputWithContext(ctx context.Context) GetCapabilitiesPlanArrayOutput

type GetCapabilitiesPlanInput

type GetCapabilitiesPlanInput interface {
	pulumi.Input

	ToGetCapabilitiesPlanOutput() GetCapabilitiesPlanOutput
	ToGetCapabilitiesPlanOutputWithContext(context.Context) GetCapabilitiesPlanOutput
}

GetCapabilitiesPlanInput is an input type that accepts GetCapabilitiesPlanArgs and GetCapabilitiesPlanOutput values. You can construct a concrete instance of `GetCapabilitiesPlanInput` via:

GetCapabilitiesPlanArgs{...}

type GetCapabilitiesPlanOutput

type GetCapabilitiesPlanOutput struct{ *pulumi.OutputState }

func (GetCapabilitiesPlanOutput) BackupRetention

func (o GetCapabilitiesPlanOutput) BackupRetention() pulumi.StringOutput

Automatic backup retention duration.

func (GetCapabilitiesPlanOutput) Description

Description of the plan.

func (GetCapabilitiesPlanOutput) ElementType

func (GetCapabilitiesPlanOutput) ElementType() reflect.Type

func (GetCapabilitiesPlanOutput) Name

Name of the plan.

func (GetCapabilitiesPlanOutput) ToGetCapabilitiesPlanOutput

func (o GetCapabilitiesPlanOutput) ToGetCapabilitiesPlanOutput() GetCapabilitiesPlanOutput

func (GetCapabilitiesPlanOutput) ToGetCapabilitiesPlanOutputWithContext

func (o GetCapabilitiesPlanOutput) ToGetCapabilitiesPlanOutputWithContext(ctx context.Context) GetCapabilitiesPlanOutput

type GetCapabilitiesResult

type GetCapabilitiesResult struct {
	// Database engines available.
	Engines []GetCapabilitiesEngine `pulumi:"engines"`
	// Flavors available.
	Flavors []GetCapabilitiesFlavor `pulumi:"flavors"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Options available.
	Options []GetCapabilitiesOption `pulumi:"options"`
	// Plans available.
	Plans []GetCapabilitiesPlan `pulumi:"plans"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getCapabilities.

func GetCapabilities

func GetCapabilities(ctx *pulumi.Context, args *GetCapabilitiesArgs, opts ...pulumi.InvokeOption) (*GetCapabilitiesResult, error)

Use this data source to get information about capabilities of a public cloud project.

type GetCapabilitiesResultOutput

type GetCapabilitiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCapabilities.

func (GetCapabilitiesResultOutput) ElementType

func (GetCapabilitiesResultOutput) Engines

Database engines available.

func (GetCapabilitiesResultOutput) Flavors

Flavors available.

func (GetCapabilitiesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCapabilitiesResultOutput) Options

Options available.

func (GetCapabilitiesResultOutput) Plans

Plans available.

func (GetCapabilitiesResultOutput) ServiceName

See Argument Reference above.

func (GetCapabilitiesResultOutput) ToGetCapabilitiesResultOutput

func (o GetCapabilitiesResultOutput) ToGetCapabilitiesResultOutput() GetCapabilitiesResultOutput

func (GetCapabilitiesResultOutput) ToGetCapabilitiesResultOutputWithContext

func (o GetCapabilitiesResultOutput) ToGetCapabilitiesResultOutputWithContext(ctx context.Context) GetCapabilitiesResultOutput

type GetCertificatesArgs

type GetCertificatesArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want database information. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine string `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getCertificates.

type GetCertificatesOutputArgs

type GetCertificatesOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want database information. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringInput `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getCertificates.

func (GetCertificatesOutputArgs) ElementType

func (GetCertificatesOutputArgs) ElementType() reflect.Type

type GetCertificatesResult

type GetCertificatesResult struct {
	// CA certificate used for the service.
	Ca string `pulumi:"ca"`
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getCertificates.

func GetCertificates

func GetCertificates(ctx *pulumi.Context, args *GetCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCertificatesResult, error)

Use this data source to get information about certificates of a cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		certificates, err := CloudProjectDatabase.GetCertificates(ctx, &cloudprojectdatabase.GetCertificatesArgs{
			ServiceName: "XXX",
			Engine:      "YYY",
			ClusterId:   "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("certificatesCa", certificates.Ca)
		return nil
	})
}

```

type GetCertificatesResultOutput

type GetCertificatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCertificates.

func (GetCertificatesResultOutput) Ca

CA certificate used for the service.

func (GetCertificatesResultOutput) ClusterId

See Argument Reference above.

func (GetCertificatesResultOutput) ElementType

func (GetCertificatesResultOutput) Engine

See Argument Reference above.

func (GetCertificatesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCertificatesResultOutput) ServiceName

See Argument Reference above.

func (GetCertificatesResultOutput) ToGetCertificatesResultOutput

func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput

func (GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext

func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput

type GetDatabaseArgs

type GetDatabaseArgs struct {
	// The database engine you want to get information. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine string `pulumi:"engine"`
	// Cluster ID
	Id string `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabase.

type GetDatabaseEndpoint

type GetDatabaseEndpoint struct {
	// Type of component the URI relates to.
	Component string `pulumi:"component"`
	// Domain of the cluster.
	Domain string `pulumi:"domain"`
	// Path of the endpoint.
	Path string `pulumi:"path"`
	// Connection port for the endpoint.
	Port int `pulumi:"port"`
	// Scheme used to generate the URI.
	Scheme string `pulumi:"scheme"`
	// Defines whether the endpoint uses SSL.
	Ssl bool `pulumi:"ssl"`
	// SSL mode used to connect to the service if the SSL is enabled.
	SslMode string `pulumi:"sslMode"`
	// URI of the endpoint.
	Uri string `pulumi:"uri"`
}

type GetDatabaseEndpointArgs

type GetDatabaseEndpointArgs struct {
	// Type of component the URI relates to.
	Component pulumi.StringInput `pulumi:"component"`
	// Domain of the cluster.
	Domain pulumi.StringInput `pulumi:"domain"`
	// Path of the endpoint.
	Path pulumi.StringInput `pulumi:"path"`
	// Connection port for the endpoint.
	Port pulumi.IntInput `pulumi:"port"`
	// Scheme used to generate the URI.
	Scheme pulumi.StringInput `pulumi:"scheme"`
	// Defines whether the endpoint uses SSL.
	Ssl pulumi.BoolInput `pulumi:"ssl"`
	// SSL mode used to connect to the service if the SSL is enabled.
	SslMode pulumi.StringInput `pulumi:"sslMode"`
	// URI of the endpoint.
	Uri pulumi.StringInput `pulumi:"uri"`
}

func (GetDatabaseEndpointArgs) ElementType

func (GetDatabaseEndpointArgs) ElementType() reflect.Type

func (GetDatabaseEndpointArgs) ToGetDatabaseEndpointOutput

func (i GetDatabaseEndpointArgs) ToGetDatabaseEndpointOutput() GetDatabaseEndpointOutput

func (GetDatabaseEndpointArgs) ToGetDatabaseEndpointOutputWithContext

func (i GetDatabaseEndpointArgs) ToGetDatabaseEndpointOutputWithContext(ctx context.Context) GetDatabaseEndpointOutput

type GetDatabaseEndpointArray

type GetDatabaseEndpointArray []GetDatabaseEndpointInput

func (GetDatabaseEndpointArray) ElementType

func (GetDatabaseEndpointArray) ElementType() reflect.Type

func (GetDatabaseEndpointArray) ToGetDatabaseEndpointArrayOutput

func (i GetDatabaseEndpointArray) ToGetDatabaseEndpointArrayOutput() GetDatabaseEndpointArrayOutput

func (GetDatabaseEndpointArray) ToGetDatabaseEndpointArrayOutputWithContext

func (i GetDatabaseEndpointArray) ToGetDatabaseEndpointArrayOutputWithContext(ctx context.Context) GetDatabaseEndpointArrayOutput

type GetDatabaseEndpointArrayInput

type GetDatabaseEndpointArrayInput interface {
	pulumi.Input

	ToGetDatabaseEndpointArrayOutput() GetDatabaseEndpointArrayOutput
	ToGetDatabaseEndpointArrayOutputWithContext(context.Context) GetDatabaseEndpointArrayOutput
}

GetDatabaseEndpointArrayInput is an input type that accepts GetDatabaseEndpointArray and GetDatabaseEndpointArrayOutput values. You can construct a concrete instance of `GetDatabaseEndpointArrayInput` via:

GetDatabaseEndpointArray{ GetDatabaseEndpointArgs{...} }

type GetDatabaseEndpointArrayOutput

type GetDatabaseEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseEndpointArrayOutput) ElementType

func (GetDatabaseEndpointArrayOutput) Index

func (GetDatabaseEndpointArrayOutput) ToGetDatabaseEndpointArrayOutput

func (o GetDatabaseEndpointArrayOutput) ToGetDatabaseEndpointArrayOutput() GetDatabaseEndpointArrayOutput

func (GetDatabaseEndpointArrayOutput) ToGetDatabaseEndpointArrayOutputWithContext

func (o GetDatabaseEndpointArrayOutput) ToGetDatabaseEndpointArrayOutputWithContext(ctx context.Context) GetDatabaseEndpointArrayOutput

type GetDatabaseEndpointInput

type GetDatabaseEndpointInput interface {
	pulumi.Input

	ToGetDatabaseEndpointOutput() GetDatabaseEndpointOutput
	ToGetDatabaseEndpointOutputWithContext(context.Context) GetDatabaseEndpointOutput
}

GetDatabaseEndpointInput is an input type that accepts GetDatabaseEndpointArgs and GetDatabaseEndpointOutput values. You can construct a concrete instance of `GetDatabaseEndpointInput` via:

GetDatabaseEndpointArgs{...}

type GetDatabaseEndpointOutput

type GetDatabaseEndpointOutput struct{ *pulumi.OutputState }

func (GetDatabaseEndpointOutput) Component

Type of component the URI relates to.

func (GetDatabaseEndpointOutput) Domain

Domain of the cluster.

func (GetDatabaseEndpointOutput) ElementType

func (GetDatabaseEndpointOutput) ElementType() reflect.Type

func (GetDatabaseEndpointOutput) Path

Path of the endpoint.

func (GetDatabaseEndpointOutput) Port

Connection port for the endpoint.

func (GetDatabaseEndpointOutput) Scheme

Scheme used to generate the URI.

func (GetDatabaseEndpointOutput) Ssl

Defines whether the endpoint uses SSL.

func (GetDatabaseEndpointOutput) SslMode

SSL mode used to connect to the service if the SSL is enabled.

func (GetDatabaseEndpointOutput) ToGetDatabaseEndpointOutput

func (o GetDatabaseEndpointOutput) ToGetDatabaseEndpointOutput() GetDatabaseEndpointOutput

func (GetDatabaseEndpointOutput) ToGetDatabaseEndpointOutputWithContext

func (o GetDatabaseEndpointOutput) ToGetDatabaseEndpointOutputWithContext(ctx context.Context) GetDatabaseEndpointOutput

func (GetDatabaseEndpointOutput) Uri

URI of the endpoint.

type GetDatabaseInstancesArgs

type GetDatabaseInstancesArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want to list databases. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine string `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseInstances.

type GetDatabaseInstancesOutputArgs

type GetDatabaseInstancesOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want to list databases. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringInput `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseInstances.

func (GetDatabaseInstancesOutputArgs) ElementType

type GetDatabaseInstancesResult

type GetDatabaseInstancesResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// The list of databases ids of the database cluster associated with the project.
	DatabaseIds []string `pulumi:"databaseIds"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getDatabaseInstances.

func GetDatabaseInstances

func GetDatabaseInstances(ctx *pulumi.Context, args *GetDatabaseInstancesArgs, opts ...pulumi.InvokeOption) (*GetDatabaseInstancesResult, error)

Use this data source to get the list of databases of a database cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		databases, err := CloudProjectDatabase.GetDatabaseInstances(ctx, &cloudprojectdatabase.GetDatabaseInstancesArgs{
			ServiceName: "XXXX",
			Engine:      "YYYY",
			ClusterId:   "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("databaseIds", databases.DatabaseIds)
		return nil
	})
}

```

type GetDatabaseInstancesResultOutput

type GetDatabaseInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseInstances.

func (GetDatabaseInstancesResultOutput) ClusterId

See Argument Reference above.

func (GetDatabaseInstancesResultOutput) DatabaseIds

The list of databases ids of the database cluster associated with the project.

func (GetDatabaseInstancesResultOutput) ElementType

func (GetDatabaseInstancesResultOutput) Engine

See Argument Reference above.

func (GetDatabaseInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDatabaseInstancesResultOutput) ServiceName

See Argument Reference above.

func (GetDatabaseInstancesResultOutput) ToGetDatabaseInstancesResultOutput

func (o GetDatabaseInstancesResultOutput) ToGetDatabaseInstancesResultOutput() GetDatabaseInstancesResultOutput

func (GetDatabaseInstancesResultOutput) ToGetDatabaseInstancesResultOutputWithContext

func (o GetDatabaseInstancesResultOutput) ToGetDatabaseInstancesResultOutputWithContext(ctx context.Context) GetDatabaseInstancesResultOutput

type GetDatabaseIntegrationArgs

type GetDatabaseIntegrationArgs struct {
	// Cluster ID.
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// All engines available exept `mongodb`
	Engine string `pulumi:"engine"`
	// Integration ID
	Id string `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseIntegration.

type GetDatabaseIntegrationOutputArgs

type GetDatabaseIntegrationOutputArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// All engines available exept `mongodb`
	Engine pulumi.StringInput `pulumi:"engine"`
	// Integration ID
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseIntegration.

func (GetDatabaseIntegrationOutputArgs) ElementType

type GetDatabaseIntegrationResult

type GetDatabaseIntegrationResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// ID of the destination service.
	DestinationServiceId string `pulumi:"destinationServiceId"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// See Argument Reference above.
	Id string `pulumi:"id"`
	// Parameters for the integration.
	Parameters map[string]string `pulumi:"parameters"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
	// ID of the source service.
	SourceServiceId string `pulumi:"sourceServiceId"`
	// Current status of the integration.
	Status string `pulumi:"status"`
	// Type of the integration.
	Type string `pulumi:"type"`
}

A collection of values returned by getDatabaseIntegration.

func GetDatabaseIntegration

func GetDatabaseIntegration(ctx *pulumi.Context, args *GetDatabaseIntegrationArgs, opts ...pulumi.InvokeOption) (*GetDatabaseIntegrationResult, error)

Use this data source to get information about an integration of a database cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		integration, err := CloudProjectDatabase.GetDatabaseIntegration(ctx, &cloudprojectdatabase.GetDatabaseIntegrationArgs{
			ServiceName: "XXX",
			Engine:      "YYY",
			ClusterId:   "ZZZ",
			Id:          "UUU",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("integrationType", integration.Type)
		return nil
	})
}

```

type GetDatabaseIntegrationResultOutput

type GetDatabaseIntegrationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseIntegration.

func (GetDatabaseIntegrationResultOutput) ClusterId

See Argument Reference above.

func (GetDatabaseIntegrationResultOutput) DestinationServiceId

func (o GetDatabaseIntegrationResultOutput) DestinationServiceId() pulumi.StringOutput

ID of the destination service.

func (GetDatabaseIntegrationResultOutput) ElementType

func (GetDatabaseIntegrationResultOutput) Engine

See Argument Reference above.

func (GetDatabaseIntegrationResultOutput) Id

See Argument Reference above.

func (GetDatabaseIntegrationResultOutput) Parameters

Parameters for the integration.

func (GetDatabaseIntegrationResultOutput) ServiceName

See Argument Reference above.

func (GetDatabaseIntegrationResultOutput) SourceServiceId

ID of the source service.

func (GetDatabaseIntegrationResultOutput) Status

Current status of the integration.

func (GetDatabaseIntegrationResultOutput) ToGetDatabaseIntegrationResultOutput

func (o GetDatabaseIntegrationResultOutput) ToGetDatabaseIntegrationResultOutput() GetDatabaseIntegrationResultOutput

func (GetDatabaseIntegrationResultOutput) ToGetDatabaseIntegrationResultOutputWithContext

func (o GetDatabaseIntegrationResultOutput) ToGetDatabaseIntegrationResultOutputWithContext(ctx context.Context) GetDatabaseIntegrationResultOutput

func (GetDatabaseIntegrationResultOutput) Type

Type of the integration.

type GetDatabaseIntegrationsArgs

type GetDatabaseIntegrationsArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want to list integrations. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// All engines available exept `mongodb`
	Engine string `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseIntegrations.

type GetDatabaseIntegrationsOutputArgs

type GetDatabaseIntegrationsOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want to list integrations. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// All engines available exept `mongodb`
	Engine pulumi.StringInput `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseIntegrations.

func (GetDatabaseIntegrationsOutputArgs) ElementType

type GetDatabaseIntegrationsResult

type GetDatabaseIntegrationsResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of integrations ids of the database cluster associated with the project.
	IntegrationIds []string `pulumi:"integrationIds"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getDatabaseIntegrations.

func GetDatabaseIntegrations

func GetDatabaseIntegrations(ctx *pulumi.Context, args *GetDatabaseIntegrationsArgs, opts ...pulumi.InvokeOption) (*GetDatabaseIntegrationsResult, error)

Use this data source to get the list of integrations of a database cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		integrations, err := CloudProjectDatabase.GetDatabaseIntegrations(ctx, &cloudprojectdatabase.GetDatabaseIntegrationsArgs{
			ServiceName: "XXX",
			Engine:      "YYY",
			ClusterId:   "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("integrationIds", integrations.IntegrationIds)
		return nil
	})
}

```

type GetDatabaseIntegrationsResultOutput

type GetDatabaseIntegrationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseIntegrations.

func (GetDatabaseIntegrationsResultOutput) ClusterId

See Argument Reference above.

func (GetDatabaseIntegrationsResultOutput) ElementType

func (GetDatabaseIntegrationsResultOutput) Engine

See Argument Reference above.

func (GetDatabaseIntegrationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDatabaseIntegrationsResultOutput) IntegrationIds

The list of integrations ids of the database cluster associated with the project.

func (GetDatabaseIntegrationsResultOutput) ServiceName

See Argument Reference above.

func (GetDatabaseIntegrationsResultOutput) ToGetDatabaseIntegrationsResultOutput

func (o GetDatabaseIntegrationsResultOutput) ToGetDatabaseIntegrationsResultOutput() GetDatabaseIntegrationsResultOutput

func (GetDatabaseIntegrationsResultOutput) ToGetDatabaseIntegrationsResultOutputWithContext

func (o GetDatabaseIntegrationsResultOutput) ToGetDatabaseIntegrationsResultOutputWithContext(ctx context.Context) GetDatabaseIntegrationsResultOutput

type GetDatabaseNode

type GetDatabaseNode struct {
	// Private network id in which the node should be deployed. It's the regional openstackId of the private network
	NetworkId string `pulumi:"networkId"`
	// Public cloud region in which the node should be deployed.
	Region string `pulumi:"region"`
	// Private subnet ID in which the node is.
	SubnetId string `pulumi:"subnetId"`
}

type GetDatabaseNodeArgs

type GetDatabaseNodeArgs struct {
	// Private network id in which the node should be deployed. It's the regional openstackId of the private network
	NetworkId pulumi.StringInput `pulumi:"networkId"`
	// Public cloud region in which the node should be deployed.
	Region pulumi.StringInput `pulumi:"region"`
	// Private subnet ID in which the node is.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (GetDatabaseNodeArgs) ElementType

func (GetDatabaseNodeArgs) ElementType() reflect.Type

func (GetDatabaseNodeArgs) ToGetDatabaseNodeOutput

func (i GetDatabaseNodeArgs) ToGetDatabaseNodeOutput() GetDatabaseNodeOutput

func (GetDatabaseNodeArgs) ToGetDatabaseNodeOutputWithContext

func (i GetDatabaseNodeArgs) ToGetDatabaseNodeOutputWithContext(ctx context.Context) GetDatabaseNodeOutput

type GetDatabaseNodeArray

type GetDatabaseNodeArray []GetDatabaseNodeInput

func (GetDatabaseNodeArray) ElementType

func (GetDatabaseNodeArray) ElementType() reflect.Type

func (GetDatabaseNodeArray) ToGetDatabaseNodeArrayOutput

func (i GetDatabaseNodeArray) ToGetDatabaseNodeArrayOutput() GetDatabaseNodeArrayOutput

func (GetDatabaseNodeArray) ToGetDatabaseNodeArrayOutputWithContext

func (i GetDatabaseNodeArray) ToGetDatabaseNodeArrayOutputWithContext(ctx context.Context) GetDatabaseNodeArrayOutput

type GetDatabaseNodeArrayInput

type GetDatabaseNodeArrayInput interface {
	pulumi.Input

	ToGetDatabaseNodeArrayOutput() GetDatabaseNodeArrayOutput
	ToGetDatabaseNodeArrayOutputWithContext(context.Context) GetDatabaseNodeArrayOutput
}

GetDatabaseNodeArrayInput is an input type that accepts GetDatabaseNodeArray and GetDatabaseNodeArrayOutput values. You can construct a concrete instance of `GetDatabaseNodeArrayInput` via:

GetDatabaseNodeArray{ GetDatabaseNodeArgs{...} }

type GetDatabaseNodeArrayOutput

type GetDatabaseNodeArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseNodeArrayOutput) ElementType

func (GetDatabaseNodeArrayOutput) ElementType() reflect.Type

func (GetDatabaseNodeArrayOutput) Index

func (GetDatabaseNodeArrayOutput) ToGetDatabaseNodeArrayOutput

func (o GetDatabaseNodeArrayOutput) ToGetDatabaseNodeArrayOutput() GetDatabaseNodeArrayOutput

func (GetDatabaseNodeArrayOutput) ToGetDatabaseNodeArrayOutputWithContext

func (o GetDatabaseNodeArrayOutput) ToGetDatabaseNodeArrayOutputWithContext(ctx context.Context) GetDatabaseNodeArrayOutput

type GetDatabaseNodeInput

type GetDatabaseNodeInput interface {
	pulumi.Input

	ToGetDatabaseNodeOutput() GetDatabaseNodeOutput
	ToGetDatabaseNodeOutputWithContext(context.Context) GetDatabaseNodeOutput
}

GetDatabaseNodeInput is an input type that accepts GetDatabaseNodeArgs and GetDatabaseNodeOutput values. You can construct a concrete instance of `GetDatabaseNodeInput` via:

GetDatabaseNodeArgs{...}

type GetDatabaseNodeOutput

type GetDatabaseNodeOutput struct{ *pulumi.OutputState }

func (GetDatabaseNodeOutput) ElementType

func (GetDatabaseNodeOutput) ElementType() reflect.Type

func (GetDatabaseNodeOutput) NetworkId

Private network id in which the node should be deployed. It's the regional openstackId of the private network

func (GetDatabaseNodeOutput) Region

Public cloud region in which the node should be deployed.

func (GetDatabaseNodeOutput) SubnetId

Private subnet ID in which the node is.

func (GetDatabaseNodeOutput) ToGetDatabaseNodeOutput

func (o GetDatabaseNodeOutput) ToGetDatabaseNodeOutput() GetDatabaseNodeOutput

func (GetDatabaseNodeOutput) ToGetDatabaseNodeOutputWithContext

func (o GetDatabaseNodeOutput) ToGetDatabaseNodeOutputWithContext(ctx context.Context) GetDatabaseNodeOutput

type GetDatabaseOutputArgs

type GetDatabaseOutputArgs struct {
	// The database engine you want to get information. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine pulumi.StringInput `pulumi:"engine"`
	// Cluster ID
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabase.

func (GetDatabaseOutputArgs) ElementType

func (GetDatabaseOutputArgs) ElementType() reflect.Type

type GetDatabaseResult

type GetDatabaseResult struct {
	// Advanced configuration key / value.
	AdvancedConfiguration map[string]string `pulumi:"advancedConfiguration"`
	// Time on which backups start every day.
	BackupTime string `pulumi:"backupTime"`
	// Date of the creation of the cluster.
	CreatedAt string `pulumi:"createdAt"`
	// Small description of the database service.
	Description string `pulumi:"description"`
	// The disk size (in GB) of the database service.
	DiskSize int `pulumi:"diskSize"`
	// The disk type of the database service.
	DiskType string `pulumi:"diskType"`
	// List of all endpoints objects of the service.
	Endpoints []GetDatabaseEndpoint `pulumi:"endpoints"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// A valid OVHcloud public cloud database flavor name in which the nodes will be started.
	Flavor string `pulumi:"flavor"`
	// See Argument Reference above.
	Id string `pulumi:"id"`
	// Defines whether the REST API is enabled on a kafka cluster.
	KafkaRestApi bool `pulumi:"kafkaRestApi"`
	// Time on which maintenances can start every day.
	MaintenanceTime string `pulumi:"maintenanceTime"`
	// Type of network of the cluster.
	NetworkType string `pulumi:"networkType"`
	// List of nodes object.
	Nodes                 []GetDatabaseNode `pulumi:"nodes"`
	OpensearchAclsEnabled bool              `pulumi:"opensearchAclsEnabled"`
	// Plan of the cluster.
	Plan string `pulumi:"plan"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
	// Current status of the cluster.
	Status string `pulumi:"status"`
	// The version of the engine in which the service should be deployed
	Version string `pulumi:"version"`
}

A collection of values returned by getDatabase.

func GetDatabase

func GetDatabase(ctx *pulumi.Context, args *GetDatabaseArgs, opts ...pulumi.InvokeOption) (*GetDatabaseResult, error)

Use this data source to get the managed database of a public cloud project.

## Example Usage

To get information of a database cluster service:

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		db, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXXXXX",
			Engine:      "YYYY",
			Id:          "ZZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("clusterId", db.Id)
		return nil
	})
}

```

type GetDatabaseResultOutput

type GetDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabase.

func (GetDatabaseResultOutput) AdvancedConfiguration added in v0.32.0

func (o GetDatabaseResultOutput) AdvancedConfiguration() pulumi.StringMapOutput

Advanced configuration key / value.

func (GetDatabaseResultOutput) BackupTime

Time on which backups start every day.

func (GetDatabaseResultOutput) CreatedAt

Date of the creation of the cluster.

func (GetDatabaseResultOutput) Description

Small description of the database service.

func (GetDatabaseResultOutput) DiskSize

The disk size (in GB) of the database service.

func (GetDatabaseResultOutput) DiskType

The disk type of the database service.

func (GetDatabaseResultOutput) ElementType

func (GetDatabaseResultOutput) ElementType() reflect.Type

func (GetDatabaseResultOutput) Endpoints

List of all endpoints objects of the service.

func (GetDatabaseResultOutput) Engine

See Argument Reference above.

func (GetDatabaseResultOutput) Flavor

A valid OVHcloud public cloud database flavor name in which the nodes will be started.

func (GetDatabaseResultOutput) Id

See Argument Reference above.

func (GetDatabaseResultOutput) KafkaRestApi

func (o GetDatabaseResultOutput) KafkaRestApi() pulumi.BoolOutput

Defines whether the REST API is enabled on a kafka cluster.

func (GetDatabaseResultOutput) MaintenanceTime

func (o GetDatabaseResultOutput) MaintenanceTime() pulumi.StringOutput

Time on which maintenances can start every day.

func (GetDatabaseResultOutput) NetworkType

Type of network of the cluster.

func (GetDatabaseResultOutput) Nodes

List of nodes object.

func (GetDatabaseResultOutput) OpensearchAclsEnabled

func (o GetDatabaseResultOutput) OpensearchAclsEnabled() pulumi.BoolOutput

func (GetDatabaseResultOutput) Plan

Plan of the cluster.

func (GetDatabaseResultOutput) ServiceName

See Argument Reference above.

func (GetDatabaseResultOutput) Status

Current status of the cluster.

func (GetDatabaseResultOutput) ToGetDatabaseResultOutput

func (o GetDatabaseResultOutput) ToGetDatabaseResultOutput() GetDatabaseResultOutput

func (GetDatabaseResultOutput) ToGetDatabaseResultOutputWithContext

func (o GetDatabaseResultOutput) ToGetDatabaseResultOutputWithContext(ctx context.Context) GetDatabaseResultOutput

func (GetDatabaseResultOutput) Version

The version of the engine in which the service should be deployed

type GetDatabasesArgs

type GetDatabasesArgs struct {
	// The database engine you want to list. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine string `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabases.

type GetDatabasesOutputArgs

type GetDatabasesOutputArgs struct {
	// The database engine you want to list. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine pulumi.StringInput `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabases.

func (GetDatabasesOutputArgs) ElementType

func (GetDatabasesOutputArgs) ElementType() reflect.Type

type GetDatabasesResult

type GetDatabasesResult struct {
	// The list of managed databases ids of the project.
	ClusterIds []string `pulumi:"clusterIds"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getDatabases.

func GetDatabases

func GetDatabases(ctx *pulumi.Context, args *GetDatabasesArgs, opts ...pulumi.InvokeOption) (*GetDatabasesResult, error)

Use this data source to get the list of managed databases of a public cloud project.

## Example Usage

To get the list of database clusters service for a given engine:

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dbs, err := CloudProjectDatabase.GetDatabases(ctx, &cloudprojectdatabase.GetDatabasesArgs{
			ServiceName: "XXXXXX",
			Engine:      "YYYY",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("clusterIds", dbs.ClusterIds)
		return nil
	})
}

```

type GetDatabasesResultOutput

type GetDatabasesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabases.

func (GetDatabasesResultOutput) ClusterIds

The list of managed databases ids of the project.

func (GetDatabasesResultOutput) ElementType

func (GetDatabasesResultOutput) ElementType() reflect.Type

func (GetDatabasesResultOutput) Engine

See Argument Reference above.

func (GetDatabasesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDatabasesResultOutput) ServiceName

See Argument Reference above.

func (GetDatabasesResultOutput) ToGetDatabasesResultOutput

func (o GetDatabasesResultOutput) ToGetDatabasesResultOutput() GetDatabasesResultOutput

func (GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext

func (o GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext(ctx context.Context) GetDatabasesResultOutput

type GetIpRestrictionsArgs

type GetIpRestrictionsArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want to list IP restrictions. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine string `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getIpRestrictions.

type GetIpRestrictionsOutputArgs

type GetIpRestrictionsOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want to list IP restrictions. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine pulumi.StringInput `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getIpRestrictions.

func (GetIpRestrictionsOutputArgs) ElementType

type GetIpRestrictionsResult

type GetIpRestrictionsResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of IP restriction of the database associated with the project.
	Ips []string `pulumi:"ips"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getIpRestrictions.

func GetIpRestrictions

func GetIpRestrictions(ctx *pulumi.Context, args *GetIpRestrictionsArgs, opts ...pulumi.InvokeOption) (*GetIpRestrictionsResult, error)

Use the list of IP restrictions associated with a public cloud project.

## Example Usage

To get the list of IP restriction on a database cluster service:

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		iprestrictions, err := CloudProjectDatabase.GetIpRestrictions(ctx, &cloudprojectdatabase.GetIpRestrictionsArgs{
			ServiceName: "XXXXXX",
			Engine:      "YYYY",
			ClusterId:   "ZZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("ips", iprestrictions.Ips)
		return nil
	})
}

```

type GetIpRestrictionsResultOutput

type GetIpRestrictionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIpRestrictions.

func (GetIpRestrictionsResultOutput) ClusterId

See Argument Reference above.

func (GetIpRestrictionsResultOutput) ElementType

func (GetIpRestrictionsResultOutput) Engine

See Argument Reference above.

func (GetIpRestrictionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetIpRestrictionsResultOutput) Ips

The list of IP restriction of the database associated with the project.

func (GetIpRestrictionsResultOutput) ServiceName

See Argument Reference above.

func (GetIpRestrictionsResultOutput) ToGetIpRestrictionsResultOutput

func (o GetIpRestrictionsResultOutput) ToGetIpRestrictionsResultOutput() GetIpRestrictionsResultOutput

func (GetIpRestrictionsResultOutput) ToGetIpRestrictionsResultOutputWithContext

func (o GetIpRestrictionsResultOutput) ToGetIpRestrictionsResultOutputWithContext(ctx context.Context) GetIpRestrictionsResultOutput

type GetKafkaAclsArgs

type GetKafkaAclsArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaAcls.

type GetKafkaAclsOutputArgs

type GetKafkaAclsOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaAcls.

func (GetKafkaAclsOutputArgs) ElementType

func (GetKafkaAclsOutputArgs) ElementType() reflect.Type

type GetKafkaAclsResult

type GetKafkaAclsResult struct {
	// The list of ACLs ids of the kafka cluster associated with the project.
	AclIds []string `pulumi:"aclIds"`
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getKafkaAcls.

func GetKafkaAcls

func GetKafkaAcls(ctx *pulumi.Context, args *GetKafkaAclsArgs, opts ...pulumi.InvokeOption) (*GetKafkaAclsResult, error)

Use this data source to get the list of ACLs of a kafka cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		acls, err := CloudProjectDatabase.GetKafkaAcls(ctx, &cloudprojectdatabase.GetKafkaAclsArgs{
			ServiceName: "XXX",
			ClusterId:   "YYY",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("aclIds", acls.AclIds)
		return nil
	})
}

```

type GetKafkaAclsResultOutput

type GetKafkaAclsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKafkaAcls.

func (GetKafkaAclsResultOutput) AclIds

The list of ACLs ids of the kafka cluster associated with the project.

func (GetKafkaAclsResultOutput) ClusterId

See Argument Reference above.

func (GetKafkaAclsResultOutput) ElementType

func (GetKafkaAclsResultOutput) ElementType() reflect.Type

func (GetKafkaAclsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKafkaAclsResultOutput) ServiceName

See Argument Reference above.

func (GetKafkaAclsResultOutput) ToGetKafkaAclsResultOutput

func (o GetKafkaAclsResultOutput) ToGetKafkaAclsResultOutput() GetKafkaAclsResultOutput

func (GetKafkaAclsResultOutput) ToGetKafkaAclsResultOutputWithContext

func (o GetKafkaAclsResultOutput) ToGetKafkaAclsResultOutputWithContext(ctx context.Context) GetKafkaAclsResultOutput

type GetKafkaTopicsArgs

type GetKafkaTopicsArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaTopics.

type GetKafkaTopicsOutputArgs

type GetKafkaTopicsOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaTopics.

func (GetKafkaTopicsOutputArgs) ElementType

func (GetKafkaTopicsOutputArgs) ElementType() reflect.Type

type GetKafkaTopicsResult

type GetKafkaTopicsResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
	// The list of topics ids of the kafka cluster associated with the project.
	TopicIds []string `pulumi:"topicIds"`
}

A collection of values returned by getKafkaTopics.

func GetKafkaTopics

func GetKafkaTopics(ctx *pulumi.Context, args *GetKafkaTopicsArgs, opts ...pulumi.InvokeOption) (*GetKafkaTopicsResult, error)

Use this data source to get the list of topics of a kafka cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		topics, err := CloudProjectDatabase.GetKafkaTopics(ctx, &cloudprojectdatabase.GetKafkaTopicsArgs{
			ServiceName: "XXX",
			ClusterId:   "YYY",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("topicIds", topics.TopicIds)
		return nil
	})
}

```

type GetKafkaTopicsResultOutput

type GetKafkaTopicsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKafkaTopics.

func (GetKafkaTopicsResultOutput) ClusterId

See Argument Reference above.

func (GetKafkaTopicsResultOutput) ElementType

func (GetKafkaTopicsResultOutput) ElementType() reflect.Type

func (GetKafkaTopicsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKafkaTopicsResultOutput) ServiceName

See Argument Reference above.

func (GetKafkaTopicsResultOutput) ToGetKafkaTopicsResultOutput

func (o GetKafkaTopicsResultOutput) ToGetKafkaTopicsResultOutput() GetKafkaTopicsResultOutput

func (GetKafkaTopicsResultOutput) ToGetKafkaTopicsResultOutputWithContext

func (o GetKafkaTopicsResultOutput) ToGetKafkaTopicsResultOutputWithContext(ctx context.Context) GetKafkaTopicsResultOutput

func (GetKafkaTopicsResultOutput) TopicIds

The list of topics ids of the kafka cluster associated with the project.

type GetKafkaUserAccessArgs

type GetKafkaUserAccessArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
	// User ID
	UserId string `pulumi:"userId"`
}

A collection of arguments for invoking getKafkaUserAccess.

type GetKafkaUserAccessOutputArgs

type GetKafkaUserAccessOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// User ID
	UserId pulumi.StringInput `pulumi:"userId"`
}

A collection of arguments for invoking getKafkaUserAccess.

func (GetKafkaUserAccessOutputArgs) ElementType

type GetKafkaUserAccessResult

type GetKafkaUserAccessResult struct {
	// User cert.
	Cert string `pulumi:"cert"`
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Sensitive) User key for the cert.
	Key string `pulumi:"key"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
	// See Argument Reference above.
	UserId string `pulumi:"userId"`
}

A collection of values returned by getKafkaUserAccess.

func GetKafkaUserAccess

func GetKafkaUserAccess(ctx *pulumi.Context, args *GetKafkaUserAccessArgs, opts ...pulumi.InvokeOption) (*GetKafkaUserAccessResult, error)

Use this data source to get information about user acces of a kafka cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		access, err := CloudProjectDatabase.GetKafkaUserAccess(ctx, &cloudprojectdatabase.GetKafkaUserAccessArgs{
			ServiceName: "XXX",
			ClusterId:   "YYY",
			UserId:      "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("accessCert", access.Cert)
		return nil
	})
}

```

type GetKafkaUserAccessResultOutput

type GetKafkaUserAccessResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKafkaUserAccess.

func (GetKafkaUserAccessResultOutput) Cert

User cert.

func (GetKafkaUserAccessResultOutput) ClusterId

See Argument Reference above.

func (GetKafkaUserAccessResultOutput) ElementType

func (GetKafkaUserAccessResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKafkaUserAccessResultOutput) Key

(Sensitive) User key for the cert.

func (GetKafkaUserAccessResultOutput) ServiceName

See Argument Reference above.

func (GetKafkaUserAccessResultOutput) ToGetKafkaUserAccessResultOutput

func (o GetKafkaUserAccessResultOutput) ToGetKafkaUserAccessResultOutput() GetKafkaUserAccessResultOutput

func (GetKafkaUserAccessResultOutput) ToGetKafkaUserAccessResultOutputWithContext

func (o GetKafkaUserAccessResultOutput) ToGetKafkaUserAccessResultOutputWithContext(ctx context.Context) GetKafkaUserAccessResultOutput

func (GetKafkaUserAccessResultOutput) UserId

See Argument Reference above.

type GetUsersArgs

type GetUsersArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want to list users. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine string `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs

type GetUsersOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want to list users. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine pulumi.StringInput `pulumi:"engine"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult

type GetUsersResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
	// The list of users ids of the database cluster associated with the project.
	UserIds []string `pulumi:"userIds"`
}

A collection of values returned by getUsers.

func GetUsers

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

Use this data source to get the list of users of a database cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		users, err := CloudProjectDatabase.GetUsers(ctx, &cloudprojectdatabase.GetUsersArgs{
			ServiceName: "XXXX",
			Engine:      "YYYY",
			ClusterId:   "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("userIds", users.UserIds)
		return nil
	})
}

```

type GetUsersResultOutput

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func (GetUsersResultOutput) ClusterId

See Argument Reference above.

func (GetUsersResultOutput) ElementType

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Engine

See Argument Reference above.

func (GetUsersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) ServiceName

func (o GetUsersResultOutput) ServiceName() pulumi.StringOutput

See Argument Reference above.

func (GetUsersResultOutput) ToGetUsersResultOutput

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext

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

func (GetUsersResultOutput) UserIds

The list of users ids of the database cluster associated with the project.

type Integration

type Integration struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// ID of the destination service.
	DestinationServiceId pulumi.StringOutput `pulumi:"destinationServiceId"`
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// All engines available exept `mongodb`.
	Engine pulumi.StringOutput `pulumi:"engine"`
	// Parameters for the integration.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// ID of the source service.
	SourceServiceId pulumi.StringOutput `pulumi:"sourceServiceId"`
	// Current status of the integration.
	Status pulumi.StringOutput `pulumi:"status"`
	// Type of the integration.
	// Available types:
	Type pulumi.StringOutput `pulumi:"type"`
}

Creates an integration for a database cluster associated with a public cloud project.

With this resource you can create an integration for all engine exept `mongodb`.

Please take a look at the list of available `types` in the `Argument references` section in order to know the list of avaulable integrations. For example, thanks to the integration feature you can have your PostgreSQL logs in your OpenSearch Database.

## Example Usage

Push PostgreSQL logs in an OpenSearch DB:

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dbpostgresql, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXXX",
			Engine:      "postgresql",
			Id:          "ZZZZ",
		}, nil)
		if err != nil {
			return err
		}
		dbopensearch, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXXX",
			Engine:      "opensearch",
			Id:          "ZZZZ",
		}, nil)
		if err != nil {
			return err
		}
		_, err = CloudProjectDatabase.NewIntegration(ctx, "integration", &CloudProjectDatabase.IntegrationArgs{
			ServiceName:          *pulumi.String(dbpostgresql.ServiceName),
			Engine:               *pulumi.String(dbpostgresql.Engine),
			ClusterId:            *pulumi.String(dbpostgresql.Id),
			SourceServiceId:      *pulumi.String(dbpostgresql.Id),
			DestinationServiceId: *pulumi.String(dbopensearch.Id),
			Type:                 pulumi.String("opensearchLogs"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OVHcloud Managed database clusters users can be imported using the `service_name`, `engine`, `cluster_id` and `id` of the user, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/integration:Integration my_user service_name/engine/cluster_id/id

```

func GetIntegration

func GetIntegration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationState, opts ...pulumi.ResourceOption) (*Integration, error)

GetIntegration gets an existing Integration 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 NewIntegration

func NewIntegration(ctx *pulumi.Context,
	name string, args *IntegrationArgs, opts ...pulumi.ResourceOption) (*Integration, error)

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

func (*Integration) ElementType

func (*Integration) ElementType() reflect.Type

func (*Integration) ToIntegrationOutput

func (i *Integration) ToIntegrationOutput() IntegrationOutput

func (*Integration) ToIntegrationOutputWithContext

func (i *Integration) ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput

type IntegrationArgs

type IntegrationArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// ID of the destination service.
	DestinationServiceId pulumi.StringInput
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// All engines available exept `mongodb`.
	Engine pulumi.StringInput
	// Parameters for the integration.
	Parameters pulumi.StringMapInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
	// ID of the source service.
	SourceServiceId pulumi.StringInput
	// Type of the integration.
	// Available types:
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Integration resource.

func (IntegrationArgs) ElementType

func (IntegrationArgs) ElementType() reflect.Type

type IntegrationArray

type IntegrationArray []IntegrationInput

func (IntegrationArray) ElementType

func (IntegrationArray) ElementType() reflect.Type

func (IntegrationArray) ToIntegrationArrayOutput

func (i IntegrationArray) ToIntegrationArrayOutput() IntegrationArrayOutput

func (IntegrationArray) ToIntegrationArrayOutputWithContext

func (i IntegrationArray) ToIntegrationArrayOutputWithContext(ctx context.Context) IntegrationArrayOutput

type IntegrationArrayInput

type IntegrationArrayInput interface {
	pulumi.Input

	ToIntegrationArrayOutput() IntegrationArrayOutput
	ToIntegrationArrayOutputWithContext(context.Context) IntegrationArrayOutput
}

IntegrationArrayInput is an input type that accepts IntegrationArray and IntegrationArrayOutput values. You can construct a concrete instance of `IntegrationArrayInput` via:

IntegrationArray{ IntegrationArgs{...} }

type IntegrationArrayOutput

type IntegrationArrayOutput struct{ *pulumi.OutputState }

func (IntegrationArrayOutput) ElementType

func (IntegrationArrayOutput) ElementType() reflect.Type

func (IntegrationArrayOutput) Index

func (IntegrationArrayOutput) ToIntegrationArrayOutput

func (o IntegrationArrayOutput) ToIntegrationArrayOutput() IntegrationArrayOutput

func (IntegrationArrayOutput) ToIntegrationArrayOutputWithContext

func (o IntegrationArrayOutput) ToIntegrationArrayOutputWithContext(ctx context.Context) IntegrationArrayOutput

type IntegrationInput

type IntegrationInput interface {
	pulumi.Input

	ToIntegrationOutput() IntegrationOutput
	ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput
}

type IntegrationMap

type IntegrationMap map[string]IntegrationInput

func (IntegrationMap) ElementType

func (IntegrationMap) ElementType() reflect.Type

func (IntegrationMap) ToIntegrationMapOutput

func (i IntegrationMap) ToIntegrationMapOutput() IntegrationMapOutput

func (IntegrationMap) ToIntegrationMapOutputWithContext

func (i IntegrationMap) ToIntegrationMapOutputWithContext(ctx context.Context) IntegrationMapOutput

type IntegrationMapInput

type IntegrationMapInput interface {
	pulumi.Input

	ToIntegrationMapOutput() IntegrationMapOutput
	ToIntegrationMapOutputWithContext(context.Context) IntegrationMapOutput
}

IntegrationMapInput is an input type that accepts IntegrationMap and IntegrationMapOutput values. You can construct a concrete instance of `IntegrationMapInput` via:

IntegrationMap{ "key": IntegrationArgs{...} }

type IntegrationMapOutput

type IntegrationMapOutput struct{ *pulumi.OutputState }

func (IntegrationMapOutput) ElementType

func (IntegrationMapOutput) ElementType() reflect.Type

func (IntegrationMapOutput) MapIndex

func (IntegrationMapOutput) ToIntegrationMapOutput

func (o IntegrationMapOutput) ToIntegrationMapOutput() IntegrationMapOutput

func (IntegrationMapOutput) ToIntegrationMapOutputWithContext

func (o IntegrationMapOutput) ToIntegrationMapOutputWithContext(ctx context.Context) IntegrationMapOutput

type IntegrationOutput

type IntegrationOutput struct{ *pulumi.OutputState }

func (IntegrationOutput) ClusterId

func (o IntegrationOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (IntegrationOutput) DestinationServiceId

func (o IntegrationOutput) DestinationServiceId() pulumi.StringOutput

ID of the destination service.

func (IntegrationOutput) ElementType

func (IntegrationOutput) ElementType() reflect.Type

func (IntegrationOutput) Engine

The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases). All engines available exept `mongodb`.

func (IntegrationOutput) Parameters

func (o IntegrationOutput) Parameters() pulumi.StringMapOutput

Parameters for the integration.

func (IntegrationOutput) ServiceName

func (o IntegrationOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (IntegrationOutput) SourceServiceId

func (o IntegrationOutput) SourceServiceId() pulumi.StringOutput

ID of the source service.

func (IntegrationOutput) Status

Current status of the integration.

func (IntegrationOutput) ToIntegrationOutput

func (o IntegrationOutput) ToIntegrationOutput() IntegrationOutput

func (IntegrationOutput) ToIntegrationOutputWithContext

func (o IntegrationOutput) ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput

func (IntegrationOutput) Type

Type of the integration. Available types:

type IntegrationState

type IntegrationState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// ID of the destination service.
	DestinationServiceId pulumi.StringPtrInput
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// All engines available exept `mongodb`.
	Engine pulumi.StringPtrInput
	// Parameters for the integration.
	Parameters pulumi.StringMapInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// ID of the source service.
	SourceServiceId pulumi.StringPtrInput
	// Current status of the integration.
	Status pulumi.StringPtrInput
	// Type of the integration.
	// Available types:
	Type pulumi.StringPtrInput
}

func (IntegrationState) ElementType

func (IntegrationState) ElementType() reflect.Type

type IpRestriction

type IpRestriction struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Description of the IP restriction.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The engine of the database cluster you want to add an IP restriction. To get a full list of available engine visit.
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine pulumi.StringOutput `pulumi:"engine"`
	// Authorized IP.
	Ip pulumi.StringOutput `pulumi:"ip"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Current status of the IP restriction.
	Status pulumi.StringOutput `pulumi:"status"`
}

Apply IP restrictions to an OVHcloud Managed Database cluster.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		db, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXXX",
			Engine:      "YYYY",
			Id:          "ZZZZ",
		}, nil)
		if err != nil {
			return err
		}
		_, err = CloudProjectDatabase.NewIpRestriction(ctx, "iprestriction", &CloudProjectDatabase.IpRestrictionArgs{
			ServiceName: *pulumi.String(db.ServiceName),
			Engine:      *pulumi.String(db.Engine),
			ClusterId:   *pulumi.String(db.Id),
			Ip:          pulumi.String("178.97.6.0/24"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OVHcloud Managed database cluster IP restrictions can be imported using the `service_name`, `engine`, `cluster_id` and the `ip`, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/ipRestriction:IpRestriction my_ip_restriction service_name/engine/cluster_id/178.97.6.0/24

```

func GetIpRestriction

func GetIpRestriction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IpRestrictionState, opts ...pulumi.ResourceOption) (*IpRestriction, error)

GetIpRestriction gets an existing IpRestriction 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 NewIpRestriction

func NewIpRestriction(ctx *pulumi.Context,
	name string, args *IpRestrictionArgs, opts ...pulumi.ResourceOption) (*IpRestriction, error)

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

func (*IpRestriction) ElementType

func (*IpRestriction) ElementType() reflect.Type

func (*IpRestriction) ToIpRestrictionOutput

func (i *IpRestriction) ToIpRestrictionOutput() IpRestrictionOutput

func (*IpRestriction) ToIpRestrictionOutputWithContext

func (i *IpRestriction) ToIpRestrictionOutputWithContext(ctx context.Context) IpRestrictionOutput

type IpRestrictionArgs

type IpRestrictionArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Description of the IP restriction.
	Description pulumi.StringPtrInput
	// The engine of the database cluster you want to add an IP restriction. To get a full list of available engine visit.
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine pulumi.StringInput
	// Authorized IP.
	Ip pulumi.StringInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a IpRestriction resource.

func (IpRestrictionArgs) ElementType

func (IpRestrictionArgs) ElementType() reflect.Type

type IpRestrictionArray

type IpRestrictionArray []IpRestrictionInput

func (IpRestrictionArray) ElementType

func (IpRestrictionArray) ElementType() reflect.Type

func (IpRestrictionArray) ToIpRestrictionArrayOutput

func (i IpRestrictionArray) ToIpRestrictionArrayOutput() IpRestrictionArrayOutput

func (IpRestrictionArray) ToIpRestrictionArrayOutputWithContext

func (i IpRestrictionArray) ToIpRestrictionArrayOutputWithContext(ctx context.Context) IpRestrictionArrayOutput

type IpRestrictionArrayInput

type IpRestrictionArrayInput interface {
	pulumi.Input

	ToIpRestrictionArrayOutput() IpRestrictionArrayOutput
	ToIpRestrictionArrayOutputWithContext(context.Context) IpRestrictionArrayOutput
}

IpRestrictionArrayInput is an input type that accepts IpRestrictionArray and IpRestrictionArrayOutput values. You can construct a concrete instance of `IpRestrictionArrayInput` via:

IpRestrictionArray{ IpRestrictionArgs{...} }

type IpRestrictionArrayOutput

type IpRestrictionArrayOutput struct{ *pulumi.OutputState }

func (IpRestrictionArrayOutput) ElementType

func (IpRestrictionArrayOutput) ElementType() reflect.Type

func (IpRestrictionArrayOutput) Index

func (IpRestrictionArrayOutput) ToIpRestrictionArrayOutput

func (o IpRestrictionArrayOutput) ToIpRestrictionArrayOutput() IpRestrictionArrayOutput

func (IpRestrictionArrayOutput) ToIpRestrictionArrayOutputWithContext

func (o IpRestrictionArrayOutput) ToIpRestrictionArrayOutputWithContext(ctx context.Context) IpRestrictionArrayOutput

type IpRestrictionInput

type IpRestrictionInput interface {
	pulumi.Input

	ToIpRestrictionOutput() IpRestrictionOutput
	ToIpRestrictionOutputWithContext(ctx context.Context) IpRestrictionOutput
}

type IpRestrictionMap

type IpRestrictionMap map[string]IpRestrictionInput

func (IpRestrictionMap) ElementType

func (IpRestrictionMap) ElementType() reflect.Type

func (IpRestrictionMap) ToIpRestrictionMapOutput

func (i IpRestrictionMap) ToIpRestrictionMapOutput() IpRestrictionMapOutput

func (IpRestrictionMap) ToIpRestrictionMapOutputWithContext

func (i IpRestrictionMap) ToIpRestrictionMapOutputWithContext(ctx context.Context) IpRestrictionMapOutput

type IpRestrictionMapInput

type IpRestrictionMapInput interface {
	pulumi.Input

	ToIpRestrictionMapOutput() IpRestrictionMapOutput
	ToIpRestrictionMapOutputWithContext(context.Context) IpRestrictionMapOutput
}

IpRestrictionMapInput is an input type that accepts IpRestrictionMap and IpRestrictionMapOutput values. You can construct a concrete instance of `IpRestrictionMapInput` via:

IpRestrictionMap{ "key": IpRestrictionArgs{...} }

type IpRestrictionMapOutput

type IpRestrictionMapOutput struct{ *pulumi.OutputState }

func (IpRestrictionMapOutput) ElementType

func (IpRestrictionMapOutput) ElementType() reflect.Type

func (IpRestrictionMapOutput) MapIndex

func (IpRestrictionMapOutput) ToIpRestrictionMapOutput

func (o IpRestrictionMapOutput) ToIpRestrictionMapOutput() IpRestrictionMapOutput

func (IpRestrictionMapOutput) ToIpRestrictionMapOutputWithContext

func (o IpRestrictionMapOutput) ToIpRestrictionMapOutputWithContext(ctx context.Context) IpRestrictionMapOutput

type IpRestrictionOutput

type IpRestrictionOutput struct{ *pulumi.OutputState }

func (IpRestrictionOutput) ClusterId

func (o IpRestrictionOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (IpRestrictionOutput) Description

func (o IpRestrictionOutput) Description() pulumi.StringPtrOutput

Description of the IP restriction.

func (IpRestrictionOutput) ElementType

func (IpRestrictionOutput) ElementType() reflect.Type

func (IpRestrictionOutput) Engine

The engine of the database cluster you want to add an IP restriction. To get a full list of available engine visit. [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).

func (IpRestrictionOutput) Ip

Authorized IP.

func (IpRestrictionOutput) ServiceName

func (o IpRestrictionOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (IpRestrictionOutput) Status

Current status of the IP restriction.

func (IpRestrictionOutput) ToIpRestrictionOutput

func (o IpRestrictionOutput) ToIpRestrictionOutput() IpRestrictionOutput

func (IpRestrictionOutput) ToIpRestrictionOutputWithContext

func (o IpRestrictionOutput) ToIpRestrictionOutputWithContext(ctx context.Context) IpRestrictionOutput

type IpRestrictionState

type IpRestrictionState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Description of the IP restriction.
	Description pulumi.StringPtrInput
	// The engine of the database cluster you want to add an IP restriction. To get a full list of available engine visit.
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	Engine pulumi.StringPtrInput
	// Authorized IP.
	Ip pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Current status of the IP restriction.
	Status pulumi.StringPtrInput
}

func (IpRestrictionState) ElementType

func (IpRestrictionState) ElementType() reflect.Type

type KafkaAcl

type KafkaAcl struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Permission to give to this username on this topic.
	// Available permissions:
	Permission pulumi.StringOutput `pulumi:"permission"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Topic affected by this ACL.
	Topic pulumi.StringOutput `pulumi:"topic"`
	// Username affected by this ACL.
	Username pulumi.StringOutput `pulumi:"username"`
}

Creates an ACL for a kafka cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		kafka, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXX",
			Engine:      "kafka",
			Id:          "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		_, err = CloudProjectDatabase.NewKafkaAcl(ctx, "acl", &CloudProjectDatabase.KafkaAclArgs{
			ServiceName: *pulumi.String(kafka.ServiceName),
			ClusterId:   *pulumi.String(kafka.Id),
			Permission:  pulumi.String("read"),
			Topic:       pulumi.String("mytopic"),
			Username:    pulumi.String("johndoe"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OVHcloud Managed kafka clusters ACLs can be imported using the `service_name`, `cluster_id` and `id` of the acl, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/kafkaAcl:KafkaAcl my_acl service_name/cluster_id/id

```

func GetKafkaAcl

func GetKafkaAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KafkaAclState, opts ...pulumi.ResourceOption) (*KafkaAcl, error)

GetKafkaAcl gets an existing KafkaAcl 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 NewKafkaAcl

func NewKafkaAcl(ctx *pulumi.Context,
	name string, args *KafkaAclArgs, opts ...pulumi.ResourceOption) (*KafkaAcl, error)

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

func (*KafkaAcl) ElementType

func (*KafkaAcl) ElementType() reflect.Type

func (*KafkaAcl) ToKafkaAclOutput

func (i *KafkaAcl) ToKafkaAclOutput() KafkaAclOutput

func (*KafkaAcl) ToKafkaAclOutputWithContext

func (i *KafkaAcl) ToKafkaAclOutputWithContext(ctx context.Context) KafkaAclOutput

type KafkaAclArgs

type KafkaAclArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Permission to give to this username on this topic.
	// Available permissions:
	Permission pulumi.StringInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
	// Topic affected by this ACL.
	Topic pulumi.StringInput
	// Username affected by this ACL.
	Username pulumi.StringInput
}

The set of arguments for constructing a KafkaAcl resource.

func (KafkaAclArgs) ElementType

func (KafkaAclArgs) ElementType() reflect.Type

type KafkaAclArray

type KafkaAclArray []KafkaAclInput

func (KafkaAclArray) ElementType

func (KafkaAclArray) ElementType() reflect.Type

func (KafkaAclArray) ToKafkaAclArrayOutput

func (i KafkaAclArray) ToKafkaAclArrayOutput() KafkaAclArrayOutput

func (KafkaAclArray) ToKafkaAclArrayOutputWithContext

func (i KafkaAclArray) ToKafkaAclArrayOutputWithContext(ctx context.Context) KafkaAclArrayOutput

type KafkaAclArrayInput

type KafkaAclArrayInput interface {
	pulumi.Input

	ToKafkaAclArrayOutput() KafkaAclArrayOutput
	ToKafkaAclArrayOutputWithContext(context.Context) KafkaAclArrayOutput
}

KafkaAclArrayInput is an input type that accepts KafkaAclArray and KafkaAclArrayOutput values. You can construct a concrete instance of `KafkaAclArrayInput` via:

KafkaAclArray{ KafkaAclArgs{...} }

type KafkaAclArrayOutput

type KafkaAclArrayOutput struct{ *pulumi.OutputState }

func (KafkaAclArrayOutput) ElementType

func (KafkaAclArrayOutput) ElementType() reflect.Type

func (KafkaAclArrayOutput) Index

func (KafkaAclArrayOutput) ToKafkaAclArrayOutput

func (o KafkaAclArrayOutput) ToKafkaAclArrayOutput() KafkaAclArrayOutput

func (KafkaAclArrayOutput) ToKafkaAclArrayOutputWithContext

func (o KafkaAclArrayOutput) ToKafkaAclArrayOutputWithContext(ctx context.Context) KafkaAclArrayOutput

type KafkaAclInput

type KafkaAclInput interface {
	pulumi.Input

	ToKafkaAclOutput() KafkaAclOutput
	ToKafkaAclOutputWithContext(ctx context.Context) KafkaAclOutput
}

type KafkaAclMap

type KafkaAclMap map[string]KafkaAclInput

func (KafkaAclMap) ElementType

func (KafkaAclMap) ElementType() reflect.Type

func (KafkaAclMap) ToKafkaAclMapOutput

func (i KafkaAclMap) ToKafkaAclMapOutput() KafkaAclMapOutput

func (KafkaAclMap) ToKafkaAclMapOutputWithContext

func (i KafkaAclMap) ToKafkaAclMapOutputWithContext(ctx context.Context) KafkaAclMapOutput

type KafkaAclMapInput

type KafkaAclMapInput interface {
	pulumi.Input

	ToKafkaAclMapOutput() KafkaAclMapOutput
	ToKafkaAclMapOutputWithContext(context.Context) KafkaAclMapOutput
}

KafkaAclMapInput is an input type that accepts KafkaAclMap and KafkaAclMapOutput values. You can construct a concrete instance of `KafkaAclMapInput` via:

KafkaAclMap{ "key": KafkaAclArgs{...} }

type KafkaAclMapOutput

type KafkaAclMapOutput struct{ *pulumi.OutputState }

func (KafkaAclMapOutput) ElementType

func (KafkaAclMapOutput) ElementType() reflect.Type

func (KafkaAclMapOutput) MapIndex

func (KafkaAclMapOutput) ToKafkaAclMapOutput

func (o KafkaAclMapOutput) ToKafkaAclMapOutput() KafkaAclMapOutput

func (KafkaAclMapOutput) ToKafkaAclMapOutputWithContext

func (o KafkaAclMapOutput) ToKafkaAclMapOutputWithContext(ctx context.Context) KafkaAclMapOutput

type KafkaAclOutput

type KafkaAclOutput struct{ *pulumi.OutputState }

func (KafkaAclOutput) ClusterId

func (o KafkaAclOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (KafkaAclOutput) ElementType

func (KafkaAclOutput) ElementType() reflect.Type

func (KafkaAclOutput) Permission

func (o KafkaAclOutput) Permission() pulumi.StringOutput

Permission to give to this username on this topic. Available permissions:

func (KafkaAclOutput) ServiceName

func (o KafkaAclOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (KafkaAclOutput) ToKafkaAclOutput

func (o KafkaAclOutput) ToKafkaAclOutput() KafkaAclOutput

func (KafkaAclOutput) ToKafkaAclOutputWithContext

func (o KafkaAclOutput) ToKafkaAclOutputWithContext(ctx context.Context) KafkaAclOutput

func (KafkaAclOutput) Topic

Topic affected by this ACL.

func (KafkaAclOutput) Username

func (o KafkaAclOutput) Username() pulumi.StringOutput

Username affected by this ACL.

type KafkaAclState

type KafkaAclState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Permission to give to this username on this topic.
	// Available permissions:
	Permission pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Topic affected by this ACL.
	Topic pulumi.StringPtrInput
	// Username affected by this ACL.
	Username pulumi.StringPtrInput
}

func (KafkaAclState) ElementType

func (KafkaAclState) ElementType() reflect.Type

type KafkaTopic

type KafkaTopic struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Minimum insync replica accepted for this topic. Should be superior to 0
	MinInsyncReplicas pulumi.IntOutput `pulumi:"minInsyncReplicas"`
	// Name of the topic. No spaces allowed.
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of partitions for this topic. Should be superior to 0
	Partitions pulumi.IntOutput `pulumi:"partitions"`
	// Number of replication for this topic. Should be superior to 1
	Replication pulumi.IntOutput `pulumi:"replication"`
	// Number of bytes for the retention of the data for this topic. Inferior to 0 means unlimited
	RetentionBytes pulumi.IntOutput `pulumi:"retentionBytes"`
	// Number of hours for the retention of the data for this topic. Should be superior to -2. Inferior to 0 means unlimited
	RetentionHours pulumi.IntOutput `pulumi:"retentionHours"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
}

Creates a topic for a kafka cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		kafka, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXX",
			Engine:      "kafka",
			Id:          "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		_, err = CloudProjectDatabase.NewKafkaTopic(ctx, "topic", &CloudProjectDatabase.KafkaTopicArgs{
			ServiceName:       *pulumi.String(kafka.ServiceName),
			ClusterId:         *pulumi.String(kafka.Id),
			MinInsyncReplicas: pulumi.Int(1),
			Partitions:        pulumi.Int(3),
			Replication:       pulumi.Int(2),
			RetentionBytes:    pulumi.Int(4),
			RetentionHours:    pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OVHcloud Managed kafka clusters topics can be imported using the `service_name`, `cluster_id` and `id` of the topic, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/kafkaTopic:KafkaTopic my_topic service_name/cluster_id/id

```

func GetKafkaTopic

func GetKafkaTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KafkaTopicState, opts ...pulumi.ResourceOption) (*KafkaTopic, error)

GetKafkaTopic gets an existing KafkaTopic 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 NewKafkaTopic

func NewKafkaTopic(ctx *pulumi.Context,
	name string, args *KafkaTopicArgs, opts ...pulumi.ResourceOption) (*KafkaTopic, error)

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

func (*KafkaTopic) ElementType

func (*KafkaTopic) ElementType() reflect.Type

func (*KafkaTopic) ToKafkaTopicOutput

func (i *KafkaTopic) ToKafkaTopicOutput() KafkaTopicOutput

func (*KafkaTopic) ToKafkaTopicOutputWithContext

func (i *KafkaTopic) ToKafkaTopicOutputWithContext(ctx context.Context) KafkaTopicOutput

type KafkaTopicArgs

type KafkaTopicArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Minimum insync replica accepted for this topic. Should be superior to 0
	MinInsyncReplicas pulumi.IntPtrInput
	// Name of the topic. No spaces allowed.
	Name pulumi.StringPtrInput
	// Number of partitions for this topic. Should be superior to 0
	Partitions pulumi.IntPtrInput
	// Number of replication for this topic. Should be superior to 1
	Replication pulumi.IntPtrInput
	// Number of bytes for the retention of the data for this topic. Inferior to 0 means unlimited
	RetentionBytes pulumi.IntPtrInput
	// Number of hours for the retention of the data for this topic. Should be superior to -2. Inferior to 0 means unlimited
	RetentionHours pulumi.IntPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a KafkaTopic resource.

func (KafkaTopicArgs) ElementType

func (KafkaTopicArgs) ElementType() reflect.Type

type KafkaTopicArray

type KafkaTopicArray []KafkaTopicInput

func (KafkaTopicArray) ElementType

func (KafkaTopicArray) ElementType() reflect.Type

func (KafkaTopicArray) ToKafkaTopicArrayOutput

func (i KafkaTopicArray) ToKafkaTopicArrayOutput() KafkaTopicArrayOutput

func (KafkaTopicArray) ToKafkaTopicArrayOutputWithContext

func (i KafkaTopicArray) ToKafkaTopicArrayOutputWithContext(ctx context.Context) KafkaTopicArrayOutput

type KafkaTopicArrayInput

type KafkaTopicArrayInput interface {
	pulumi.Input

	ToKafkaTopicArrayOutput() KafkaTopicArrayOutput
	ToKafkaTopicArrayOutputWithContext(context.Context) KafkaTopicArrayOutput
}

KafkaTopicArrayInput is an input type that accepts KafkaTopicArray and KafkaTopicArrayOutput values. You can construct a concrete instance of `KafkaTopicArrayInput` via:

KafkaTopicArray{ KafkaTopicArgs{...} }

type KafkaTopicArrayOutput

type KafkaTopicArrayOutput struct{ *pulumi.OutputState }

func (KafkaTopicArrayOutput) ElementType

func (KafkaTopicArrayOutput) ElementType() reflect.Type

func (KafkaTopicArrayOutput) Index

func (KafkaTopicArrayOutput) ToKafkaTopicArrayOutput

func (o KafkaTopicArrayOutput) ToKafkaTopicArrayOutput() KafkaTopicArrayOutput

func (KafkaTopicArrayOutput) ToKafkaTopicArrayOutputWithContext

func (o KafkaTopicArrayOutput) ToKafkaTopicArrayOutputWithContext(ctx context.Context) KafkaTopicArrayOutput

type KafkaTopicInput

type KafkaTopicInput interface {
	pulumi.Input

	ToKafkaTopicOutput() KafkaTopicOutput
	ToKafkaTopicOutputWithContext(ctx context.Context) KafkaTopicOutput
}

type KafkaTopicMap

type KafkaTopicMap map[string]KafkaTopicInput

func (KafkaTopicMap) ElementType

func (KafkaTopicMap) ElementType() reflect.Type

func (KafkaTopicMap) ToKafkaTopicMapOutput

func (i KafkaTopicMap) ToKafkaTopicMapOutput() KafkaTopicMapOutput

func (KafkaTopicMap) ToKafkaTopicMapOutputWithContext

func (i KafkaTopicMap) ToKafkaTopicMapOutputWithContext(ctx context.Context) KafkaTopicMapOutput

type KafkaTopicMapInput

type KafkaTopicMapInput interface {
	pulumi.Input

	ToKafkaTopicMapOutput() KafkaTopicMapOutput
	ToKafkaTopicMapOutputWithContext(context.Context) KafkaTopicMapOutput
}

KafkaTopicMapInput is an input type that accepts KafkaTopicMap and KafkaTopicMapOutput values. You can construct a concrete instance of `KafkaTopicMapInput` via:

KafkaTopicMap{ "key": KafkaTopicArgs{...} }

type KafkaTopicMapOutput

type KafkaTopicMapOutput struct{ *pulumi.OutputState }

func (KafkaTopicMapOutput) ElementType

func (KafkaTopicMapOutput) ElementType() reflect.Type

func (KafkaTopicMapOutput) MapIndex

func (KafkaTopicMapOutput) ToKafkaTopicMapOutput

func (o KafkaTopicMapOutput) ToKafkaTopicMapOutput() KafkaTopicMapOutput

func (KafkaTopicMapOutput) ToKafkaTopicMapOutputWithContext

func (o KafkaTopicMapOutput) ToKafkaTopicMapOutputWithContext(ctx context.Context) KafkaTopicMapOutput

type KafkaTopicOutput

type KafkaTopicOutput struct{ *pulumi.OutputState }

func (KafkaTopicOutput) ClusterId

func (o KafkaTopicOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (KafkaTopicOutput) ElementType

func (KafkaTopicOutput) ElementType() reflect.Type

func (KafkaTopicOutput) MinInsyncReplicas

func (o KafkaTopicOutput) MinInsyncReplicas() pulumi.IntOutput

Minimum insync replica accepted for this topic. Should be superior to 0

func (KafkaTopicOutput) Name

Name of the topic. No spaces allowed.

func (KafkaTopicOutput) Partitions

func (o KafkaTopicOutput) Partitions() pulumi.IntOutput

Number of partitions for this topic. Should be superior to 0

func (KafkaTopicOutput) Replication

func (o KafkaTopicOutput) Replication() pulumi.IntOutput

Number of replication for this topic. Should be superior to 1

func (KafkaTopicOutput) RetentionBytes

func (o KafkaTopicOutput) RetentionBytes() pulumi.IntOutput

Number of bytes for the retention of the data for this topic. Inferior to 0 means unlimited

func (KafkaTopicOutput) RetentionHours

func (o KafkaTopicOutput) RetentionHours() pulumi.IntOutput

Number of hours for the retention of the data for this topic. Should be superior to -2. Inferior to 0 means unlimited

func (KafkaTopicOutput) ServiceName

func (o KafkaTopicOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (KafkaTopicOutput) ToKafkaTopicOutput

func (o KafkaTopicOutput) ToKafkaTopicOutput() KafkaTopicOutput

func (KafkaTopicOutput) ToKafkaTopicOutputWithContext

func (o KafkaTopicOutput) ToKafkaTopicOutputWithContext(ctx context.Context) KafkaTopicOutput

type KafkaTopicState

type KafkaTopicState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Minimum insync replica accepted for this topic. Should be superior to 0
	MinInsyncReplicas pulumi.IntPtrInput
	// Name of the topic. No spaces allowed.
	Name pulumi.StringPtrInput
	// Number of partitions for this topic. Should be superior to 0
	Partitions pulumi.IntPtrInput
	// Number of replication for this topic. Should be superior to 1
	Replication pulumi.IntPtrInput
	// Number of bytes for the retention of the data for this topic. Inferior to 0 means unlimited
	RetentionBytes pulumi.IntPtrInput
	// Number of hours for the retention of the data for this topic. Should be superior to -2. Inferior to 0 means unlimited
	RetentionHours pulumi.IntPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
}

func (KafkaTopicState) ElementType

func (KafkaTopicState) ElementType() reflect.Type

type LookupDatabaseInstanceArgs

type LookupDatabaseInstanceArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want database information. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine string `pulumi:"engine"`
	// Name of the database.
	Name string `pulumi:"name"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseInstance.

type LookupDatabaseInstanceOutputArgs

type LookupDatabaseInstanceOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want database information. To get a full list of available engine visit:
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringInput `pulumi:"engine"`
	// Name of the database.
	Name pulumi.StringInput `pulumi:"name"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getDatabaseInstance.

func (LookupDatabaseInstanceOutputArgs) ElementType

type LookupDatabaseInstanceResult

type LookupDatabaseInstanceResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// Defines if the database has been created by default.
	Default bool `pulumi:"default"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the database.
	Name string `pulumi:"name"`
	// Current status of the database.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getDatabaseInstance.

func LookupDatabaseInstance

func LookupDatabaseInstance(ctx *pulumi.Context, args *LookupDatabaseInstanceArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseInstanceResult, error)

Use this data source to get information about a database of a database cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		database, err := CloudProjectDatabase.GetDatabaseInstance(ctx, &cloudprojectdatabase.GetDatabaseInstanceArgs{
			ServiceName: "XXX",
			Engine:      "YYY",
			ClusterId:   "ZZZ",
			Name:        "UUU",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("databaseName", database.Name)
		return nil
	})
}

```

type LookupDatabaseInstanceResultOutput

type LookupDatabaseInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseInstance.

func (LookupDatabaseInstanceResultOutput) ClusterId

See Argument Reference above.

func (LookupDatabaseInstanceResultOutput) Default

Defines if the database has been created by default.

func (LookupDatabaseInstanceResultOutput) ElementType

func (LookupDatabaseInstanceResultOutput) Engine

See Argument Reference above.

func (LookupDatabaseInstanceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupDatabaseInstanceResultOutput) Name

Name of the database.

func (LookupDatabaseInstanceResultOutput) ServiceName

Current status of the database.

func (LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutput

func (o LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutput() LookupDatabaseInstanceResultOutput

func (LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutputWithContext

func (o LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutputWithContext(ctx context.Context) LookupDatabaseInstanceResultOutput

type LookupKafkaAclArgs

type LookupKafkaAclArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// ACL ID
	Id string `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaAcl.

type LookupKafkaAclOutputArgs

type LookupKafkaAclOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// ACL ID
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaAcl.

func (LookupKafkaAclOutputArgs) ElementType

func (LookupKafkaAclOutputArgs) ElementType() reflect.Type

type LookupKafkaAclResult

type LookupKafkaAclResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// See Argument Reference above.
	Id string `pulumi:"id"`
	// Permission to give to this username on this topic.
	Permission string `pulumi:"permission"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
	// Topic affected by this ACL.
	Topic string `pulumi:"topic"`
	// Username affected by this ACL.
	Username string `pulumi:"username"`
}

A collection of values returned by getKafkaAcl.

func LookupKafkaAcl

func LookupKafkaAcl(ctx *pulumi.Context, args *LookupKafkaAclArgs, opts ...pulumi.InvokeOption) (*LookupKafkaAclResult, error)

Use this data source to get information about an ACL of a kafka cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		acl, err := CloudProjectDatabase.GetKafkaAcl(ctx, &cloudprojectdatabase.GetKafkaAclArgs{
			ServiceName: "XXX",
			ClusterId:   "YYY",
			Id:          "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("aclPermission", acl.Permission)
		return nil
	})
}

```

type LookupKafkaAclResultOutput

type LookupKafkaAclResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKafkaAcl.

func (LookupKafkaAclResultOutput) ClusterId

See Argument Reference above.

func (LookupKafkaAclResultOutput) ElementType

func (LookupKafkaAclResultOutput) ElementType() reflect.Type

func (LookupKafkaAclResultOutput) Id

See Argument Reference above.

func (LookupKafkaAclResultOutput) Permission

Permission to give to this username on this topic.

func (LookupKafkaAclResultOutput) ServiceName

See Argument Reference above.

func (LookupKafkaAclResultOutput) ToLookupKafkaAclResultOutput

func (o LookupKafkaAclResultOutput) ToLookupKafkaAclResultOutput() LookupKafkaAclResultOutput

func (LookupKafkaAclResultOutput) ToLookupKafkaAclResultOutputWithContext

func (o LookupKafkaAclResultOutput) ToLookupKafkaAclResultOutputWithContext(ctx context.Context) LookupKafkaAclResultOutput

func (LookupKafkaAclResultOutput) Topic

Topic affected by this ACL.

func (LookupKafkaAclResultOutput) Username

Username affected by this ACL.

type LookupKafkaTopicArgs

type LookupKafkaTopicArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// Topic ID
	Id string `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaTopic.

type LookupKafkaTopicOutputArgs

type LookupKafkaTopicOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Topic ID
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getKafkaTopic.

func (LookupKafkaTopicOutputArgs) ElementType

func (LookupKafkaTopicOutputArgs) ElementType() reflect.Type

type LookupKafkaTopicResult

type LookupKafkaTopicResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// See Argument Reference above.
	Id string `pulumi:"id"`
	// Minimum insync replica accepted for this topic.
	MinInsyncReplicas int `pulumi:"minInsyncReplicas"`
	// Name of the topic.
	Name string `pulumi:"name"`
	// Number of partitions for this topic.
	Partitions int `pulumi:"partitions"`
	// Number of replication for this topic.
	Replication int `pulumi:"replication"`
	// Number of bytes for the retention of the data for this topic. Inferior to 0 mean Unlimited
	RetentionBytes int `pulumi:"retentionBytes"`
	// Number of hours for the retention of the data for this topic. Inferior to 0 mean Unlimited
	RetentionHours int `pulumi:"retentionHours"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getKafkaTopic.

func LookupKafkaTopic

func LookupKafkaTopic(ctx *pulumi.Context, args *LookupKafkaTopicArgs, opts ...pulumi.InvokeOption) (*LookupKafkaTopicResult, error)

Use this data source to get information about a topic of a kafka cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		topic, err := CloudProjectDatabase.GetKafkaTopic(ctx, &cloudprojectdatabase.GetKafkaTopicArgs{
			ServiceName: "XXX",
			ClusterId:   "YYY",
			Id:          "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("topicName", topic.Name)
		return nil
	})
}

```

type LookupKafkaTopicResultOutput

type LookupKafkaTopicResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKafkaTopic.

func (LookupKafkaTopicResultOutput) ClusterId

See Argument Reference above.

func (LookupKafkaTopicResultOutput) ElementType

func (LookupKafkaTopicResultOutput) Id

See Argument Reference above.

func (LookupKafkaTopicResultOutput) MinInsyncReplicas

func (o LookupKafkaTopicResultOutput) MinInsyncReplicas() pulumi.IntOutput

Minimum insync replica accepted for this topic.

func (LookupKafkaTopicResultOutput) Name

Name of the topic.

func (LookupKafkaTopicResultOutput) Partitions

Number of partitions for this topic.

func (LookupKafkaTopicResultOutput) Replication

Number of replication for this topic.

func (LookupKafkaTopicResultOutput) RetentionBytes

func (o LookupKafkaTopicResultOutput) RetentionBytes() pulumi.IntOutput

Number of bytes for the retention of the data for this topic. Inferior to 0 mean Unlimited

func (LookupKafkaTopicResultOutput) RetentionHours

func (o LookupKafkaTopicResultOutput) RetentionHours() pulumi.IntOutput

Number of hours for the retention of the data for this topic. Inferior to 0 mean Unlimited

func (LookupKafkaTopicResultOutput) ServiceName

See Argument Reference above.

func (LookupKafkaTopicResultOutput) ToLookupKafkaTopicResultOutput

func (o LookupKafkaTopicResultOutput) ToLookupKafkaTopicResultOutput() LookupKafkaTopicResultOutput

func (LookupKafkaTopicResultOutput) ToLookupKafkaTopicResultOutputWithContext

func (o LookupKafkaTopicResultOutput) ToLookupKafkaTopicResultOutputWithContext(ctx context.Context) LookupKafkaTopicResultOutput

type LookupPostgresSqlUserArgs

type LookupPostgresSqlUserArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// Name of the user.
	Name string `pulumi:"name"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getPostgresSqlUser.

type LookupPostgresSqlUserOutputArgs

type LookupPostgresSqlUserOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Name of the user.
	Name pulumi.StringInput `pulumi:"name"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getPostgresSqlUser.

func (LookupPostgresSqlUserOutputArgs) ElementType

type LookupPostgresSqlUserResult

type LookupPostgresSqlUserResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// Date of the creation of the user.
	CreatedAt string `pulumi:"createdAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the user.
	Name string `pulumi:"name"`
	// Roles the user belongs to.
	Roles []string `pulumi:"roles"`
	// Current status of the user.
	ServiceName string `pulumi:"serviceName"`
	// Current status of the user.
	Status string `pulumi:"status"`
}

A collection of values returned by getPostgresSqlUser.

func LookupPostgresSqlUser

func LookupPostgresSqlUser(ctx *pulumi.Context, args *LookupPostgresSqlUserArgs, opts ...pulumi.InvokeOption) (*LookupPostgresSqlUserResult, error)

Use this data source to get information about a user of a postgresql cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		pguser, err := CloudProjectDatabase.GetPostgresSqlUser(ctx, &cloudprojectdatabase.GetPostgresSqlUserArgs{
			ServiceName: "XXX",
			ClusterId:   "YYY",
			Name:        "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("pguserRoles", pguser.Roles)
		return nil
	})
}

```

type LookupPostgresSqlUserResultOutput

type LookupPostgresSqlUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPostgresSqlUser.

func (LookupPostgresSqlUserResultOutput) ClusterId

See Argument Reference above.

func (LookupPostgresSqlUserResultOutput) CreatedAt

Date of the creation of the user.

func (LookupPostgresSqlUserResultOutput) ElementType

func (LookupPostgresSqlUserResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupPostgresSqlUserResultOutput) Name

Name of the user.

func (LookupPostgresSqlUserResultOutput) Roles

Roles the user belongs to.

func (LookupPostgresSqlUserResultOutput) ServiceName

Current status of the user.

func (LookupPostgresSqlUserResultOutput) Status

Current status of the user.

func (LookupPostgresSqlUserResultOutput) ToLookupPostgresSqlUserResultOutput

func (o LookupPostgresSqlUserResultOutput) ToLookupPostgresSqlUserResultOutput() LookupPostgresSqlUserResultOutput

func (LookupPostgresSqlUserResultOutput) ToLookupPostgresSqlUserResultOutputWithContext

func (o LookupPostgresSqlUserResultOutput) ToLookupPostgresSqlUserResultOutputWithContext(ctx context.Context) LookupPostgresSqlUserResultOutput

type LookupUserArgs

type LookupUserArgs struct {
	// Cluster ID
	ClusterId string `pulumi:"clusterId"`
	// The engine of the database cluster you want user information. To get a full list of available engine visit :
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine string `pulumi:"engine"`
	// Name of the user.
	Name string `pulumi:"name"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getUser.

type LookupUserOutputArgs

type LookupUserOutputArgs struct {
	// Cluster ID
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The engine of the database cluster you want user information. To get a full list of available engine visit :
	// [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringInput `pulumi:"engine"`
	// Name of the user.
	Name pulumi.StringInput `pulumi:"name"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getUser.

func (LookupUserOutputArgs) ElementType

func (LookupUserOutputArgs) ElementType() reflect.Type

type LookupUserResult

type LookupUserResult struct {
	// See Argument Reference above.
	ClusterId string `pulumi:"clusterId"`
	// Date of the creation of the user.
	CreatedAt string `pulumi:"createdAt"`
	// See Argument Reference above.
	Engine string `pulumi:"engine"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the user.
	Name string `pulumi:"name"`
	// See Argument Reference above.
	ServiceName string `pulumi:"serviceName"`
	// Current status of the user.
	Status string `pulumi:"status"`
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

Use this data source to get information about a user of a database cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		user, err := CloudProjectDatabase.GetUser(ctx, &cloudprojectdatabase.GetUserArgs{
			ServiceName: "XXX",
			Engine:      "YYY",
			ClusterId:   "ZZZ",
			Name:        "UUU",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("userName", user.Name)
		return nil
	})
}

```

type LookupUserResultOutput

type LookupUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUser.

func (LookupUserResultOutput) ClusterId

See Argument Reference above.

func (LookupUserResultOutput) CreatedAt

Date of the creation of the user.

func (LookupUserResultOutput) ElementType

func (LookupUserResultOutput) ElementType() reflect.Type

func (LookupUserResultOutput) Engine

See Argument Reference above.

func (LookupUserResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupUserResultOutput) Name

Name of the user.

func (LookupUserResultOutput) ServiceName

func (o LookupUserResultOutput) ServiceName() pulumi.StringOutput

See Argument Reference above.

func (LookupUserResultOutput) Status

Current status of the user.

func (LookupUserResultOutput) ToLookupUserResultOutput

func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput

func (LookupUserResultOutput) ToLookupUserResultOutputWithContext

func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput

type M3DbNamespace

type M3DbNamespace struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Name of the namespace.
	Name pulumi.StringOutput `pulumi:"name"`
	// Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
	Resolution pulumi.StringOutput `pulumi:"resolution"`
	// Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBlockDataExpirationDuration pulumi.StringPtrOutput `pulumi:"retentionBlockDataExpirationDuration"`
	// Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBlockSizeDuration pulumi.StringOutput `pulumi:"retentionBlockSizeDuration"`
	// Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBufferFutureDuration pulumi.StringPtrOutput `pulumi:"retentionBufferFutureDuration"`
	// Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBufferPastDuration pulumi.StringPtrOutput `pulumi:"retentionBufferPastDuration"`
	// Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionPeriodDuration pulumi.StringOutput `pulumi:"retentionPeriodDuration"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Defines whether M3DB will create snapshot files for this namespace.
	SnapshotEnabled pulumi.BoolPtrOutput `pulumi:"snapshotEnabled"`
	// Type of namespace.
	Type pulumi.StringOutput `pulumi:"type"`
	// Defines whether M3DB will include writes to this namespace in the commit log.
	WritesToCommitLogEnabled pulumi.BoolPtrOutput `pulumi:"writesToCommitLogEnabled"`
}

Creates a namespace for a M3DB cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		m3db, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXX",
			Engine:      "m3db",
			Id:          "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		_, err = CloudProjectDatabase.NewM3DbNamespace(ctx, "namespace", &CloudProjectDatabase.M3DbNamespaceArgs{
			ServiceName:             *pulumi.String(m3db.ServiceName),
			ClusterId:               *pulumi.String(m3db.Id),
			Resolution:              pulumi.String("P2D"),
			RetentionPeriodDuration: pulumi.String("PT48H"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OVHcloud Managed M3DB clusters namespaces can be imported using the `service_name`, `cluster_id` and `id` of the namespace, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/m3DbNamespace:M3DbNamespace my_namespace service_name/cluster_id/id

```

func GetM3DbNamespace

func GetM3DbNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *M3DbNamespaceState, opts ...pulumi.ResourceOption) (*M3DbNamespace, error)

GetM3DbNamespace gets an existing M3DbNamespace 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 NewM3DbNamespace

func NewM3DbNamespace(ctx *pulumi.Context,
	name string, args *M3DbNamespaceArgs, opts ...pulumi.ResourceOption) (*M3DbNamespace, error)

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

func (*M3DbNamespace) ElementType

func (*M3DbNamespace) ElementType() reflect.Type

func (*M3DbNamespace) ToM3DbNamespaceOutput

func (i *M3DbNamespace) ToM3DbNamespaceOutput() M3DbNamespaceOutput

func (*M3DbNamespace) ToM3DbNamespaceOutputWithContext

func (i *M3DbNamespace) ToM3DbNamespaceOutputWithContext(ctx context.Context) M3DbNamespaceOutput

type M3DbNamespaceArgs

type M3DbNamespaceArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Name of the namespace.
	Name pulumi.StringPtrInput
	// Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
	Resolution pulumi.StringInput
	// Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBlockDataExpirationDuration pulumi.StringPtrInput
	// Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBlockSizeDuration pulumi.StringPtrInput
	// Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBufferFutureDuration pulumi.StringPtrInput
	// Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBufferPastDuration pulumi.StringPtrInput
	// Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionPeriodDuration pulumi.StringInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
	// Defines whether M3DB will create snapshot files for this namespace.
	SnapshotEnabled pulumi.BoolPtrInput
	// Defines whether M3DB will include writes to this namespace in the commit log.
	WritesToCommitLogEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a M3DbNamespace resource.

func (M3DbNamespaceArgs) ElementType

func (M3DbNamespaceArgs) ElementType() reflect.Type

type M3DbNamespaceArray

type M3DbNamespaceArray []M3DbNamespaceInput

func (M3DbNamespaceArray) ElementType

func (M3DbNamespaceArray) ElementType() reflect.Type

func (M3DbNamespaceArray) ToM3DbNamespaceArrayOutput

func (i M3DbNamespaceArray) ToM3DbNamespaceArrayOutput() M3DbNamespaceArrayOutput

func (M3DbNamespaceArray) ToM3DbNamespaceArrayOutputWithContext

func (i M3DbNamespaceArray) ToM3DbNamespaceArrayOutputWithContext(ctx context.Context) M3DbNamespaceArrayOutput

type M3DbNamespaceArrayInput

type M3DbNamespaceArrayInput interface {
	pulumi.Input

	ToM3DbNamespaceArrayOutput() M3DbNamespaceArrayOutput
	ToM3DbNamespaceArrayOutputWithContext(context.Context) M3DbNamespaceArrayOutput
}

M3DbNamespaceArrayInput is an input type that accepts M3DbNamespaceArray and M3DbNamespaceArrayOutput values. You can construct a concrete instance of `M3DbNamespaceArrayInput` via:

M3DbNamespaceArray{ M3DbNamespaceArgs{...} }

type M3DbNamespaceArrayOutput

type M3DbNamespaceArrayOutput struct{ *pulumi.OutputState }

func (M3DbNamespaceArrayOutput) ElementType

func (M3DbNamespaceArrayOutput) ElementType() reflect.Type

func (M3DbNamespaceArrayOutput) Index

func (M3DbNamespaceArrayOutput) ToM3DbNamespaceArrayOutput

func (o M3DbNamespaceArrayOutput) ToM3DbNamespaceArrayOutput() M3DbNamespaceArrayOutput

func (M3DbNamespaceArrayOutput) ToM3DbNamespaceArrayOutputWithContext

func (o M3DbNamespaceArrayOutput) ToM3DbNamespaceArrayOutputWithContext(ctx context.Context) M3DbNamespaceArrayOutput

type M3DbNamespaceInput

type M3DbNamespaceInput interface {
	pulumi.Input

	ToM3DbNamespaceOutput() M3DbNamespaceOutput
	ToM3DbNamespaceOutputWithContext(ctx context.Context) M3DbNamespaceOutput
}

type M3DbNamespaceMap

type M3DbNamespaceMap map[string]M3DbNamespaceInput

func (M3DbNamespaceMap) ElementType

func (M3DbNamespaceMap) ElementType() reflect.Type

func (M3DbNamespaceMap) ToM3DbNamespaceMapOutput

func (i M3DbNamespaceMap) ToM3DbNamespaceMapOutput() M3DbNamespaceMapOutput

func (M3DbNamespaceMap) ToM3DbNamespaceMapOutputWithContext

func (i M3DbNamespaceMap) ToM3DbNamespaceMapOutputWithContext(ctx context.Context) M3DbNamespaceMapOutput

type M3DbNamespaceMapInput

type M3DbNamespaceMapInput interface {
	pulumi.Input

	ToM3DbNamespaceMapOutput() M3DbNamespaceMapOutput
	ToM3DbNamespaceMapOutputWithContext(context.Context) M3DbNamespaceMapOutput
}

M3DbNamespaceMapInput is an input type that accepts M3DbNamespaceMap and M3DbNamespaceMapOutput values. You can construct a concrete instance of `M3DbNamespaceMapInput` via:

M3DbNamespaceMap{ "key": M3DbNamespaceArgs{...} }

type M3DbNamespaceMapOutput

type M3DbNamespaceMapOutput struct{ *pulumi.OutputState }

func (M3DbNamespaceMapOutput) ElementType

func (M3DbNamespaceMapOutput) ElementType() reflect.Type

func (M3DbNamespaceMapOutput) MapIndex

func (M3DbNamespaceMapOutput) ToM3DbNamespaceMapOutput

func (o M3DbNamespaceMapOutput) ToM3DbNamespaceMapOutput() M3DbNamespaceMapOutput

func (M3DbNamespaceMapOutput) ToM3DbNamespaceMapOutputWithContext

func (o M3DbNamespaceMapOutput) ToM3DbNamespaceMapOutputWithContext(ctx context.Context) M3DbNamespaceMapOutput

type M3DbNamespaceOutput

type M3DbNamespaceOutput struct{ *pulumi.OutputState }

func (M3DbNamespaceOutput) ClusterId

func (o M3DbNamespaceOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (M3DbNamespaceOutput) ElementType

func (M3DbNamespaceOutput) ElementType() reflect.Type

func (M3DbNamespaceOutput) Name

Name of the namespace.

func (M3DbNamespaceOutput) Resolution

func (o M3DbNamespaceOutput) Resolution() pulumi.StringOutput

Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.

func (M3DbNamespaceOutput) RetentionBlockDataExpirationDuration

func (o M3DbNamespaceOutput) RetentionBlockDataExpirationDuration() pulumi.StringPtrOutput

Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.

func (M3DbNamespaceOutput) RetentionBlockSizeDuration

func (o M3DbNamespaceOutput) RetentionBlockSizeDuration() pulumi.StringOutput

Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.

func (M3DbNamespaceOutput) RetentionBufferFutureDuration

func (o M3DbNamespaceOutput) RetentionBufferFutureDuration() pulumi.StringPtrOutput

Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.

func (M3DbNamespaceOutput) RetentionBufferPastDuration

func (o M3DbNamespaceOutput) RetentionBufferPastDuration() pulumi.StringPtrOutput

Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.

func (M3DbNamespaceOutput) RetentionPeriodDuration

func (o M3DbNamespaceOutput) RetentionPeriodDuration() pulumi.StringOutput

Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.

func (M3DbNamespaceOutput) ServiceName

func (o M3DbNamespaceOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (M3DbNamespaceOutput) SnapshotEnabled

func (o M3DbNamespaceOutput) SnapshotEnabled() pulumi.BoolPtrOutput

Defines whether M3DB will create snapshot files for this namespace.

func (M3DbNamespaceOutput) ToM3DbNamespaceOutput

func (o M3DbNamespaceOutput) ToM3DbNamespaceOutput() M3DbNamespaceOutput

func (M3DbNamespaceOutput) ToM3DbNamespaceOutputWithContext

func (o M3DbNamespaceOutput) ToM3DbNamespaceOutputWithContext(ctx context.Context) M3DbNamespaceOutput

func (M3DbNamespaceOutput) Type

Type of namespace.

func (M3DbNamespaceOutput) WritesToCommitLogEnabled

func (o M3DbNamespaceOutput) WritesToCommitLogEnabled() pulumi.BoolPtrOutput

Defines whether M3DB will include writes to this namespace in the commit log.

type M3DbNamespaceState

type M3DbNamespaceState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Name of the namespace.
	Name pulumi.StringPtrInput
	// Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
	Resolution pulumi.StringPtrInput
	// Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBlockDataExpirationDuration pulumi.StringPtrInput
	// Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBlockSizeDuration pulumi.StringPtrInput
	// Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBufferFutureDuration pulumi.StringPtrInput
	// Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionBufferPastDuration pulumi.StringPtrInput
	// Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
	RetentionPeriodDuration pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Defines whether M3DB will create snapshot files for this namespace.
	SnapshotEnabled pulumi.BoolPtrInput
	// Type of namespace.
	Type pulumi.StringPtrInput
	// Defines whether M3DB will include writes to this namespace in the commit log.
	WritesToCommitLogEnabled pulumi.BoolPtrInput
}

func (M3DbNamespaceState) ElementType

func (M3DbNamespaceState) ElementType() reflect.Type

type M3DbUser

type M3DbUser struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Date of the creation of the user.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Group of the user:
	Group pulumi.StringPtrOutput `pulumi:"group"`
	// Name of the user. A user named "avnadmin" is map with already created admin user instead of create a new user.
	Name pulumi.StringOutput `pulumi:"name"`
	// (Sensitive) Password of the user.
	Password pulumi.StringOutput `pulumi:"password"`
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Current status of the user.
	Status pulumi.StringOutput `pulumi:"status"`
}

## Import

OVHcloud Managed M3DB clusters users can be imported using the `service_name`, `cluster_id` and `id` of the user, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/m3DbUser:M3DbUser my_user service_name/cluster_id/id

```

func GetM3DbUser

func GetM3DbUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *M3DbUserState, opts ...pulumi.ResourceOption) (*M3DbUser, error)

GetM3DbUser gets an existing M3DbUser 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 NewM3DbUser

func NewM3DbUser(ctx *pulumi.Context,
	name string, args *M3DbUserArgs, opts ...pulumi.ResourceOption) (*M3DbUser, error)

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

func (*M3DbUser) ElementType

func (*M3DbUser) ElementType() reflect.Type

func (*M3DbUser) ToM3DbUserOutput

func (i *M3DbUser) ToM3DbUserOutput() M3DbUserOutput

func (*M3DbUser) ToM3DbUserOutputWithContext

func (i *M3DbUser) ToM3DbUserOutputWithContext(ctx context.Context) M3DbUserOutput

type M3DbUserArgs

type M3DbUserArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Group of the user:
	Group pulumi.StringPtrInput
	// Name of the user. A user named "avnadmin" is map with already created admin user instead of create a new user.
	Name pulumi.StringPtrInput
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a M3DbUser resource.

func (M3DbUserArgs) ElementType

func (M3DbUserArgs) ElementType() reflect.Type

type M3DbUserArray

type M3DbUserArray []M3DbUserInput

func (M3DbUserArray) ElementType

func (M3DbUserArray) ElementType() reflect.Type

func (M3DbUserArray) ToM3DbUserArrayOutput

func (i M3DbUserArray) ToM3DbUserArrayOutput() M3DbUserArrayOutput

func (M3DbUserArray) ToM3DbUserArrayOutputWithContext

func (i M3DbUserArray) ToM3DbUserArrayOutputWithContext(ctx context.Context) M3DbUserArrayOutput

type M3DbUserArrayInput

type M3DbUserArrayInput interface {
	pulumi.Input

	ToM3DbUserArrayOutput() M3DbUserArrayOutput
	ToM3DbUserArrayOutputWithContext(context.Context) M3DbUserArrayOutput
}

M3DbUserArrayInput is an input type that accepts M3DbUserArray and M3DbUserArrayOutput values. You can construct a concrete instance of `M3DbUserArrayInput` via:

M3DbUserArray{ M3DbUserArgs{...} }

type M3DbUserArrayOutput

type M3DbUserArrayOutput struct{ *pulumi.OutputState }

func (M3DbUserArrayOutput) ElementType

func (M3DbUserArrayOutput) ElementType() reflect.Type

func (M3DbUserArrayOutput) Index

func (M3DbUserArrayOutput) ToM3DbUserArrayOutput

func (o M3DbUserArrayOutput) ToM3DbUserArrayOutput() M3DbUserArrayOutput

func (M3DbUserArrayOutput) ToM3DbUserArrayOutputWithContext

func (o M3DbUserArrayOutput) ToM3DbUserArrayOutputWithContext(ctx context.Context) M3DbUserArrayOutput

type M3DbUserInput

type M3DbUserInput interface {
	pulumi.Input

	ToM3DbUserOutput() M3DbUserOutput
	ToM3DbUserOutputWithContext(ctx context.Context) M3DbUserOutput
}

type M3DbUserMap

type M3DbUserMap map[string]M3DbUserInput

func (M3DbUserMap) ElementType

func (M3DbUserMap) ElementType() reflect.Type

func (M3DbUserMap) ToM3DbUserMapOutput

func (i M3DbUserMap) ToM3DbUserMapOutput() M3DbUserMapOutput

func (M3DbUserMap) ToM3DbUserMapOutputWithContext

func (i M3DbUserMap) ToM3DbUserMapOutputWithContext(ctx context.Context) M3DbUserMapOutput

type M3DbUserMapInput

type M3DbUserMapInput interface {
	pulumi.Input

	ToM3DbUserMapOutput() M3DbUserMapOutput
	ToM3DbUserMapOutputWithContext(context.Context) M3DbUserMapOutput
}

M3DbUserMapInput is an input type that accepts M3DbUserMap and M3DbUserMapOutput values. You can construct a concrete instance of `M3DbUserMapInput` via:

M3DbUserMap{ "key": M3DbUserArgs{...} }

type M3DbUserMapOutput

type M3DbUserMapOutput struct{ *pulumi.OutputState }

func (M3DbUserMapOutput) ElementType

func (M3DbUserMapOutput) ElementType() reflect.Type

func (M3DbUserMapOutput) MapIndex

func (M3DbUserMapOutput) ToM3DbUserMapOutput

func (o M3DbUserMapOutput) ToM3DbUserMapOutput() M3DbUserMapOutput

func (M3DbUserMapOutput) ToM3DbUserMapOutputWithContext

func (o M3DbUserMapOutput) ToM3DbUserMapOutputWithContext(ctx context.Context) M3DbUserMapOutput

type M3DbUserOutput

type M3DbUserOutput struct{ *pulumi.OutputState }

func (M3DbUserOutput) ClusterId

func (o M3DbUserOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (M3DbUserOutput) CreatedAt

func (o M3DbUserOutput) CreatedAt() pulumi.StringOutput

Date of the creation of the user.

func (M3DbUserOutput) ElementType

func (M3DbUserOutput) ElementType() reflect.Type

func (M3DbUserOutput) Group

Group of the user:

func (M3DbUserOutput) Name

Name of the user. A user named "avnadmin" is map with already created admin user instead of create a new user.

func (M3DbUserOutput) Password

func (o M3DbUserOutput) Password() pulumi.StringOutput

(Sensitive) Password of the user.

func (M3DbUserOutput) PasswordReset

func (o M3DbUserOutput) PasswordReset() pulumi.StringPtrOutput

See Argument Reference above.

func (M3DbUserOutput) ServiceName

func (o M3DbUserOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (M3DbUserOutput) Status

func (o M3DbUserOutput) Status() pulumi.StringOutput

Current status of the user.

func (M3DbUserOutput) ToM3DbUserOutput

func (o M3DbUserOutput) ToM3DbUserOutput() M3DbUserOutput

func (M3DbUserOutput) ToM3DbUserOutputWithContext

func (o M3DbUserOutput) ToM3DbUserOutputWithContext(ctx context.Context) M3DbUserOutput

type M3DbUserState

type M3DbUserState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Date of the creation of the user.
	CreatedAt pulumi.StringPtrInput
	// Group of the user:
	Group pulumi.StringPtrInput
	// Name of the user. A user named "avnadmin" is map with already created admin user instead of create a new user.
	Name pulumi.StringPtrInput
	// (Sensitive) Password of the user.
	Password pulumi.StringPtrInput
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Current status of the user.
	Status pulumi.StringPtrInput
}

func (M3DbUserState) ElementType

func (M3DbUserState) ElementType() reflect.Type

type MongoDbUser

type MongoDbUser struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Date of the creation of the user.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Name of the user.
	Name pulumi.StringOutput `pulumi:"name"`
	// (Sensitive) Password of the user.
	Password pulumi.StringOutput `pulumi:"password"`
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"`
	// Roles the user belongs to.
	// Available roles:
	Roles pulumi.StringArrayOutput `pulumi:"roles"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Current status of the user.
	Status pulumi.StringOutput `pulumi:"status"`
}

## Import

OVHcloud Managed MongoDB clusters users can be imported using the `service_name`, `cluster_id` and `id` of the user, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/mongoDbUser:MongoDbUser my_user service_name/cluster_id/id

```

func GetMongoDbUser

func GetMongoDbUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MongoDbUserState, opts ...pulumi.ResourceOption) (*MongoDbUser, error)

GetMongoDbUser gets an existing MongoDbUser 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 NewMongoDbUser

func NewMongoDbUser(ctx *pulumi.Context,
	name string, args *MongoDbUserArgs, opts ...pulumi.ResourceOption) (*MongoDbUser, error)

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

func (*MongoDbUser) ElementType

func (*MongoDbUser) ElementType() reflect.Type

func (*MongoDbUser) ToMongoDbUserOutput

func (i *MongoDbUser) ToMongoDbUserOutput() MongoDbUserOutput

func (*MongoDbUser) ToMongoDbUserOutputWithContext

func (i *MongoDbUser) ToMongoDbUserOutputWithContext(ctx context.Context) MongoDbUserOutput

type MongoDbUserArgs

type MongoDbUserArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Name of the user.
	Name pulumi.StringPtrInput
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrInput
	// Roles the user belongs to.
	// Available roles:
	Roles pulumi.StringArrayInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a MongoDbUser resource.

func (MongoDbUserArgs) ElementType

func (MongoDbUserArgs) ElementType() reflect.Type

type MongoDbUserArray

type MongoDbUserArray []MongoDbUserInput

func (MongoDbUserArray) ElementType

func (MongoDbUserArray) ElementType() reflect.Type

func (MongoDbUserArray) ToMongoDbUserArrayOutput

func (i MongoDbUserArray) ToMongoDbUserArrayOutput() MongoDbUserArrayOutput

func (MongoDbUserArray) ToMongoDbUserArrayOutputWithContext

func (i MongoDbUserArray) ToMongoDbUserArrayOutputWithContext(ctx context.Context) MongoDbUserArrayOutput

type MongoDbUserArrayInput

type MongoDbUserArrayInput interface {
	pulumi.Input

	ToMongoDbUserArrayOutput() MongoDbUserArrayOutput
	ToMongoDbUserArrayOutputWithContext(context.Context) MongoDbUserArrayOutput
}

MongoDbUserArrayInput is an input type that accepts MongoDbUserArray and MongoDbUserArrayOutput values. You can construct a concrete instance of `MongoDbUserArrayInput` via:

MongoDbUserArray{ MongoDbUserArgs{...} }

type MongoDbUserArrayOutput

type MongoDbUserArrayOutput struct{ *pulumi.OutputState }

func (MongoDbUserArrayOutput) ElementType

func (MongoDbUserArrayOutput) ElementType() reflect.Type

func (MongoDbUserArrayOutput) Index

func (MongoDbUserArrayOutput) ToMongoDbUserArrayOutput

func (o MongoDbUserArrayOutput) ToMongoDbUserArrayOutput() MongoDbUserArrayOutput

func (MongoDbUserArrayOutput) ToMongoDbUserArrayOutputWithContext

func (o MongoDbUserArrayOutput) ToMongoDbUserArrayOutputWithContext(ctx context.Context) MongoDbUserArrayOutput

type MongoDbUserInput

type MongoDbUserInput interface {
	pulumi.Input

	ToMongoDbUserOutput() MongoDbUserOutput
	ToMongoDbUserOutputWithContext(ctx context.Context) MongoDbUserOutput
}

type MongoDbUserMap

type MongoDbUserMap map[string]MongoDbUserInput

func (MongoDbUserMap) ElementType

func (MongoDbUserMap) ElementType() reflect.Type

func (MongoDbUserMap) ToMongoDbUserMapOutput

func (i MongoDbUserMap) ToMongoDbUserMapOutput() MongoDbUserMapOutput

func (MongoDbUserMap) ToMongoDbUserMapOutputWithContext

func (i MongoDbUserMap) ToMongoDbUserMapOutputWithContext(ctx context.Context) MongoDbUserMapOutput

type MongoDbUserMapInput

type MongoDbUserMapInput interface {
	pulumi.Input

	ToMongoDbUserMapOutput() MongoDbUserMapOutput
	ToMongoDbUserMapOutputWithContext(context.Context) MongoDbUserMapOutput
}

MongoDbUserMapInput is an input type that accepts MongoDbUserMap and MongoDbUserMapOutput values. You can construct a concrete instance of `MongoDbUserMapInput` via:

MongoDbUserMap{ "key": MongoDbUserArgs{...} }

type MongoDbUserMapOutput

type MongoDbUserMapOutput struct{ *pulumi.OutputState }

func (MongoDbUserMapOutput) ElementType

func (MongoDbUserMapOutput) ElementType() reflect.Type

func (MongoDbUserMapOutput) MapIndex

func (MongoDbUserMapOutput) ToMongoDbUserMapOutput

func (o MongoDbUserMapOutput) ToMongoDbUserMapOutput() MongoDbUserMapOutput

func (MongoDbUserMapOutput) ToMongoDbUserMapOutputWithContext

func (o MongoDbUserMapOutput) ToMongoDbUserMapOutputWithContext(ctx context.Context) MongoDbUserMapOutput

type MongoDbUserOutput

type MongoDbUserOutput struct{ *pulumi.OutputState }

func (MongoDbUserOutput) ClusterId

func (o MongoDbUserOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (MongoDbUserOutput) CreatedAt

func (o MongoDbUserOutput) CreatedAt() pulumi.StringOutput

Date of the creation of the user.

func (MongoDbUserOutput) ElementType

func (MongoDbUserOutput) ElementType() reflect.Type

func (MongoDbUserOutput) Name

Name of the user.

func (MongoDbUserOutput) Password

func (o MongoDbUserOutput) Password() pulumi.StringOutput

(Sensitive) Password of the user.

func (MongoDbUserOutput) PasswordReset

func (o MongoDbUserOutput) PasswordReset() pulumi.StringPtrOutput

See Argument Reference above.

func (MongoDbUserOutput) Roles

Roles the user belongs to. Available roles:

func (MongoDbUserOutput) ServiceName

func (o MongoDbUserOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (MongoDbUserOutput) Status

Current status of the user.

func (MongoDbUserOutput) ToMongoDbUserOutput

func (o MongoDbUserOutput) ToMongoDbUserOutput() MongoDbUserOutput

func (MongoDbUserOutput) ToMongoDbUserOutputWithContext

func (o MongoDbUserOutput) ToMongoDbUserOutputWithContext(ctx context.Context) MongoDbUserOutput

type MongoDbUserState

type MongoDbUserState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Date of the creation of the user.
	CreatedAt pulumi.StringPtrInput
	// Name of the user.
	Name pulumi.StringPtrInput
	// (Sensitive) Password of the user.
	Password pulumi.StringPtrInput
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrInput
	// Roles the user belongs to.
	// Available roles:
	Roles pulumi.StringArrayInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Current status of the user.
	Status pulumi.StringPtrInput
}

func (MongoDbUserState) ElementType

func (MongoDbUserState) ElementType() reflect.Type

type OpensearchPattern

type OpensearchPattern struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Maximum number of index for this pattern.
	MaxIndexCount pulumi.IntPtrOutput `pulumi:"maxIndexCount"`
	// Pattern format.
	Pattern pulumi.StringOutput `pulumi:"pattern"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
}

Creates a pattern for a opensearch cluster associated with a public cloud project.

## Example Usage

```go package main

import (

"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/CloudProjectDatabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opensearch, err := CloudProjectDatabase.GetDatabase(ctx, &cloudprojectdatabase.GetDatabaseArgs{
			ServiceName: "XXX",
			Engine:      "opensearch",
			Id:          "ZZZ",
		}, nil)
		if err != nil {
			return err
		}
		_, err = CloudProjectDatabase.NewOpensearchPattern(ctx, "pattern", &CloudProjectDatabase.OpensearchPatternArgs{
			ServiceName:   *pulumi.String(opensearch.ServiceName),
			ClusterId:     *pulumi.String(opensearch.Id),
			MaxIndexCount: pulumi.Int(2),
			Pattern:       pulumi.String("logs_*"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OVHcloud Managed opensearch clusters patterns can be imported using the `service_name`, `cluster_id` and `id` of the pattern, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/opensearchPattern:OpensearchPattern my_pattern service_name/cluster_id/id

```

func GetOpensearchPattern

func GetOpensearchPattern(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OpensearchPatternState, opts ...pulumi.ResourceOption) (*OpensearchPattern, error)

GetOpensearchPattern gets an existing OpensearchPattern 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 NewOpensearchPattern

func NewOpensearchPattern(ctx *pulumi.Context,
	name string, args *OpensearchPatternArgs, opts ...pulumi.ResourceOption) (*OpensearchPattern, error)

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

func (*OpensearchPattern) ElementType

func (*OpensearchPattern) ElementType() reflect.Type

func (*OpensearchPattern) ToOpensearchPatternOutput

func (i *OpensearchPattern) ToOpensearchPatternOutput() OpensearchPatternOutput

func (*OpensearchPattern) ToOpensearchPatternOutputWithContext

func (i *OpensearchPattern) ToOpensearchPatternOutputWithContext(ctx context.Context) OpensearchPatternOutput

type OpensearchPatternArgs

type OpensearchPatternArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Maximum number of index for this pattern.
	MaxIndexCount pulumi.IntPtrInput
	// Pattern format.
	Pattern pulumi.StringInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a OpensearchPattern resource.

func (OpensearchPatternArgs) ElementType

func (OpensearchPatternArgs) ElementType() reflect.Type

type OpensearchPatternArray

type OpensearchPatternArray []OpensearchPatternInput

func (OpensearchPatternArray) ElementType

func (OpensearchPatternArray) ElementType() reflect.Type

func (OpensearchPatternArray) ToOpensearchPatternArrayOutput

func (i OpensearchPatternArray) ToOpensearchPatternArrayOutput() OpensearchPatternArrayOutput

func (OpensearchPatternArray) ToOpensearchPatternArrayOutputWithContext

func (i OpensearchPatternArray) ToOpensearchPatternArrayOutputWithContext(ctx context.Context) OpensearchPatternArrayOutput

type OpensearchPatternArrayInput

type OpensearchPatternArrayInput interface {
	pulumi.Input

	ToOpensearchPatternArrayOutput() OpensearchPatternArrayOutput
	ToOpensearchPatternArrayOutputWithContext(context.Context) OpensearchPatternArrayOutput
}

OpensearchPatternArrayInput is an input type that accepts OpensearchPatternArray and OpensearchPatternArrayOutput values. You can construct a concrete instance of `OpensearchPatternArrayInput` via:

OpensearchPatternArray{ OpensearchPatternArgs{...} }

type OpensearchPatternArrayOutput

type OpensearchPatternArrayOutput struct{ *pulumi.OutputState }

func (OpensearchPatternArrayOutput) ElementType

func (OpensearchPatternArrayOutput) Index

func (OpensearchPatternArrayOutput) ToOpensearchPatternArrayOutput

func (o OpensearchPatternArrayOutput) ToOpensearchPatternArrayOutput() OpensearchPatternArrayOutput

func (OpensearchPatternArrayOutput) ToOpensearchPatternArrayOutputWithContext

func (o OpensearchPatternArrayOutput) ToOpensearchPatternArrayOutputWithContext(ctx context.Context) OpensearchPatternArrayOutput

type OpensearchPatternInput

type OpensearchPatternInput interface {
	pulumi.Input

	ToOpensearchPatternOutput() OpensearchPatternOutput
	ToOpensearchPatternOutputWithContext(ctx context.Context) OpensearchPatternOutput
}

type OpensearchPatternMap

type OpensearchPatternMap map[string]OpensearchPatternInput

func (OpensearchPatternMap) ElementType

func (OpensearchPatternMap) ElementType() reflect.Type

func (OpensearchPatternMap) ToOpensearchPatternMapOutput

func (i OpensearchPatternMap) ToOpensearchPatternMapOutput() OpensearchPatternMapOutput

func (OpensearchPatternMap) ToOpensearchPatternMapOutputWithContext

func (i OpensearchPatternMap) ToOpensearchPatternMapOutputWithContext(ctx context.Context) OpensearchPatternMapOutput

type OpensearchPatternMapInput

type OpensearchPatternMapInput interface {
	pulumi.Input

	ToOpensearchPatternMapOutput() OpensearchPatternMapOutput
	ToOpensearchPatternMapOutputWithContext(context.Context) OpensearchPatternMapOutput
}

OpensearchPatternMapInput is an input type that accepts OpensearchPatternMap and OpensearchPatternMapOutput values. You can construct a concrete instance of `OpensearchPatternMapInput` via:

OpensearchPatternMap{ "key": OpensearchPatternArgs{...} }

type OpensearchPatternMapOutput

type OpensearchPatternMapOutput struct{ *pulumi.OutputState }

func (OpensearchPatternMapOutput) ElementType

func (OpensearchPatternMapOutput) ElementType() reflect.Type

func (OpensearchPatternMapOutput) MapIndex

func (OpensearchPatternMapOutput) ToOpensearchPatternMapOutput

func (o OpensearchPatternMapOutput) ToOpensearchPatternMapOutput() OpensearchPatternMapOutput

func (OpensearchPatternMapOutput) ToOpensearchPatternMapOutputWithContext

func (o OpensearchPatternMapOutput) ToOpensearchPatternMapOutputWithContext(ctx context.Context) OpensearchPatternMapOutput

type OpensearchPatternOutput

type OpensearchPatternOutput struct{ *pulumi.OutputState }

func (OpensearchPatternOutput) ClusterId

Cluster ID.

func (OpensearchPatternOutput) ElementType

func (OpensearchPatternOutput) ElementType() reflect.Type

func (OpensearchPatternOutput) MaxIndexCount

func (o OpensearchPatternOutput) MaxIndexCount() pulumi.IntPtrOutput

Maximum number of index for this pattern.

func (OpensearchPatternOutput) Pattern

Pattern format.

func (OpensearchPatternOutput) ServiceName

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (OpensearchPatternOutput) ToOpensearchPatternOutput

func (o OpensearchPatternOutput) ToOpensearchPatternOutput() OpensearchPatternOutput

func (OpensearchPatternOutput) ToOpensearchPatternOutputWithContext

func (o OpensearchPatternOutput) ToOpensearchPatternOutputWithContext(ctx context.Context) OpensearchPatternOutput

type OpensearchPatternState

type OpensearchPatternState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Maximum number of index for this pattern.
	MaxIndexCount pulumi.IntPtrInput
	// Pattern format.
	Pattern pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
}

func (OpensearchPatternState) ElementType

func (OpensearchPatternState) ElementType() reflect.Type

type OpensearchUser

type OpensearchUser struct {
	pulumi.CustomResourceState

	// Acls of the user.
	Acls OpensearchUserAclArrayOutput `pulumi:"acls"`
	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Date of the creation of the user.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Username affected by this acl. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringOutput `pulumi:"name"`
	// (Sensitive) Password of the user.
	Password pulumi.StringOutput `pulumi:"password"`
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Current status of the user.
	Status pulumi.StringOutput `pulumi:"status"`
}

## Import

OVHcloud Managed OpenSearch clusters users can be imported using the `service_name`, `cluster_id` and `id` of the user, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/opensearchUser:OpensearchUser my_user service_name/cluster_id/id

```

func GetOpensearchUser

func GetOpensearchUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OpensearchUserState, opts ...pulumi.ResourceOption) (*OpensearchUser, error)

GetOpensearchUser gets an existing OpensearchUser 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 NewOpensearchUser

func NewOpensearchUser(ctx *pulumi.Context,
	name string, args *OpensearchUserArgs, opts ...pulumi.ResourceOption) (*OpensearchUser, error)

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

func (*OpensearchUser) ElementType

func (*OpensearchUser) ElementType() reflect.Type

func (*OpensearchUser) ToOpensearchUserOutput

func (i *OpensearchUser) ToOpensearchUserOutput() OpensearchUserOutput

func (*OpensearchUser) ToOpensearchUserOutputWithContext

func (i *OpensearchUser) ToOpensearchUserOutputWithContext(ctx context.Context) OpensearchUserOutput

type OpensearchUserAcl

type OpensearchUserAcl struct {
	// Pattern of the ACL.
	Pattern string `pulumi:"pattern"`
	// Permission of the ACL
	// Available permission:
	Permission string `pulumi:"permission"`
}

type OpensearchUserAclArgs

type OpensearchUserAclArgs struct {
	// Pattern of the ACL.
	Pattern pulumi.StringInput `pulumi:"pattern"`
	// Permission of the ACL
	// Available permission:
	Permission pulumi.StringInput `pulumi:"permission"`
}

func (OpensearchUserAclArgs) ElementType

func (OpensearchUserAclArgs) ElementType() reflect.Type

func (OpensearchUserAclArgs) ToOpensearchUserAclOutput

func (i OpensearchUserAclArgs) ToOpensearchUserAclOutput() OpensearchUserAclOutput

func (OpensearchUserAclArgs) ToOpensearchUserAclOutputWithContext

func (i OpensearchUserAclArgs) ToOpensearchUserAclOutputWithContext(ctx context.Context) OpensearchUserAclOutput

type OpensearchUserAclArray

type OpensearchUserAclArray []OpensearchUserAclInput

func (OpensearchUserAclArray) ElementType

func (OpensearchUserAclArray) ElementType() reflect.Type

func (OpensearchUserAclArray) ToOpensearchUserAclArrayOutput

func (i OpensearchUserAclArray) ToOpensearchUserAclArrayOutput() OpensearchUserAclArrayOutput

func (OpensearchUserAclArray) ToOpensearchUserAclArrayOutputWithContext

func (i OpensearchUserAclArray) ToOpensearchUserAclArrayOutputWithContext(ctx context.Context) OpensearchUserAclArrayOutput

type OpensearchUserAclArrayInput

type OpensearchUserAclArrayInput interface {
	pulumi.Input

	ToOpensearchUserAclArrayOutput() OpensearchUserAclArrayOutput
	ToOpensearchUserAclArrayOutputWithContext(context.Context) OpensearchUserAclArrayOutput
}

OpensearchUserAclArrayInput is an input type that accepts OpensearchUserAclArray and OpensearchUserAclArrayOutput values. You can construct a concrete instance of `OpensearchUserAclArrayInput` via:

OpensearchUserAclArray{ OpensearchUserAclArgs{...} }

type OpensearchUserAclArrayOutput

type OpensearchUserAclArrayOutput struct{ *pulumi.OutputState }

func (OpensearchUserAclArrayOutput) ElementType

func (OpensearchUserAclArrayOutput) Index

func (OpensearchUserAclArrayOutput) ToOpensearchUserAclArrayOutput

func (o OpensearchUserAclArrayOutput) ToOpensearchUserAclArrayOutput() OpensearchUserAclArrayOutput

func (OpensearchUserAclArrayOutput) ToOpensearchUserAclArrayOutputWithContext

func (o OpensearchUserAclArrayOutput) ToOpensearchUserAclArrayOutputWithContext(ctx context.Context) OpensearchUserAclArrayOutput

type OpensearchUserAclInput

type OpensearchUserAclInput interface {
	pulumi.Input

	ToOpensearchUserAclOutput() OpensearchUserAclOutput
	ToOpensearchUserAclOutputWithContext(context.Context) OpensearchUserAclOutput
}

OpensearchUserAclInput is an input type that accepts OpensearchUserAclArgs and OpensearchUserAclOutput values. You can construct a concrete instance of `OpensearchUserAclInput` via:

OpensearchUserAclArgs{...}

type OpensearchUserAclOutput

type OpensearchUserAclOutput struct{ *pulumi.OutputState }

func (OpensearchUserAclOutput) ElementType

func (OpensearchUserAclOutput) ElementType() reflect.Type

func (OpensearchUserAclOutput) Pattern

Pattern of the ACL.

func (OpensearchUserAclOutput) Permission

Permission of the ACL Available permission:

func (OpensearchUserAclOutput) ToOpensearchUserAclOutput

func (o OpensearchUserAclOutput) ToOpensearchUserAclOutput() OpensearchUserAclOutput

func (OpensearchUserAclOutput) ToOpensearchUserAclOutputWithContext

func (o OpensearchUserAclOutput) ToOpensearchUserAclOutputWithContext(ctx context.Context) OpensearchUserAclOutput

type OpensearchUserArgs

type OpensearchUserArgs struct {
	// Acls of the user.
	Acls OpensearchUserAclArrayInput
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Username affected by this acl. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringPtrInput
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a OpensearchUser resource.

func (OpensearchUserArgs) ElementType

func (OpensearchUserArgs) ElementType() reflect.Type

type OpensearchUserArray

type OpensearchUserArray []OpensearchUserInput

func (OpensearchUserArray) ElementType

func (OpensearchUserArray) ElementType() reflect.Type

func (OpensearchUserArray) ToOpensearchUserArrayOutput

func (i OpensearchUserArray) ToOpensearchUserArrayOutput() OpensearchUserArrayOutput

func (OpensearchUserArray) ToOpensearchUserArrayOutputWithContext

func (i OpensearchUserArray) ToOpensearchUserArrayOutputWithContext(ctx context.Context) OpensearchUserArrayOutput

type OpensearchUserArrayInput

type OpensearchUserArrayInput interface {
	pulumi.Input

	ToOpensearchUserArrayOutput() OpensearchUserArrayOutput
	ToOpensearchUserArrayOutputWithContext(context.Context) OpensearchUserArrayOutput
}

OpensearchUserArrayInput is an input type that accepts OpensearchUserArray and OpensearchUserArrayOutput values. You can construct a concrete instance of `OpensearchUserArrayInput` via:

OpensearchUserArray{ OpensearchUserArgs{...} }

type OpensearchUserArrayOutput

type OpensearchUserArrayOutput struct{ *pulumi.OutputState }

func (OpensearchUserArrayOutput) ElementType

func (OpensearchUserArrayOutput) ElementType() reflect.Type

func (OpensearchUserArrayOutput) Index

func (OpensearchUserArrayOutput) ToOpensearchUserArrayOutput

func (o OpensearchUserArrayOutput) ToOpensearchUserArrayOutput() OpensearchUserArrayOutput

func (OpensearchUserArrayOutput) ToOpensearchUserArrayOutputWithContext

func (o OpensearchUserArrayOutput) ToOpensearchUserArrayOutputWithContext(ctx context.Context) OpensearchUserArrayOutput

type OpensearchUserInput

type OpensearchUserInput interface {
	pulumi.Input

	ToOpensearchUserOutput() OpensearchUserOutput
	ToOpensearchUserOutputWithContext(ctx context.Context) OpensearchUserOutput
}

type OpensearchUserMap

type OpensearchUserMap map[string]OpensearchUserInput

func (OpensearchUserMap) ElementType

func (OpensearchUserMap) ElementType() reflect.Type

func (OpensearchUserMap) ToOpensearchUserMapOutput

func (i OpensearchUserMap) ToOpensearchUserMapOutput() OpensearchUserMapOutput

func (OpensearchUserMap) ToOpensearchUserMapOutputWithContext

func (i OpensearchUserMap) ToOpensearchUserMapOutputWithContext(ctx context.Context) OpensearchUserMapOutput

type OpensearchUserMapInput

type OpensearchUserMapInput interface {
	pulumi.Input

	ToOpensearchUserMapOutput() OpensearchUserMapOutput
	ToOpensearchUserMapOutputWithContext(context.Context) OpensearchUserMapOutput
}

OpensearchUserMapInput is an input type that accepts OpensearchUserMap and OpensearchUserMapOutput values. You can construct a concrete instance of `OpensearchUserMapInput` via:

OpensearchUserMap{ "key": OpensearchUserArgs{...} }

type OpensearchUserMapOutput

type OpensearchUserMapOutput struct{ *pulumi.OutputState }

func (OpensearchUserMapOutput) ElementType

func (OpensearchUserMapOutput) ElementType() reflect.Type

func (OpensearchUserMapOutput) MapIndex

func (OpensearchUserMapOutput) ToOpensearchUserMapOutput

func (o OpensearchUserMapOutput) ToOpensearchUserMapOutput() OpensearchUserMapOutput

func (OpensearchUserMapOutput) ToOpensearchUserMapOutputWithContext

func (o OpensearchUserMapOutput) ToOpensearchUserMapOutputWithContext(ctx context.Context) OpensearchUserMapOutput

type OpensearchUserOutput

type OpensearchUserOutput struct{ *pulumi.OutputState }

func (OpensearchUserOutput) Acls

Acls of the user.

func (OpensearchUserOutput) ClusterId

Cluster ID.

func (OpensearchUserOutput) CreatedAt

Date of the creation of the user.

func (OpensearchUserOutput) ElementType

func (OpensearchUserOutput) ElementType() reflect.Type

func (OpensearchUserOutput) Name

Username affected by this acl. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.

func (OpensearchUserOutput) Password

(Sensitive) Password of the user.

func (OpensearchUserOutput) PasswordReset

func (o OpensearchUserOutput) PasswordReset() pulumi.StringPtrOutput

See Argument Reference above.

func (OpensearchUserOutput) ServiceName

func (o OpensearchUserOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (OpensearchUserOutput) Status

Current status of the user.

func (OpensearchUserOutput) ToOpensearchUserOutput

func (o OpensearchUserOutput) ToOpensearchUserOutput() OpensearchUserOutput

func (OpensearchUserOutput) ToOpensearchUserOutputWithContext

func (o OpensearchUserOutput) ToOpensearchUserOutputWithContext(ctx context.Context) OpensearchUserOutput

type OpensearchUserState

type OpensearchUserState struct {
	// Acls of the user.
	Acls OpensearchUserAclArrayInput
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Date of the creation of the user.
	CreatedAt pulumi.StringPtrInput
	// Username affected by this acl. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringPtrInput
	// (Sensitive) Password of the user.
	Password pulumi.StringPtrInput
	// See Argument Reference above.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Current status of the user.
	Status pulumi.StringPtrInput
}

func (OpensearchUserState) ElementType

func (OpensearchUserState) ElementType() reflect.Type

type PostgresSqlUser

type PostgresSqlUser struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Date of the creation of the user.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringOutput `pulumi:"name"`
	// (Sensitive) Password of the user.
	Password pulumi.StringOutput `pulumi:"password"`
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"`
	// Roles the user belongs to.
	// Available roles:
	Roles pulumi.StringArrayOutput `pulumi:"roles"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Current status of the user.
	Status pulumi.StringOutput `pulumi:"status"`
}

## Import

OVHcloud Managed PostgreSQL clusters users can be imported using the `service_name`, `cluster_id` and `id` of the user, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/postgresSqlUser:PostgresSqlUser my_user service_name/cluster_id/id

```

func GetPostgresSqlUser

func GetPostgresSqlUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PostgresSqlUserState, opts ...pulumi.ResourceOption) (*PostgresSqlUser, error)

GetPostgresSqlUser gets an existing PostgresSqlUser 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 NewPostgresSqlUser

func NewPostgresSqlUser(ctx *pulumi.Context,
	name string, args *PostgresSqlUserArgs, opts ...pulumi.ResourceOption) (*PostgresSqlUser, error)

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

func (*PostgresSqlUser) ElementType

func (*PostgresSqlUser) ElementType() reflect.Type

func (*PostgresSqlUser) ToPostgresSqlUserOutput

func (i *PostgresSqlUser) ToPostgresSqlUserOutput() PostgresSqlUserOutput

func (*PostgresSqlUser) ToPostgresSqlUserOutputWithContext

func (i *PostgresSqlUser) ToPostgresSqlUserOutputWithContext(ctx context.Context) PostgresSqlUserOutput

type PostgresSqlUserArgs

type PostgresSqlUserArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringPtrInput
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrInput
	// Roles the user belongs to.
	// Available roles:
	Roles pulumi.StringArrayInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a PostgresSqlUser resource.

func (PostgresSqlUserArgs) ElementType

func (PostgresSqlUserArgs) ElementType() reflect.Type

type PostgresSqlUserArray

type PostgresSqlUserArray []PostgresSqlUserInput

func (PostgresSqlUserArray) ElementType

func (PostgresSqlUserArray) ElementType() reflect.Type

func (PostgresSqlUserArray) ToPostgresSqlUserArrayOutput

func (i PostgresSqlUserArray) ToPostgresSqlUserArrayOutput() PostgresSqlUserArrayOutput

func (PostgresSqlUserArray) ToPostgresSqlUserArrayOutputWithContext

func (i PostgresSqlUserArray) ToPostgresSqlUserArrayOutputWithContext(ctx context.Context) PostgresSqlUserArrayOutput

type PostgresSqlUserArrayInput

type PostgresSqlUserArrayInput interface {
	pulumi.Input

	ToPostgresSqlUserArrayOutput() PostgresSqlUserArrayOutput
	ToPostgresSqlUserArrayOutputWithContext(context.Context) PostgresSqlUserArrayOutput
}

PostgresSqlUserArrayInput is an input type that accepts PostgresSqlUserArray and PostgresSqlUserArrayOutput values. You can construct a concrete instance of `PostgresSqlUserArrayInput` via:

PostgresSqlUserArray{ PostgresSqlUserArgs{...} }

type PostgresSqlUserArrayOutput

type PostgresSqlUserArrayOutput struct{ *pulumi.OutputState }

func (PostgresSqlUserArrayOutput) ElementType

func (PostgresSqlUserArrayOutput) ElementType() reflect.Type

func (PostgresSqlUserArrayOutput) Index

func (PostgresSqlUserArrayOutput) ToPostgresSqlUserArrayOutput

func (o PostgresSqlUserArrayOutput) ToPostgresSqlUserArrayOutput() PostgresSqlUserArrayOutput

func (PostgresSqlUserArrayOutput) ToPostgresSqlUserArrayOutputWithContext

func (o PostgresSqlUserArrayOutput) ToPostgresSqlUserArrayOutputWithContext(ctx context.Context) PostgresSqlUserArrayOutput

type PostgresSqlUserInput

type PostgresSqlUserInput interface {
	pulumi.Input

	ToPostgresSqlUserOutput() PostgresSqlUserOutput
	ToPostgresSqlUserOutputWithContext(ctx context.Context) PostgresSqlUserOutput
}

type PostgresSqlUserMap

type PostgresSqlUserMap map[string]PostgresSqlUserInput

func (PostgresSqlUserMap) ElementType

func (PostgresSqlUserMap) ElementType() reflect.Type

func (PostgresSqlUserMap) ToPostgresSqlUserMapOutput

func (i PostgresSqlUserMap) ToPostgresSqlUserMapOutput() PostgresSqlUserMapOutput

func (PostgresSqlUserMap) ToPostgresSqlUserMapOutputWithContext

func (i PostgresSqlUserMap) ToPostgresSqlUserMapOutputWithContext(ctx context.Context) PostgresSqlUserMapOutput

type PostgresSqlUserMapInput

type PostgresSqlUserMapInput interface {
	pulumi.Input

	ToPostgresSqlUserMapOutput() PostgresSqlUserMapOutput
	ToPostgresSqlUserMapOutputWithContext(context.Context) PostgresSqlUserMapOutput
}

PostgresSqlUserMapInput is an input type that accepts PostgresSqlUserMap and PostgresSqlUserMapOutput values. You can construct a concrete instance of `PostgresSqlUserMapInput` via:

PostgresSqlUserMap{ "key": PostgresSqlUserArgs{...} }

type PostgresSqlUserMapOutput

type PostgresSqlUserMapOutput struct{ *pulumi.OutputState }

func (PostgresSqlUserMapOutput) ElementType

func (PostgresSqlUserMapOutput) ElementType() reflect.Type

func (PostgresSqlUserMapOutput) MapIndex

func (PostgresSqlUserMapOutput) ToPostgresSqlUserMapOutput

func (o PostgresSqlUserMapOutput) ToPostgresSqlUserMapOutput() PostgresSqlUserMapOutput

func (PostgresSqlUserMapOutput) ToPostgresSqlUserMapOutputWithContext

func (o PostgresSqlUserMapOutput) ToPostgresSqlUserMapOutputWithContext(ctx context.Context) PostgresSqlUserMapOutput

type PostgresSqlUserOutput

type PostgresSqlUserOutput struct{ *pulumi.OutputState }

func (PostgresSqlUserOutput) ClusterId

Cluster ID.

func (PostgresSqlUserOutput) CreatedAt

Date of the creation of the user.

func (PostgresSqlUserOutput) ElementType

func (PostgresSqlUserOutput) ElementType() reflect.Type

func (PostgresSqlUserOutput) Name

Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.

func (PostgresSqlUserOutput) Password

(Sensitive) Password of the user.

func (PostgresSqlUserOutput) PasswordReset

func (o PostgresSqlUserOutput) PasswordReset() pulumi.StringPtrOutput

Arbitrary string to change to trigger a password update.

func (PostgresSqlUserOutput) Roles

Roles the user belongs to. Available roles:

func (PostgresSqlUserOutput) ServiceName

func (o PostgresSqlUserOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (PostgresSqlUserOutput) Status

Current status of the user.

func (PostgresSqlUserOutput) ToPostgresSqlUserOutput

func (o PostgresSqlUserOutput) ToPostgresSqlUserOutput() PostgresSqlUserOutput

func (PostgresSqlUserOutput) ToPostgresSqlUserOutputWithContext

func (o PostgresSqlUserOutput) ToPostgresSqlUserOutputWithContext(ctx context.Context) PostgresSqlUserOutput

type PostgresSqlUserState

type PostgresSqlUserState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Date of the creation of the user.
	CreatedAt pulumi.StringPtrInput
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringPtrInput
	// (Sensitive) Password of the user.
	Password pulumi.StringPtrInput
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrInput
	// Roles the user belongs to.
	// Available roles:
	Roles pulumi.StringArrayInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Current status of the user.
	Status pulumi.StringPtrInput
}

func (PostgresSqlUserState) ElementType

func (PostgresSqlUserState) ElementType() reflect.Type

type RedisUser

type RedisUser struct {
	pulumi.CustomResourceState

	// Categories of the user.
	Categories pulumi.StringArrayOutput `pulumi:"categories"`
	// Channels of the user.
	Channels pulumi.StringArrayOutput `pulumi:"channels"`
	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Commands of the user.
	Commands pulumi.StringArrayOutput `pulumi:"commands"`
	// Date of the creation of the user.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Keys of the user.
	Keys pulumi.StringArrayOutput `pulumi:"keys"`
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringOutput `pulumi:"name"`
	// (Sensitive) Password of the user.
	Password pulumi.StringOutput `pulumi:"password"`
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Current status of the user.
	Status pulumi.StringOutput `pulumi:"status"`
}

## Import

OVHcloud Managed Redis clusters users can be imported using the `service_name`, `cluster_id` and `id` of the user, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/redisUser:RedisUser my_user service_name/cluster_id/id

```

func GetRedisUser

func GetRedisUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RedisUserState, opts ...pulumi.ResourceOption) (*RedisUser, error)

GetRedisUser gets an existing RedisUser 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 NewRedisUser

func NewRedisUser(ctx *pulumi.Context,
	name string, args *RedisUserArgs, opts ...pulumi.ResourceOption) (*RedisUser, error)

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

func (*RedisUser) ElementType

func (*RedisUser) ElementType() reflect.Type

func (*RedisUser) ToRedisUserOutput

func (i *RedisUser) ToRedisUserOutput() RedisUserOutput

func (*RedisUser) ToRedisUserOutputWithContext

func (i *RedisUser) ToRedisUserOutputWithContext(ctx context.Context) RedisUserOutput

type RedisUserArgs

type RedisUserArgs struct {
	// Categories of the user.
	Categories pulumi.StringArrayInput
	// Channels of the user.
	Channels pulumi.StringArrayInput
	// Cluster ID.
	ClusterId pulumi.StringInput
	// Commands of the user.
	Commands pulumi.StringArrayInput
	// Keys of the user.
	Keys pulumi.StringArrayInput
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringPtrInput
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a RedisUser resource.

func (RedisUserArgs) ElementType

func (RedisUserArgs) ElementType() reflect.Type

type RedisUserArray

type RedisUserArray []RedisUserInput

func (RedisUserArray) ElementType

func (RedisUserArray) ElementType() reflect.Type

func (RedisUserArray) ToRedisUserArrayOutput

func (i RedisUserArray) ToRedisUserArrayOutput() RedisUserArrayOutput

func (RedisUserArray) ToRedisUserArrayOutputWithContext

func (i RedisUserArray) ToRedisUserArrayOutputWithContext(ctx context.Context) RedisUserArrayOutput

type RedisUserArrayInput

type RedisUserArrayInput interface {
	pulumi.Input

	ToRedisUserArrayOutput() RedisUserArrayOutput
	ToRedisUserArrayOutputWithContext(context.Context) RedisUserArrayOutput
}

RedisUserArrayInput is an input type that accepts RedisUserArray and RedisUserArrayOutput values. You can construct a concrete instance of `RedisUserArrayInput` via:

RedisUserArray{ RedisUserArgs{...} }

type RedisUserArrayOutput

type RedisUserArrayOutput struct{ *pulumi.OutputState }

func (RedisUserArrayOutput) ElementType

func (RedisUserArrayOutput) ElementType() reflect.Type

func (RedisUserArrayOutput) Index

func (RedisUserArrayOutput) ToRedisUserArrayOutput

func (o RedisUserArrayOutput) ToRedisUserArrayOutput() RedisUserArrayOutput

func (RedisUserArrayOutput) ToRedisUserArrayOutputWithContext

func (o RedisUserArrayOutput) ToRedisUserArrayOutputWithContext(ctx context.Context) RedisUserArrayOutput

type RedisUserInput

type RedisUserInput interface {
	pulumi.Input

	ToRedisUserOutput() RedisUserOutput
	ToRedisUserOutputWithContext(ctx context.Context) RedisUserOutput
}

type RedisUserMap

type RedisUserMap map[string]RedisUserInput

func (RedisUserMap) ElementType

func (RedisUserMap) ElementType() reflect.Type

func (RedisUserMap) ToRedisUserMapOutput

func (i RedisUserMap) ToRedisUserMapOutput() RedisUserMapOutput

func (RedisUserMap) ToRedisUserMapOutputWithContext

func (i RedisUserMap) ToRedisUserMapOutputWithContext(ctx context.Context) RedisUserMapOutput

type RedisUserMapInput

type RedisUserMapInput interface {
	pulumi.Input

	ToRedisUserMapOutput() RedisUserMapOutput
	ToRedisUserMapOutputWithContext(context.Context) RedisUserMapOutput
}

RedisUserMapInput is an input type that accepts RedisUserMap and RedisUserMapOutput values. You can construct a concrete instance of `RedisUserMapInput` via:

RedisUserMap{ "key": RedisUserArgs{...} }

type RedisUserMapOutput

type RedisUserMapOutput struct{ *pulumi.OutputState }

func (RedisUserMapOutput) ElementType

func (RedisUserMapOutput) ElementType() reflect.Type

func (RedisUserMapOutput) MapIndex

func (RedisUserMapOutput) ToRedisUserMapOutput

func (o RedisUserMapOutput) ToRedisUserMapOutput() RedisUserMapOutput

func (RedisUserMapOutput) ToRedisUserMapOutputWithContext

func (o RedisUserMapOutput) ToRedisUserMapOutputWithContext(ctx context.Context) RedisUserMapOutput

type RedisUserOutput

type RedisUserOutput struct{ *pulumi.OutputState }

func (RedisUserOutput) Categories

func (o RedisUserOutput) Categories() pulumi.StringArrayOutput

Categories of the user.

func (RedisUserOutput) Channels

Channels of the user.

func (RedisUserOutput) ClusterId

func (o RedisUserOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (RedisUserOutput) Commands

Commands of the user.

func (RedisUserOutput) CreatedAt

func (o RedisUserOutput) CreatedAt() pulumi.StringOutput

Date of the creation of the user.

func (RedisUserOutput) ElementType

func (RedisUserOutput) ElementType() reflect.Type

func (RedisUserOutput) Keys

Keys of the user.

func (RedisUserOutput) Name

Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.

func (RedisUserOutput) Password

func (o RedisUserOutput) Password() pulumi.StringOutput

(Sensitive) Password of the user.

func (RedisUserOutput) PasswordReset

func (o RedisUserOutput) PasswordReset() pulumi.StringPtrOutput

Arbitrary string to change to trigger a password update.

func (RedisUserOutput) ServiceName

func (o RedisUserOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (RedisUserOutput) Status

func (o RedisUserOutput) Status() pulumi.StringOutput

Current status of the user.

func (RedisUserOutput) ToRedisUserOutput

func (o RedisUserOutput) ToRedisUserOutput() RedisUserOutput

func (RedisUserOutput) ToRedisUserOutputWithContext

func (o RedisUserOutput) ToRedisUserOutputWithContext(ctx context.Context) RedisUserOutput

type RedisUserState

type RedisUserState struct {
	// Categories of the user.
	Categories pulumi.StringArrayInput
	// Channels of the user.
	Channels pulumi.StringArrayInput
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Commands of the user.
	Commands pulumi.StringArrayInput
	// Date of the creation of the user.
	CreatedAt pulumi.StringPtrInput
	// Keys of the user.
	Keys pulumi.StringArrayInput
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user.
	Name pulumi.StringPtrInput
	// (Sensitive) Password of the user.
	Password pulumi.StringPtrInput
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Current status of the user.
	Status pulumi.StringPtrInput
}

func (RedisUserState) ElementType

func (RedisUserState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// Cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Date of the creation of the user.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringOutput `pulumi:"engine"`
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user. The "Grafana" engine only allows the "avnadmin" mapping.
	Name pulumi.StringOutput `pulumi:"name"`
	// (Sensitive) Password of the user.
	Password pulumi.StringOutput `pulumi:"password"`
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"`
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Current status of the user.
	Status pulumi.StringOutput `pulumi:"status"`
}

## Import

OVHcloud Managed database clusters users can be imported using the `service_name`, `engine`, `cluster_id` and `id` of the user, separated by "/" E.g., bash

```sh

$ pulumi import ovh:CloudProjectDatabase/user:User my_user service_name/engine/cluster_id/id

```

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User 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 NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

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

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

type UserArgs struct {
	// Cluster ID.
	ClusterId pulumi.StringInput
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringInput
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user. The "Grafana" engine only allows the "avnadmin" mapping.
	Name pulumi.StringPtrInput
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) ClusterId

func (o UserOutput) ClusterId() pulumi.StringOutput

Cluster ID.

func (UserOutput) CreatedAt

func (o UserOutput) CreatedAt() pulumi.StringOutput

Date of the creation of the user.

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Engine

func (o UserOutput) Engine() pulumi.StringOutput

The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases). Available engines:

func (UserOutput) Name

func (o UserOutput) Name() pulumi.StringOutput

Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user. The "Grafana" engine only allows the "avnadmin" mapping.

func (UserOutput) Password

func (o UserOutput) Password() pulumi.StringOutput

(Sensitive) Password of the user.

func (UserOutput) PasswordReset

func (o UserOutput) PasswordReset() pulumi.StringPtrOutput

Arbitrary string to change to trigger a password update.

func (UserOutput) ServiceName

func (o UserOutput) ServiceName() pulumi.StringOutput

The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.

func (UserOutput) Status

func (o UserOutput) Status() pulumi.StringOutput

Current status of the user.

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserState

type UserState struct {
	// Cluster ID.
	ClusterId pulumi.StringPtrInput
	// Date of the creation of the user.
	CreatedAt pulumi.StringPtrInput
	// The engine of the database cluster you want to add. You can find the complete list of available engine in the [public documentation](https://docs.ovh.com/gb/en/publiccloud/databases).
	// Available engines:
	Engine pulumi.StringPtrInput
	// Name of the user. A user named "avnadmin" is map with already created admin user and reset his password instead of create a new user. The "Grafana" engine only allows the "avnadmin" mapping.
	Name pulumi.StringPtrInput
	// (Sensitive) Password of the user.
	Password pulumi.StringPtrInput
	// Arbitrary string to change to trigger a password update.
	PasswordReset pulumi.StringPtrInput
	// The id of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringPtrInput
	// Current status of the user.
	Status pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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