scaleway.DocumentdbReadReplica
Explore with Pulumi AI
Creates and manages Scaleway DocumentDB Database read replicas.
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const replica = new scaleway.DocumentdbReadReplica("replica", {
directAccess: {},
instanceId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumiverse_scaleway as scaleway
replica = scaleway.DocumentdbReadReplica("replica",
direct_access=scaleway.DocumentdbReadReplicaDirectAccessArgs(),
instance_id="11111111-1111-1111-1111-111111111111")
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.NewDocumentdbReadReplica(ctx, "replica", &scaleway.DocumentdbReadReplicaArgs{
DirectAccess: nil,
InstanceId: pulumi.String("11111111-1111-1111-1111-111111111111"),
})
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 replica = new Scaleway.DocumentdbReadReplica("replica", new()
{
DirectAccess = null,
InstanceId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.DocumentdbReadReplica;
import com.pulumi.scaleway.DocumentdbReadReplicaArgs;
import com.pulumi.scaleway.inputs.DocumentdbReadReplicaDirectAccessArgs;
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 replica = new DocumentdbReadReplica("replica", DocumentdbReadReplicaArgs.builder()
.directAccess()
.instanceId("11111111-1111-1111-1111-111111111111")
.build());
}
}
resources:
replica:
type: scaleway:DocumentdbReadReplica
properties:
directAccess: {}
instanceId: 11111111-1111-1111-1111-111111111111
Private network
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const pn = new scaleway.VpcPrivateNetwork("pn", {});
const replica = new scaleway.DocumentdbReadReplica("replica", {
instanceId: scaleway_rdb_instance.instance.id,
privateNetwork: {
privateNetworkId: pn.id,
serviceIp: "192.168.1.254/24",
},
});
import pulumi
import pulumiverse_scaleway as scaleway
pn = scaleway.VpcPrivateNetwork("pn")
replica = scaleway.DocumentdbReadReplica("replica",
instance_id=scaleway_rdb_instance["instance"]["id"],
private_network=scaleway.DocumentdbReadReplicaPrivateNetworkArgs(
private_network_id=pn.id,
service_ip="192.168.1.254/24",
))
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 {
pn, err := scaleway.NewVpcPrivateNetwork(ctx, "pn", nil)
if err != nil {
return err
}
_, err = scaleway.NewDocumentdbReadReplica(ctx, "replica", &scaleway.DocumentdbReadReplicaArgs{
InstanceId: pulumi.Any(scaleway_rdb_instance.Instance.Id),
PrivateNetwork: &scaleway.DocumentdbReadReplicaPrivateNetworkArgs{
PrivateNetworkId: pn.ID(),
ServiceIp: pulumi.String("192.168.1.254/24"),
},
})
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 pn = new Scaleway.VpcPrivateNetwork("pn");
var replica = new Scaleway.DocumentdbReadReplica("replica", new()
{
InstanceId = scaleway_rdb_instance.Instance.Id,
PrivateNetwork = new Scaleway.Inputs.DocumentdbReadReplicaPrivateNetworkArgs
{
PrivateNetworkId = pn.Id,
ServiceIp = "192.168.1.254/24",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.VpcPrivateNetwork;
import com.pulumi.scaleway.DocumentdbReadReplica;
import com.pulumi.scaleway.DocumentdbReadReplicaArgs;
import com.pulumi.scaleway.inputs.DocumentdbReadReplicaPrivateNetworkArgs;
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 pn = new VpcPrivateNetwork("pn");
var replica = new DocumentdbReadReplica("replica", DocumentdbReadReplicaArgs.builder()
.instanceId(scaleway_rdb_instance.instance().id())
.privateNetwork(DocumentdbReadReplicaPrivateNetworkArgs.builder()
.privateNetworkId(pn.id())
.serviceIp("192.168.1.254/24")
.build())
.build());
}
}
resources:
pn:
type: scaleway:VpcPrivateNetwork
replica:
type: scaleway:DocumentdbReadReplica
properties:
instanceId: ${scaleway_rdb_instance.instance.id}
privateNetwork:
privateNetworkId: ${pn.id}
serviceIp: 192.168.1.254/24
Create DocumentdbReadReplica Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DocumentdbReadReplica(name: string, args: DocumentdbReadReplicaArgs, opts?: CustomResourceOptions);
@overload
def DocumentdbReadReplica(resource_name: str,
args: DocumentdbReadReplicaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DocumentdbReadReplica(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
direct_access: Optional[DocumentdbReadReplicaDirectAccessArgs] = None,
private_network: Optional[DocumentdbReadReplicaPrivateNetworkArgs] = None,
region: Optional[str] = None)
func NewDocumentdbReadReplica(ctx *Context, name string, args DocumentdbReadReplicaArgs, opts ...ResourceOption) (*DocumentdbReadReplica, error)
public DocumentdbReadReplica(string name, DocumentdbReadReplicaArgs args, CustomResourceOptions? opts = null)
public DocumentdbReadReplica(String name, DocumentdbReadReplicaArgs args)
public DocumentdbReadReplica(String name, DocumentdbReadReplicaArgs args, CustomResourceOptions options)
type: scaleway:DocumentdbReadReplica
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 DocumentdbReadReplicaArgs
- 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 DocumentdbReadReplicaArgs
- 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 DocumentdbReadReplicaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DocumentdbReadReplicaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DocumentdbReadReplicaArgs
- 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 documentdbReadReplicaResource = new Scaleway.DocumentdbReadReplica("documentdbReadReplicaResource", new()
{
InstanceId = "string",
DirectAccess = new Scaleway.Inputs.DocumentdbReadReplicaDirectAccessArgs
{
EndpointId = "string",
Hostname = "string",
Ip = "string",
Name = "string",
Port = 0,
},
PrivateNetwork = new Scaleway.Inputs.DocumentdbReadReplicaPrivateNetworkArgs
{
PrivateNetworkId = "string",
EndpointId = "string",
Hostname = "string",
Ip = "string",
Name = "string",
Port = 0,
ServiceIp = "string",
Zone = "string",
},
Region = "string",
});
example, err := scaleway.NewDocumentdbReadReplica(ctx, "documentdbReadReplicaResource", &scaleway.DocumentdbReadReplicaArgs{
InstanceId: pulumi.String("string"),
DirectAccess: &scaleway.DocumentdbReadReplicaDirectAccessArgs{
EndpointId: pulumi.String("string"),
Hostname: pulumi.String("string"),
Ip: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.Int(0),
},
PrivateNetwork: &scaleway.DocumentdbReadReplicaPrivateNetworkArgs{
PrivateNetworkId: pulumi.String("string"),
EndpointId: pulumi.String("string"),
Hostname: pulumi.String("string"),
Ip: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.Int(0),
ServiceIp: pulumi.String("string"),
Zone: pulumi.String("string"),
},
Region: pulumi.String("string"),
})
var documentdbReadReplicaResource = new DocumentdbReadReplica("documentdbReadReplicaResource", DocumentdbReadReplicaArgs.builder()
.instanceId("string")
.directAccess(DocumentdbReadReplicaDirectAccessArgs.builder()
.endpointId("string")
.hostname("string")
.ip("string")
.name("string")
.port(0)
.build())
.privateNetwork(DocumentdbReadReplicaPrivateNetworkArgs.builder()
.privateNetworkId("string")
.endpointId("string")
.hostname("string")
.ip("string")
.name("string")
.port(0)
.serviceIp("string")
.zone("string")
.build())
.region("string")
.build());
documentdb_read_replica_resource = scaleway.DocumentdbReadReplica("documentdbReadReplicaResource",
instance_id="string",
direct_access=scaleway.DocumentdbReadReplicaDirectAccessArgs(
endpoint_id="string",
hostname="string",
ip="string",
name="string",
port=0,
),
private_network=scaleway.DocumentdbReadReplicaPrivateNetworkArgs(
private_network_id="string",
endpoint_id="string",
hostname="string",
ip="string",
name="string",
port=0,
service_ip="string",
zone="string",
),
region="string")
const documentdbReadReplicaResource = new scaleway.DocumentdbReadReplica("documentdbReadReplicaResource", {
instanceId: "string",
directAccess: {
endpointId: "string",
hostname: "string",
ip: "string",
name: "string",
port: 0,
},
privateNetwork: {
privateNetworkId: "string",
endpointId: "string",
hostname: "string",
ip: "string",
name: "string",
port: 0,
serviceIp: "string",
zone: "string",
},
region: "string",
});
type: scaleway:DocumentdbReadReplica
properties:
directAccess:
endpointId: string
hostname: string
ip: string
name: string
port: 0
instanceId: string
privateNetwork:
endpointId: string
hostname: string
ip: string
name: string
port: 0
privateNetworkId: string
serviceIp: string
zone: string
region: string
DocumentdbReadReplica 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 DocumentdbReadReplica resource accepts the following input properties:
- Instance
Id string UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- Direct
Access Pulumiverse.Scaleway. Inputs. Documentdb Read Replica Direct Access - Creates a direct access endpoint to documentdb replica.
- Private
Network Pulumiverse.Scaleway. Inputs. Documentdb Read Replica Private Network - Create an endpoint in a private network.
- Region string
region
) The region in which the Database read replica should be created.
- Instance
Id string UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- Direct
Access DocumentdbRead Replica Direct Access Args - Creates a direct access endpoint to documentdb replica.
- Private
Network DocumentdbRead Replica Private Network Args - Create an endpoint in a private network.
- Region string
region
) The region in which the Database read replica should be created.
- instance
Id String UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- direct
Access DocumentdbRead Replica Direct Access - Creates a direct access endpoint to documentdb replica.
- private
Network DocumentdbRead Replica Private Network - Create an endpoint in a private network.
- region String
region
) The region in which the Database read replica should be created.
- instance
Id string UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- direct
Access DocumentdbRead Replica Direct Access - Creates a direct access endpoint to documentdb replica.
- private
Network DocumentdbRead Replica Private Network - Create an endpoint in a private network.
- region string
region
) The region in which the Database read replica should be created.
- instance_
id str UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- direct_
access DocumentdbRead Replica Direct Access Args - Creates a direct access endpoint to documentdb replica.
- private_
network DocumentdbRead Replica Private Network Args - Create an endpoint in a private network.
- region str
region
) The region in which the Database read replica should be created.
- instance
Id String UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- direct
Access Property Map - Creates a direct access endpoint to documentdb replica.
- private
Network Property Map - Create an endpoint in a private network.
- region String
region
) The region in which the Database read replica should be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the DocumentdbReadReplica resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DocumentdbReadReplica Resource
Get an existing DocumentdbReadReplica 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?: DocumentdbReadReplicaState, opts?: CustomResourceOptions): DocumentdbReadReplica
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
direct_access: Optional[DocumentdbReadReplicaDirectAccessArgs] = None,
instance_id: Optional[str] = None,
private_network: Optional[DocumentdbReadReplicaPrivateNetworkArgs] = None,
region: Optional[str] = None) -> DocumentdbReadReplica
func GetDocumentdbReadReplica(ctx *Context, name string, id IDInput, state *DocumentdbReadReplicaState, opts ...ResourceOption) (*DocumentdbReadReplica, error)
public static DocumentdbReadReplica Get(string name, Input<string> id, DocumentdbReadReplicaState? state, CustomResourceOptions? opts = null)
public static DocumentdbReadReplica get(String name, Output<String> id, DocumentdbReadReplicaState 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.
- Direct
Access Pulumiverse.Scaleway. Inputs. Documentdb Read Replica Direct Access - Creates a direct access endpoint to documentdb replica.
- Instance
Id string UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- Private
Network Pulumiverse.Scaleway. Inputs. Documentdb Read Replica Private Network - Create an endpoint in a private network.
- Region string
region
) The region in which the Database read replica should be created.
- Direct
Access DocumentdbRead Replica Direct Access Args - Creates a direct access endpoint to documentdb replica.
- Instance
Id string UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- Private
Network DocumentdbRead Replica Private Network Args - Create an endpoint in a private network.
- Region string
region
) The region in which the Database read replica should be created.
- direct
Access DocumentdbRead Replica Direct Access - Creates a direct access endpoint to documentdb replica.
- instance
Id String UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- private
Network DocumentdbRead Replica Private Network - Create an endpoint in a private network.
- region String
region
) The region in which the Database read replica should be created.
- direct
Access DocumentdbRead Replica Direct Access - Creates a direct access endpoint to documentdb replica.
- instance
Id string UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- private
Network DocumentdbRead Replica Private Network - Create an endpoint in a private network.
- region string
region
) The region in which the Database read replica should be created.
- direct_
access DocumentdbRead Replica Direct Access Args - Creates a direct access endpoint to documentdb replica.
- instance_
id str UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- private_
network DocumentdbRead Replica Private Network Args - Create an endpoint in a private network.
- region str
region
) The region in which the Database read replica should be created.
- direct
Access Property Map - Creates a direct access endpoint to documentdb replica.
- instance
Id String UUID of the documentdb instance.
Important: The replica musts contains at least one of
direct_access
orprivate_network
. It can contain both.- private
Network Property Map - Create an endpoint in a private network.
- region String
region
) The region in which the Database read replica should be created.
Supporting Types
DocumentdbReadReplicaDirectAccess, DocumentdbReadReplicaDirectAccessArgs
- Endpoint
Id string - The ID of the endpoint of the read replica.
- Hostname string
- Hostname of the endpoint. Only one of ip and hostname may be set.
- Ip string
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- Name string
- Name of the endpoint.
- Port int
- TCP port of the endpoint.
- Endpoint
Id string - The ID of the endpoint of the read replica.
- Hostname string
- Hostname of the endpoint. Only one of ip and hostname may be set.
- Ip string
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- Name string
- Name of the endpoint.
- Port int
- TCP port of the endpoint.
- endpoint
Id String - The ID of the endpoint of the read replica.
- hostname String
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip String
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name String
- Name of the endpoint.
- port Integer
- TCP port of the endpoint.
- endpoint
Id string - The ID of the endpoint of the read replica.
- hostname string
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip string
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name string
- Name of the endpoint.
- port number
- TCP port of the endpoint.
- endpoint_
id str - The ID of the endpoint of the read replica.
- hostname str
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip str
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name str
- Name of the endpoint.
- port int
- TCP port of the endpoint.
- endpoint
Id String - The ID of the endpoint of the read replica.
- hostname String
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip String
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name String
- Name of the endpoint.
- port Number
- TCP port of the endpoint.
DocumentdbReadReplicaPrivateNetwork, DocumentdbReadReplicaPrivateNetworkArgs
- Private
Network stringId - UUID of the private network to be connected to the read replica.
- Endpoint
Id string - The ID of the endpoint of the read replica.
- Hostname string
- Hostname of the endpoint. Only one of ip and hostname may be set.
- Ip string
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- Name string
- Name of the endpoint.
- Port int
- TCP port of the endpoint.
- Service
Ip string - The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set.
- Zone string
- Private network zone
- Private
Network stringId - UUID of the private network to be connected to the read replica.
- Endpoint
Id string - The ID of the endpoint of the read replica.
- Hostname string
- Hostname of the endpoint. Only one of ip and hostname may be set.
- Ip string
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- Name string
- Name of the endpoint.
- Port int
- TCP port of the endpoint.
- Service
Ip string - The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set.
- Zone string
- Private network zone
- private
Network StringId - UUID of the private network to be connected to the read replica.
- endpoint
Id String - The ID of the endpoint of the read replica.
- hostname String
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip String
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name String
- Name of the endpoint.
- port Integer
- TCP port of the endpoint.
- service
Ip String - The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set.
- zone String
- Private network zone
- private
Network stringId - UUID of the private network to be connected to the read replica.
- endpoint
Id string - The ID of the endpoint of the read replica.
- hostname string
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip string
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name string
- Name of the endpoint.
- port number
- TCP port of the endpoint.
- service
Ip string - The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set.
- zone string
- Private network zone
- private_
network_ strid - UUID of the private network to be connected to the read replica.
- endpoint_
id str - The ID of the endpoint of the read replica.
- hostname str
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip str
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name str
- Name of the endpoint.
- port int
- TCP port of the endpoint.
- service_
ip str - The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set.
- zone str
- Private network zone
- private
Network StringId - UUID of the private network to be connected to the read replica.
- endpoint
Id String - The ID of the endpoint of the read replica.
- hostname String
- Hostname of the endpoint. Only one of ip and hostname may be set.
- ip String
- IPv4 address of the endpoint (IP address). Only one of ip and hostname may be set.
- name String
- Name of the endpoint.
- port Number
- TCP port of the endpoint.
- service
Ip String - The IP network address within the private subnet. This must be an IPv4 address with a CIDR notation. The IP network address within the private subnet is determined by the IP Address Management (IPAM) service if not set.
- zone String
- Private network zone
Import
Database Read replica can be imported using the {region}/{id}
, e.g.
bash
$ pulumi import scaleway:index/documentdbReadReplica:DocumentdbReadReplica rr fr-par/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.