scaleway.MongoDbInstance
Explore with Pulumi AI
Creates and manages Scaleway MongoDB® instance. For more information refer to the API documentation.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const main = new scaleway.MongoDbInstance("main", {
name: "test-mongodb-basic1",
version: "7.0.12",
nodeType: "MGDB-PLAY2-NANO",
nodeNumber: 1,
userName: "my_initial_user",
password: "thiZ_is_v&ry_s3cret",
volumeSizeInGb: 5,
});
import pulumi
import pulumiverse_scaleway as scaleway
main = scaleway.MongoDbInstance("main",
name="test-mongodb-basic1",
version="7.0.12",
node_type="MGDB-PLAY2-NANO",
node_number=1,
user_name="my_initial_user",
password="thiZ_is_v&ry_s3cret",
volume_size_in_gb=5)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scaleway.NewMongoDbInstance(ctx, "main", &scaleway.MongoDbInstanceArgs{
Name: pulumi.String("test-mongodb-basic1"),
Version: pulumi.String("7.0.12"),
NodeType: pulumi.String("MGDB-PLAY2-NANO"),
NodeNumber: pulumi.Int(1),
UserName: pulumi.String("my_initial_user"),
Password: pulumi.String("thiZ_is_v&ry_s3cret"),
VolumeSizeInGb: pulumi.Int(5),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var main = new Scaleway.MongoDbInstance("main", new()
{
Name = "test-mongodb-basic1",
Version = "7.0.12",
NodeType = "MGDB-PLAY2-NANO",
NodeNumber = 1,
UserName = "my_initial_user",
Password = "thiZ_is_v&ry_s3cret",
VolumeSizeInGb = 5,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.MongoDbInstance;
import com.pulumi.scaleway.MongoDbInstanceArgs;
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) {
var main = new MongoDbInstance("main", MongoDbInstanceArgs.builder()
.name("test-mongodb-basic1")
.version("7.0.12")
.nodeType("MGDB-PLAY2-NANO")
.nodeNumber(1)
.userName("my_initial_user")
.password("thiZ_is_v&ry_s3cret")
.volumeSizeInGb(5)
.build());
}
}
resources:
main:
type: scaleway:MongoDbInstance
properties:
name: test-mongodb-basic1
version: 7.0.12
nodeType: MGDB-PLAY2-NANO
nodeNumber: 1
userName: my_initial_user
password: thiZ_is_v&ry_s3cret
volumeSizeInGb: 5
Restore From Snapshot
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const restoredInstance = new scaleway.MongoDbInstance("restored_instance", {
snapshotId: pn.idscalewayMongodbSnapshot.mainSnapshot.id,
name: "restored-mongodb-from-snapshot",
nodeType: "MGDB-PLAY2-NANO",
nodeNumber: 1,
});
import pulumi
import pulumiverse_scaleway as scaleway
restored_instance = scaleway.MongoDbInstance("restored_instance",
snapshot_id=pn["idscalewayMongodbSnapshot"]["mainSnapshot"]["id"],
name="restored-mongodb-from-snapshot",
node_type="MGDB-PLAY2-NANO",
node_number=1)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scaleway.NewMongoDbInstance(ctx, "restored_instance", &scaleway.MongoDbInstanceArgs{
SnapshotId: pulumi.Any(pn.IdscalewayMongodbSnapshot.MainSnapshot.Id),
Name: pulumi.String("restored-mongodb-from-snapshot"),
NodeType: pulumi.String("MGDB-PLAY2-NANO"),
NodeNumber: pulumi.Int(1),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var restoredInstance = new Scaleway.MongoDbInstance("restored_instance", new()
{
SnapshotId = pn.IdscalewayMongodbSnapshot.MainSnapshot.Id,
Name = "restored-mongodb-from-snapshot",
NodeType = "MGDB-PLAY2-NANO",
NodeNumber = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.MongoDbInstance;
import com.pulumi.scaleway.MongoDbInstanceArgs;
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) {
var restoredInstance = new MongoDbInstance("restoredInstance", MongoDbInstanceArgs.builder()
.snapshotId(pn.idscalewayMongodbSnapshot().mainSnapshot().id())
.name("restored-mongodb-from-snapshot")
.nodeType("MGDB-PLAY2-NANO")
.nodeNumber(1)
.build());
}
}
resources:
restoredInstance:
type: scaleway:MongoDbInstance
name: restored_instance
properties:
snapshotId: ${pn.idscalewayMongodbSnapshot.mainSnapshot.id}
name: restored-mongodb-from-snapshot
nodeType: MGDB-PLAY2-NANO
nodeNumber: 1
Create MongoDbInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MongoDbInstance(name: string, args: MongoDbInstanceArgs, opts?: CustomResourceOptions);
@overload
def MongoDbInstance(resource_name: str,
args: MongoDbInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MongoDbInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_type: Optional[str] = None,
node_number: Optional[int] = None,
region: Optional[str] = None,
password: Optional[str] = None,
project_id: Optional[str] = None,
public_network: Optional[MongoDbInstancePublicNetworkArgs] = None,
name: Optional[str] = None,
settings: Optional[Mapping[str, str]] = None,
snapshot_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
user_name: Optional[str] = None,
version: Optional[str] = None,
volume_size_in_gb: Optional[int] = None,
volume_type: Optional[str] = None)
func NewMongoDbInstance(ctx *Context, name string, args MongoDbInstanceArgs, opts ...ResourceOption) (*MongoDbInstance, error)
public MongoDbInstance(string name, MongoDbInstanceArgs args, CustomResourceOptions? opts = null)
public MongoDbInstance(String name, MongoDbInstanceArgs args)
public MongoDbInstance(String name, MongoDbInstanceArgs args, CustomResourceOptions options)
type: scaleway:MongoDbInstance
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 MongoDbInstanceArgs
- 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 MongoDbInstanceArgs
- 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 MongoDbInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MongoDbInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MongoDbInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mongoDbInstanceResource = new Scaleway.MongoDbInstance("mongoDbInstanceResource", new()
{
NodeType = "string",
NodeNumber = 0,
Region = "string",
Password = "string",
ProjectId = "string",
PublicNetwork = new Scaleway.Inputs.MongoDbInstancePublicNetworkArgs
{
DnsRecord = "string",
Id = "string",
Port = 0,
},
Name = "string",
Settings =
{
{ "string", "string" },
},
SnapshotId = "string",
Tags = new[]
{
"string",
},
UserName = "string",
Version = "string",
VolumeSizeInGb = 0,
VolumeType = "string",
});
example, err := scaleway.NewMongoDbInstance(ctx, "mongoDbInstanceResource", &scaleway.MongoDbInstanceArgs{
NodeType: pulumi.String("string"),
NodeNumber: pulumi.Int(0),
Region: pulumi.String("string"),
Password: pulumi.String("string"),
ProjectId: pulumi.String("string"),
PublicNetwork: &scaleway.MongoDbInstancePublicNetworkArgs{
DnsRecord: pulumi.String("string"),
Id: pulumi.String("string"),
Port: pulumi.Int(0),
},
Name: pulumi.String("string"),
Settings: pulumi.StringMap{
"string": pulumi.String("string"),
},
SnapshotId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
UserName: pulumi.String("string"),
Version: pulumi.String("string"),
VolumeSizeInGb: pulumi.Int(0),
VolumeType: pulumi.String("string"),
})
var mongoDbInstanceResource = new MongoDbInstance("mongoDbInstanceResource", MongoDbInstanceArgs.builder()
.nodeType("string")
.nodeNumber(0)
.region("string")
.password("string")
.projectId("string")
.publicNetwork(MongoDbInstancePublicNetworkArgs.builder()
.dnsRecord("string")
.id("string")
.port(0)
.build())
.name("string")
.settings(Map.of("string", "string"))
.snapshotId("string")
.tags("string")
.userName("string")
.version("string")
.volumeSizeInGb(0)
.volumeType("string")
.build());
mongo_db_instance_resource = scaleway.MongoDbInstance("mongoDbInstanceResource",
node_type="string",
node_number=0,
region="string",
password="string",
project_id="string",
public_network={
"dns_record": "string",
"id": "string",
"port": 0,
},
name="string",
settings={
"string": "string",
},
snapshot_id="string",
tags=["string"],
user_name="string",
version="string",
volume_size_in_gb=0,
volume_type="string")
const mongoDbInstanceResource = new scaleway.MongoDbInstance("mongoDbInstanceResource", {
nodeType: "string",
nodeNumber: 0,
region: "string",
password: "string",
projectId: "string",
publicNetwork: {
dnsRecord: "string",
id: "string",
port: 0,
},
name: "string",
settings: {
string: "string",
},
snapshotId: "string",
tags: ["string"],
userName: "string",
version: "string",
volumeSizeInGb: 0,
volumeType: "string",
});
type: scaleway:MongoDbInstance
properties:
name: string
nodeNumber: 0
nodeType: string
password: string
projectId: string
publicNetwork:
dnsRecord: string
id: string
port: 0
region: string
settings:
string: string
snapshotId: string
tags:
- string
userName: string
version: string
volumeSizeInGb: 0
volumeType: string
MongoDbInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MongoDbInstance resource accepts the following input properties:
- Node
Number int - Number of nodes in the instance
- Node
Type string - The type of MongoDB® intance to create.
- Name string
- Name of the MongoDB® instance.
- Password string
- Password of the user.
- Project
Id string - The project_id you want to attach the resource to
- Public
Network Pulumiverse.Scaleway. Inputs. Mongo Db Instance Public Network - Public network specs details.
- Region string
- The region you want to attach the resource to
- Settings Dictionary<string, string>
- Map of settings to define for the instance.
- Snapshot
Id string - Snapshot ID to restore the MongoDB® instance from.
- List<string>
- List of tags attached to the MongoDB® instance.
- User
Name string - Name of the user created when the intance is created.
- Version string
- MongoDB® version of the instance.
- Volume
Size intIn Gb - Volume size in GB.
- Volume
Type string - Volume type of the instance.
- Node
Number int - Number of nodes in the instance
- Node
Type string - The type of MongoDB® intance to create.
- Name string
- Name of the MongoDB® instance.
- Password string
- Password of the user.
- Project
Id string - The project_id you want to attach the resource to
- Public
Network MongoDb Instance Public Network Args - Public network specs details.
- Region string
- The region you want to attach the resource to
- Settings map[string]string
- Map of settings to define for the instance.
- Snapshot
Id string - Snapshot ID to restore the MongoDB® instance from.
- []string
- List of tags attached to the MongoDB® instance.
- User
Name string - Name of the user created when the intance is created.
- Version string
- MongoDB® version of the instance.
- Volume
Size intIn Gb - Volume size in GB.
- Volume
Type string - Volume type of the instance.
- node
Number Integer - Number of nodes in the instance
- node
Type String - The type of MongoDB® intance to create.
- name String
- Name of the MongoDB® instance.
- password String
- Password of the user.
- project
Id String - The project_id you want to attach the resource to
- public
Network MongoDb Instance Public Network - Public network specs details.
- region String
- The region you want to attach the resource to
- settings Map<String,String>
- Map of settings to define for the instance.
- snapshot
Id String - Snapshot ID to restore the MongoDB® instance from.
- List<String>
- List of tags attached to the MongoDB® instance.
- user
Name String - Name of the user created when the intance is created.
- version String
- MongoDB® version of the instance.
- volume
Size IntegerIn Gb - Volume size in GB.
- volume
Type String - Volume type of the instance.
- node
Number number - Number of nodes in the instance
- node
Type string - The type of MongoDB® intance to create.
- name string
- Name of the MongoDB® instance.
- password string
- Password of the user.
- project
Id string - The project_id you want to attach the resource to
- public
Network MongoDb Instance Public Network - Public network specs details.
- region string
- The region you want to attach the resource to
- settings {[key: string]: string}
- Map of settings to define for the instance.
- snapshot
Id string - Snapshot ID to restore the MongoDB® instance from.
- string[]
- List of tags attached to the MongoDB® instance.
- user
Name string - Name of the user created when the intance is created.
- version string
- MongoDB® version of the instance.
- volume
Size numberIn Gb - Volume size in GB.
- volume
Type string - Volume type of the instance.
- node_
number int - Number of nodes in the instance
- node_
type str - The type of MongoDB® intance to create.
- name str
- Name of the MongoDB® instance.
- password str
- Password of the user.
- project_
id str - The project_id you want to attach the resource to
- public_
network MongoDb Instance Public Network Args - Public network specs details.
- region str
- The region you want to attach the resource to
- settings Mapping[str, str]
- Map of settings to define for the instance.
- snapshot_
id str - Snapshot ID to restore the MongoDB® instance from.
- Sequence[str]
- List of tags attached to the MongoDB® instance.
- user_
name str - Name of the user created when the intance is created.
- version str
- MongoDB® version of the instance.
- volume_
size_ intin_ gb - Volume size in GB.
- volume_
type str - Volume type of the instance.
- node
Number Number - Number of nodes in the instance
- node
Type String - The type of MongoDB® intance to create.
- name String
- Name of the MongoDB® instance.
- password String
- Password of the user.
- project
Id String - The project_id you want to attach the resource to
- public
Network Property Map - Public network specs details.
- region String
- The region you want to attach the resource to
- settings Map<String>
- Map of settings to define for the instance.
- snapshot
Id String - Snapshot ID to restore the MongoDB® instance from.
- List<String>
- List of tags attached to the MongoDB® instance.
- user
Name String - Name of the user created when the intance is created.
- version String
- MongoDB® version of the instance.
- volume
Size NumberIn Gb - Volume size in GB.
- volume
Type String - Volume type of the instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the MongoDbInstance resource produces the following output properties:
- created_
at str - The date and time of the creation of the MongoDB® instance.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - The date and time of the last update of the MongoDB® instance.
Look up Existing MongoDbInstance Resource
Get an existing MongoDbInstance 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?: MongoDbInstanceState, opts?: CustomResourceOptions): MongoDbInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
name: Optional[str] = None,
node_number: Optional[int] = None,
node_type: Optional[str] = None,
password: Optional[str] = None,
project_id: Optional[str] = None,
public_network: Optional[MongoDbInstancePublicNetworkArgs] = None,
region: Optional[str] = None,
settings: Optional[Mapping[str, str]] = None,
snapshot_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None,
user_name: Optional[str] = None,
version: Optional[str] = None,
volume_size_in_gb: Optional[int] = None,
volume_type: Optional[str] = None) -> MongoDbInstance
func GetMongoDbInstance(ctx *Context, name string, id IDInput, state *MongoDbInstanceState, opts ...ResourceOption) (*MongoDbInstance, error)
public static MongoDbInstance Get(string name, Input<string> id, MongoDbInstanceState? state, CustomResourceOptions? opts = null)
public static MongoDbInstance get(String name, Output<String> id, MongoDbInstanceState 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.
- Created
At string - The date and time of the creation of the MongoDB® instance.
- Name string
- Name of the MongoDB® instance.
- Node
Number int - Number of nodes in the instance
- Node
Type string - The type of MongoDB® intance to create.
- Password string
- Password of the user.
- Project
Id string - The project_id you want to attach the resource to
- Public
Network Pulumiverse.Scaleway. Inputs. Mongo Db Instance Public Network - Public network specs details.
- Region string
- The region you want to attach the resource to
- Settings Dictionary<string, string>
- Map of settings to define for the instance.
- Snapshot
Id string - Snapshot ID to restore the MongoDB® instance from.
- List<string>
- List of tags attached to the MongoDB® instance.
- Updated
At string - The date and time of the last update of the MongoDB® instance.
- User
Name string - Name of the user created when the intance is created.
- Version string
- MongoDB® version of the instance.
- Volume
Size intIn Gb - Volume size in GB.
- Volume
Type string - Volume type of the instance.
- Created
At string - The date and time of the creation of the MongoDB® instance.
- Name string
- Name of the MongoDB® instance.
- Node
Number int - Number of nodes in the instance
- Node
Type string - The type of MongoDB® intance to create.
- Password string
- Password of the user.
- Project
Id string - The project_id you want to attach the resource to
- Public
Network MongoDb Instance Public Network Args - Public network specs details.
- Region string
- The region you want to attach the resource to
- Settings map[string]string
- Map of settings to define for the instance.
- Snapshot
Id string - Snapshot ID to restore the MongoDB® instance from.
- []string
- List of tags attached to the MongoDB® instance.
- Updated
At string - The date and time of the last update of the MongoDB® instance.
- User
Name string - Name of the user created when the intance is created.
- Version string
- MongoDB® version of the instance.
- Volume
Size intIn Gb - Volume size in GB.
- Volume
Type string - Volume type of the instance.
- created
At String - The date and time of the creation of the MongoDB® instance.
- name String
- Name of the MongoDB® instance.
- node
Number Integer - Number of nodes in the instance
- node
Type String - The type of MongoDB® intance to create.
- password String
- Password of the user.
- project
Id String - The project_id you want to attach the resource to
- public
Network MongoDb Instance Public Network - Public network specs details.
- region String
- The region you want to attach the resource to
- settings Map<String,String>
- Map of settings to define for the instance.
- snapshot
Id String - Snapshot ID to restore the MongoDB® instance from.
- List<String>
- List of tags attached to the MongoDB® instance.
- updated
At String - The date and time of the last update of the MongoDB® instance.
- user
Name String - Name of the user created when the intance is created.
- version String
- MongoDB® version of the instance.
- volume
Size IntegerIn Gb - Volume size in GB.
- volume
Type String - Volume type of the instance.
- created
At string - The date and time of the creation of the MongoDB® instance.
- name string
- Name of the MongoDB® instance.
- node
Number number - Number of nodes in the instance
- node
Type string - The type of MongoDB® intance to create.
- password string
- Password of the user.
- project
Id string - The project_id you want to attach the resource to
- public
Network MongoDb Instance Public Network - Public network specs details.
- region string
- The region you want to attach the resource to
- settings {[key: string]: string}
- Map of settings to define for the instance.
- snapshot
Id string - Snapshot ID to restore the MongoDB® instance from.
- string[]
- List of tags attached to the MongoDB® instance.
- updated
At string - The date and time of the last update of the MongoDB® instance.
- user
Name string - Name of the user created when the intance is created.
- version string
- MongoDB® version of the instance.
- volume
Size numberIn Gb - Volume size in GB.
- volume
Type string - Volume type of the instance.
- created_
at str - The date and time of the creation of the MongoDB® instance.
- name str
- Name of the MongoDB® instance.
- node_
number int - Number of nodes in the instance
- node_
type str - The type of MongoDB® intance to create.
- password str
- Password of the user.
- project_
id str - The project_id you want to attach the resource to
- public_
network MongoDb Instance Public Network Args - Public network specs details.
- region str
- The region you want to attach the resource to
- settings Mapping[str, str]
- Map of settings to define for the instance.
- snapshot_
id str - Snapshot ID to restore the MongoDB® instance from.
- Sequence[str]
- List of tags attached to the MongoDB® instance.
- updated_
at str - The date and time of the last update of the MongoDB® instance.
- user_
name str - Name of the user created when the intance is created.
- version str
- MongoDB® version of the instance.
- volume_
size_ intin_ gb - Volume size in GB.
- volume_
type str - Volume type of the instance.
- created
At String - The date and time of the creation of the MongoDB® instance.
- name String
- Name of the MongoDB® instance.
- node
Number Number - Number of nodes in the instance
- node
Type String - The type of MongoDB® intance to create.
- password String
- Password of the user.
- project
Id String - The project_id you want to attach the resource to
- public
Network Property Map - Public network specs details.
- region String
- The region you want to attach the resource to
- settings Map<String>
- Map of settings to define for the instance.
- snapshot
Id String - Snapshot ID to restore the MongoDB® instance from.
- List<String>
- List of tags attached to the MongoDB® instance.
- updated
At String - The date and time of the last update of the MongoDB® instance.
- user
Name String - Name of the user created when the intance is created.
- version String
- MongoDB® version of the instance.
- volume
Size NumberIn Gb - Volume size in GB.
- volume
Type String - Volume type of the instance.
Supporting Types
MongoDbInstancePublicNetwork, MongoDbInstancePublicNetworkArgs
- dns_
record str - The DNS record of your endpoint
- id str
- The ID of the MongoDB® instance.
- port int
- TCP port of the endpoint
Import
MongoDB® instance can be imported using the id
, e.g.
bash
$ pulumi import scaleway:index/mongoDbInstance:MongoDbInstance main fr-par-1/11111111-1111-1111-1111-111111111111
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.