1. Packages
  2. OVH
  3. API Docs
  4. CloudProjectDatabase
  5. M3DbNamespace
OVHCloud v0.43.1 published on Tuesday, Apr 23, 2024 by OVHcloud

ovh.CloudProjectDatabase.M3DbNamespace

Explore with Pulumi AI

ovh logo
OVHCloud v0.43.1 published on Tuesday, Apr 23, 2024 by OVHcloud

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    import * as ovh from "@pulumi/ovh";
    
    const m3db = ovh.CloudProjectDatabase.getDatabase({
        serviceName: "XXX",
        engine: "m3db",
        id: "ZZZ",
    });
    const namespace = new ovh.cloudprojectdatabase.M3DbNamespace("namespace", {
        serviceName: m3db.then(m3db => m3db.serviceName),
        clusterId: m3db.then(m3db => m3db.id),
        resolution: "P2D",
        retentionPeriodDuration: "PT48H",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    m3db = ovh.CloudProjectDatabase.get_database(service_name="XXX",
        engine="m3db",
        id="ZZZ")
    namespace = ovh.cloud_project_database.M3DbNamespace("namespace",
        service_name=m3db.service_name,
        cluster_id=m3db.id,
        resolution="P2D",
        retention_period_duration="PT48H")
    
    package main
    
    import (
    	"github.com/ovh/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
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var m3db = Ovh.CloudProjectDatabase.GetDatabase.Invoke(new()
        {
            ServiceName = "XXX",
            Engine = "m3db",
            Id = "ZZZ",
        });
    
        var @namespace = new Ovh.CloudProjectDatabase.M3DbNamespace("namespace", new()
        {
            ServiceName = m3db.Apply(getDatabaseResult => getDatabaseResult.ServiceName),
            ClusterId = m3db.Apply(getDatabaseResult => getDatabaseResult.Id),
            Resolution = "P2D",
            RetentionPeriodDuration = "PT48H",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.CloudProjectDatabase.CloudProjectDatabaseFunctions;
    import com.pulumi.ovh.CloudProjectDatabase.inputs.GetDatabaseArgs;
    import com.pulumi.ovh.CloudProjectDatabase.M3DbNamespace;
    import com.pulumi.ovh.CloudProjectDatabase.M3DbNamespaceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var m3db = CloudProjectDatabaseFunctions.getDatabase(GetDatabaseArgs.builder()
                .serviceName("XXX")
                .engine("m3db")
                .id("ZZZ")
                .build());
    
            var namespace = new M3DbNamespace("namespace", M3DbNamespaceArgs.builder()        
                .serviceName(m3db.applyValue(getDatabaseResult -> getDatabaseResult.serviceName()))
                .clusterId(m3db.applyValue(getDatabaseResult -> getDatabaseResult.id()))
                .resolution("P2D")
                .retentionPeriodDuration("PT48H")
                .build());
    
        }
    }
    
    resources:
      namespace:
        type: ovh:CloudProjectDatabase:M3DbNamespace
        properties:
          serviceName: ${m3db.serviceName}
          clusterId: ${m3db.id}
          resolution: P2D
          retentionPeriodDuration: PT48H
    variables:
      m3db:
        fn::invoke:
          Function: ovh:CloudProjectDatabase:getDatabase
          Arguments:
            serviceName: XXX
            engine: m3db
            id: ZZZ
    

    Create M3DbNamespace Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new M3DbNamespace(name: string, args: M3DbNamespaceArgs, opts?: CustomResourceOptions);
    @overload
    def M3DbNamespace(resource_name: str,
                      args: M3DbNamespaceArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def M3DbNamespace(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cluster_id: Optional[str] = None,
                      resolution: Optional[str] = None,
                      retention_period_duration: Optional[str] = None,
                      service_name: Optional[str] = None,
                      name: Optional[str] = None,
                      retention_block_data_expiration_duration: Optional[str] = None,
                      retention_block_size_duration: Optional[str] = None,
                      retention_buffer_future_duration: Optional[str] = None,
                      retention_buffer_past_duration: Optional[str] = None,
                      snapshot_enabled: Optional[bool] = None,
                      writes_to_commit_log_enabled: Optional[bool] = None)
    func NewM3DbNamespace(ctx *Context, name string, args M3DbNamespaceArgs, opts ...ResourceOption) (*M3DbNamespace, error)
    public M3DbNamespace(string name, M3DbNamespaceArgs args, CustomResourceOptions? opts = null)
    public M3DbNamespace(String name, M3DbNamespaceArgs args)
    public M3DbNamespace(String name, M3DbNamespaceArgs args, CustomResourceOptions options)
    
    type: ovh:CloudProjectDatabase:M3DbNamespace
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args M3DbNamespaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args M3DbNamespaceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args M3DbNamespaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args M3DbNamespaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args M3DbNamespaceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var m3dbNamespaceResource = new Ovh.CloudProjectDatabase.M3DbNamespace("m3dbNamespaceResource", new()
    {
        ClusterId = "string",
        Resolution = "string",
        RetentionPeriodDuration = "string",
        ServiceName = "string",
        Name = "string",
        RetentionBlockDataExpirationDuration = "string",
        RetentionBlockSizeDuration = "string",
        RetentionBufferFutureDuration = "string",
        RetentionBufferPastDuration = "string",
        SnapshotEnabled = false,
        WritesToCommitLogEnabled = false,
    });
    
    example, err := CloudProjectDatabase.NewM3DbNamespace(ctx, "m3dbNamespaceResource", &CloudProjectDatabase.M3DbNamespaceArgs{
    	ClusterId:                            pulumi.String("string"),
    	Resolution:                           pulumi.String("string"),
    	RetentionPeriodDuration:              pulumi.String("string"),
    	ServiceName:                          pulumi.String("string"),
    	Name:                                 pulumi.String("string"),
    	RetentionBlockDataExpirationDuration: pulumi.String("string"),
    	RetentionBlockSizeDuration:           pulumi.String("string"),
    	RetentionBufferFutureDuration:        pulumi.String("string"),
    	RetentionBufferPastDuration:          pulumi.String("string"),
    	SnapshotEnabled:                      pulumi.Bool(false),
    	WritesToCommitLogEnabled:             pulumi.Bool(false),
    })
    
    var m3dbNamespaceResource = new M3DbNamespace("m3dbNamespaceResource", M3DbNamespaceArgs.builder()        
        .clusterId("string")
        .resolution("string")
        .retentionPeriodDuration("string")
        .serviceName("string")
        .name("string")
        .retentionBlockDataExpirationDuration("string")
        .retentionBlockSizeDuration("string")
        .retentionBufferFutureDuration("string")
        .retentionBufferPastDuration("string")
        .snapshotEnabled(false)
        .writesToCommitLogEnabled(false)
        .build());
    
    m3db_namespace_resource = ovh.cloud_project_database.M3DbNamespace("m3dbNamespaceResource",
        cluster_id="string",
        resolution="string",
        retention_period_duration="string",
        service_name="string",
        name="string",
        retention_block_data_expiration_duration="string",
        retention_block_size_duration="string",
        retention_buffer_future_duration="string",
        retention_buffer_past_duration="string",
        snapshot_enabled=False,
        writes_to_commit_log_enabled=False)
    
    const m3dbNamespaceResource = new ovh.cloudprojectdatabase.M3DbNamespace("m3dbNamespaceResource", {
        clusterId: "string",
        resolution: "string",
        retentionPeriodDuration: "string",
        serviceName: "string",
        name: "string",
        retentionBlockDataExpirationDuration: "string",
        retentionBlockSizeDuration: "string",
        retentionBufferFutureDuration: "string",
        retentionBufferPastDuration: "string",
        snapshotEnabled: false,
        writesToCommitLogEnabled: false,
    });
    
    type: ovh:CloudProjectDatabase:M3DbNamespace
    properties:
        clusterId: string
        name: string
        resolution: string
        retentionBlockDataExpirationDuration: string
        retentionBlockSizeDuration: string
        retentionBufferFutureDuration: string
        retentionBufferPastDuration: string
        retentionPeriodDuration: string
        serviceName: string
        snapshotEnabled: false
        writesToCommitLogEnabled: false
    

    M3DbNamespace Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The M3DbNamespace resource accepts the following input properties:

    ClusterId string
    Cluster ID.
    Resolution string
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionPeriodDuration string
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    ServiceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    Name string
    Name of the namespace.
    RetentionBlockDataExpirationDuration string
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBlockSizeDuration string
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferFutureDuration string
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferPastDuration string
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    SnapshotEnabled bool
    Defines whether M3DB will create snapshot files for this namespace.
    WritesToCommitLogEnabled bool
    Defines whether M3DB will include writes to this namespace in the commit log.
    ClusterId string
    Cluster ID.
    Resolution string
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionPeriodDuration string
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    ServiceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    Name string
    Name of the namespace.
    RetentionBlockDataExpirationDuration string
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBlockSizeDuration string
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferFutureDuration string
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferPastDuration string
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    SnapshotEnabled bool
    Defines whether M3DB will create snapshot files for this namespace.
    WritesToCommitLogEnabled bool
    Defines whether M3DB will include writes to this namespace in the commit log.
    clusterId String
    Cluster ID.
    resolution String
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retentionPeriodDuration String
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    serviceName String
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    name String
    Name of the namespace.
    retentionBlockDataExpirationDuration String
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockSizeDuration String
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferFutureDuration String
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferPastDuration String
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    snapshotEnabled Boolean
    Defines whether M3DB will create snapshot files for this namespace.
    writesToCommitLogEnabled Boolean
    Defines whether M3DB will include writes to this namespace in the commit log.
    clusterId string
    Cluster ID.
    resolution string
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retentionPeriodDuration string
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    serviceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    name string
    Name of the namespace.
    retentionBlockDataExpirationDuration string
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockSizeDuration string
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferFutureDuration string
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferPastDuration string
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    snapshotEnabled boolean
    Defines whether M3DB will create snapshot files for this namespace.
    writesToCommitLogEnabled boolean
    Defines whether M3DB will include writes to this namespace in the commit log.
    cluster_id str
    Cluster ID.
    resolution str
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retention_period_duration str
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    service_name str
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    name str
    Name of the namespace.
    retention_block_data_expiration_duration str
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retention_block_size_duration str
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retention_buffer_future_duration str
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retention_buffer_past_duration str
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    snapshot_enabled bool
    Defines whether M3DB will create snapshot files for this namespace.
    writes_to_commit_log_enabled bool
    Defines whether M3DB will include writes to this namespace in the commit log.
    clusterId String
    Cluster ID.
    resolution String
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retentionPeriodDuration String
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    serviceName String
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    name String
    Name of the namespace.
    retentionBlockDataExpirationDuration String
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockSizeDuration String
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferFutureDuration String
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferPastDuration String
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    snapshotEnabled Boolean
    Defines whether M3DB will create snapshot files for this namespace.
    writesToCommitLogEnabled Boolean
    Defines whether M3DB will include writes to this namespace in the commit log.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the M3DbNamespace resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type of namespace.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type of namespace.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type of namespace.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Type of namespace.
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Type of namespace.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type of namespace.

    Look up Existing M3DbNamespace Resource

    Get an existing M3DbNamespace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: M3DbNamespaceState, opts?: CustomResourceOptions): M3DbNamespace
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            name: Optional[str] = None,
            resolution: Optional[str] = None,
            retention_block_data_expiration_duration: Optional[str] = None,
            retention_block_size_duration: Optional[str] = None,
            retention_buffer_future_duration: Optional[str] = None,
            retention_buffer_past_duration: Optional[str] = None,
            retention_period_duration: Optional[str] = None,
            service_name: Optional[str] = None,
            snapshot_enabled: Optional[bool] = None,
            type: Optional[str] = None,
            writes_to_commit_log_enabled: Optional[bool] = None) -> M3DbNamespace
    func GetM3DbNamespace(ctx *Context, name string, id IDInput, state *M3DbNamespaceState, opts ...ResourceOption) (*M3DbNamespace, error)
    public static M3DbNamespace Get(string name, Input<string> id, M3DbNamespaceState? state, CustomResourceOptions? opts = null)
    public static M3DbNamespace get(String name, Output<String> id, M3DbNamespaceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClusterId string
    Cluster ID.
    Name string
    Name of the namespace.
    Resolution string
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBlockDataExpirationDuration string
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBlockSizeDuration string
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferFutureDuration string
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferPastDuration string
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionPeriodDuration string
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    ServiceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    SnapshotEnabled bool
    Defines whether M3DB will create snapshot files for this namespace.
    Type string
    Type of namespace.
    WritesToCommitLogEnabled bool
    Defines whether M3DB will include writes to this namespace in the commit log.
    ClusterId string
    Cluster ID.
    Name string
    Name of the namespace.
    Resolution string
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBlockDataExpirationDuration string
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBlockSizeDuration string
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferFutureDuration string
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionBufferPastDuration string
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    RetentionPeriodDuration string
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    ServiceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    SnapshotEnabled bool
    Defines whether M3DB will create snapshot files for this namespace.
    Type string
    Type of namespace.
    WritesToCommitLogEnabled bool
    Defines whether M3DB will include writes to this namespace in the commit log.
    clusterId String
    Cluster ID.
    name String
    Name of the namespace.
    resolution String
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockDataExpirationDuration String
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockSizeDuration String
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferFutureDuration String
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferPastDuration String
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionPeriodDuration String
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    serviceName String
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    snapshotEnabled Boolean
    Defines whether M3DB will create snapshot files for this namespace.
    type String
    Type of namespace.
    writesToCommitLogEnabled Boolean
    Defines whether M3DB will include writes to this namespace in the commit log.
    clusterId string
    Cluster ID.
    name string
    Name of the namespace.
    resolution string
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockDataExpirationDuration string
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockSizeDuration string
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferFutureDuration string
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferPastDuration string
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionPeriodDuration string
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    serviceName string
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    snapshotEnabled boolean
    Defines whether M3DB will create snapshot files for this namespace.
    type string
    Type of namespace.
    writesToCommitLogEnabled boolean
    Defines whether M3DB will include writes to this namespace in the commit log.
    cluster_id str
    Cluster ID.
    name str
    Name of the namespace.
    resolution str
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retention_block_data_expiration_duration str
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retention_block_size_duration str
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retention_buffer_future_duration str
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retention_buffer_past_duration str
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retention_period_duration str
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    service_name str
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    snapshot_enabled bool
    Defines whether M3DB will create snapshot files for this namespace.
    type str
    Type of namespace.
    writes_to_commit_log_enabled bool
    Defines whether M3DB will include writes to this namespace in the commit log.
    clusterId String
    Cluster ID.
    name String
    Name of the namespace.
    resolution String
    Resolution for an aggregated namespace. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockDataExpirationDuration String
    Controls how long we wait before expiring stale data. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBlockSizeDuration String
    Controls how long to keep a block in memory before flushing to a fileset on disk. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferFutureDuration String
    Controls how far into the future writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionBufferPastDuration String
    Controls how far into the past writes to the namespace will be accepted. Should follow Rfc3339 e.g P2D, PT48H.
    retentionPeriodDuration String
    Controls the duration of time that M3DB will retain data for the namespace. Should follow Rfc3339 e.g P2D, PT48H.
    serviceName String
    The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.
    snapshotEnabled Boolean
    Defines whether M3DB will create snapshot files for this namespace.
    type String
    Type of namespace.
    writesToCommitLogEnabled Boolean
    Defines whether M3DB will include writes to this namespace in the commit log.

    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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v0.43.1 published on Tuesday, Apr 23, 2024 by OVHcloud