selectel.DbaasFirewallV1
Explore with Pulumi AI
Creates and manages a list of IP-addresses with access to a datastore in Managed Databases using public API v1. For more information about a firewall, see the official Selectel documentation for PostgreSQL, PostgreSQL for 1C, PostgreSQL TimescaleDB, MySQL sync, MySQL semi-sync, Kafka, and Redis.
Example Usage
PostgreSQL, PostgreSQL TimescaleDB, PostgreSQL For 1C
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const firewall1 = new selectel.DbaasFirewallV1("firewall1", {
projectId: selectel_vpc_project_v2.project_1.id,
region: "ru-3",
datastoreId: selectel_dbaas_postgresql_datastore_v1.datastore_1.id,
ips: ["127.0.0.1"],
});
import pulumi
import pulumi_selectel as selectel
firewall1 = selectel.DbaasFirewallV1("firewall1",
project_id=selectel_vpc_project_v2["project_1"]["id"],
region="ru-3",
datastore_id=selectel_dbaas_postgresql_datastore_v1["datastore_1"]["id"],
ips=["127.0.0.1"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.NewDbaasFirewallV1(ctx, "firewall1", &selectel.DbaasFirewallV1Args{
ProjectId: pulumi.Any(selectel_vpc_project_v2.Project_1.Id),
Region: pulumi.String("ru-3"),
DatastoreId: pulumi.Any(selectel_dbaas_postgresql_datastore_v1.Datastore_1.Id),
Ips: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var firewall1 = new Selectel.DbaasFirewallV1("firewall1", new()
{
ProjectId = selectel_vpc_project_v2.Project_1.Id,
Region = "ru-3",
DatastoreId = selectel_dbaas_postgresql_datastore_v1.Datastore_1.Id,
Ips = new[]
{
"127.0.0.1",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.DbaasFirewallV1;
import com.pulumi.selectel.DbaasFirewallV1Args;
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 firewall1 = new DbaasFirewallV1("firewall1", DbaasFirewallV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.region("ru-3")
.datastoreId(selectel_dbaas_postgresql_datastore_v1.datastore_1().id())
.ips("127.0.0.1")
.build());
}
}
resources:
firewall1:
type: selectel:DbaasFirewallV1
properties:
projectId: ${selectel_vpc_project_v2.project_1.id}
region: ru-3
datastoreId: ${selectel_dbaas_postgresql_datastore_v1.datastore_1.id}
ips:
- 127.0.0.1
MySQL Semi-Sync And MySQL Sync
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const firewall1 = new selectel.DbaasFirewallV1("firewall1", {
projectId: selectel_vpc_project_v2.project_1.id,
region: "ru-3",
datastoreId: selectel_dbaas_mysql_datastore_v1.datastore_1.id,
ips: ["127.0.0.1"],
});
import pulumi
import pulumi_selectel as selectel
firewall1 = selectel.DbaasFirewallV1("firewall1",
project_id=selectel_vpc_project_v2["project_1"]["id"],
region="ru-3",
datastore_id=selectel_dbaas_mysql_datastore_v1["datastore_1"]["id"],
ips=["127.0.0.1"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.NewDbaasFirewallV1(ctx, "firewall1", &selectel.DbaasFirewallV1Args{
ProjectId: pulumi.Any(selectel_vpc_project_v2.Project_1.Id),
Region: pulumi.String("ru-3"),
DatastoreId: pulumi.Any(selectel_dbaas_mysql_datastore_v1.Datastore_1.Id),
Ips: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var firewall1 = new Selectel.DbaasFirewallV1("firewall1", new()
{
ProjectId = selectel_vpc_project_v2.Project_1.Id,
Region = "ru-3",
DatastoreId = selectel_dbaas_mysql_datastore_v1.Datastore_1.Id,
Ips = new[]
{
"127.0.0.1",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.DbaasFirewallV1;
import com.pulumi.selectel.DbaasFirewallV1Args;
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 firewall1 = new DbaasFirewallV1("firewall1", DbaasFirewallV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.region("ru-3")
.datastoreId(selectel_dbaas_mysql_datastore_v1.datastore_1().id())
.ips("127.0.0.1")
.build());
}
}
resources:
firewall1:
type: selectel:DbaasFirewallV1
properties:
projectId: ${selectel_vpc_project_v2.project_1.id}
region: ru-3
datastoreId: ${selectel_dbaas_mysql_datastore_v1.datastore_1.id}
ips:
- 127.0.0.1
Redis
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const firewall1 = new selectel.DbaasFirewallV1("firewall1", {
projectId: selectel_vpc_project_v2.project_1.id,
region: "ru-3",
datastoreId: selectel_dbaas_redis_datastore_v1.datastore_1.id,
ips: ["127.0.0.1"],
});
import pulumi
import pulumi_selectel as selectel
firewall1 = selectel.DbaasFirewallV1("firewall1",
project_id=selectel_vpc_project_v2["project_1"]["id"],
region="ru-3",
datastore_id=selectel_dbaas_redis_datastore_v1["datastore_1"]["id"],
ips=["127.0.0.1"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.NewDbaasFirewallV1(ctx, "firewall1", &selectel.DbaasFirewallV1Args{
ProjectId: pulumi.Any(selectel_vpc_project_v2.Project_1.Id),
Region: pulumi.String("ru-3"),
DatastoreId: pulumi.Any(selectel_dbaas_redis_datastore_v1.Datastore_1.Id),
Ips: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var firewall1 = new Selectel.DbaasFirewallV1("firewall1", new()
{
ProjectId = selectel_vpc_project_v2.Project_1.Id,
Region = "ru-3",
DatastoreId = selectel_dbaas_redis_datastore_v1.Datastore_1.Id,
Ips = new[]
{
"127.0.0.1",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.DbaasFirewallV1;
import com.pulumi.selectel.DbaasFirewallV1Args;
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 firewall1 = new DbaasFirewallV1("firewall1", DbaasFirewallV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.region("ru-3")
.datastoreId(selectel_dbaas_redis_datastore_v1.datastore_1().id())
.ips("127.0.0.1")
.build());
}
}
resources:
firewall1:
type: selectel:DbaasFirewallV1
properties:
projectId: ${selectel_vpc_project_v2.project_1.id}
region: ru-3
datastoreId: ${selectel_dbaas_redis_datastore_v1.datastore_1.id}
ips:
- 127.0.0.1
Kafka
import * as pulumi from "@pulumi/pulumi";
import * as selectel from "@pulumi/selectel";
const firewall1 = new selectel.DbaasFirewallV1("firewall1", {
projectId: selectel_vpc_project_v2.project_1.id,
region: "ru-3",
datastoreId: selectel_dbaas_redis_datastore_v1.datastore_1.id,
ips: ["127.0.0.1"],
});
import pulumi
import pulumi_selectel as selectel
firewall1 = selectel.DbaasFirewallV1("firewall1",
project_id=selectel_vpc_project_v2["project_1"]["id"],
region="ru-3",
datastore_id=selectel_dbaas_redis_datastore_v1["datastore_1"]["id"],
ips=["127.0.0.1"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v6/selectel"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := selectel.NewDbaasFirewallV1(ctx, "firewall1", &selectel.DbaasFirewallV1Args{
ProjectId: pulumi.Any(selectel_vpc_project_v2.Project_1.Id),
Region: pulumi.String("ru-3"),
DatastoreId: pulumi.Any(selectel_dbaas_redis_datastore_v1.Datastore_1.Id),
Ips: pulumi.StringArray{
pulumi.String("127.0.0.1"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Selectel = Pulumi.Selectel;
return await Deployment.RunAsync(() =>
{
var firewall1 = new Selectel.DbaasFirewallV1("firewall1", new()
{
ProjectId = selectel_vpc_project_v2.Project_1.Id,
Region = "ru-3",
DatastoreId = selectel_dbaas_redis_datastore_v1.Datastore_1.Id,
Ips = new[]
{
"127.0.0.1",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.selectel.DbaasFirewallV1;
import com.pulumi.selectel.DbaasFirewallV1Args;
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 firewall1 = new DbaasFirewallV1("firewall1", DbaasFirewallV1Args.builder()
.projectId(selectel_vpc_project_v2.project_1().id())
.region("ru-3")
.datastoreId(selectel_dbaas_redis_datastore_v1.datastore_1().id())
.ips("127.0.0.1")
.build());
}
}
resources:
firewall1:
type: selectel:DbaasFirewallV1
properties:
projectId: ${selectel_vpc_project_v2.project_1.id}
region: ru-3
datastoreId: ${selectel_dbaas_redis_datastore_v1.datastore_1.id}
ips:
- 127.0.0.1
Create DbaasFirewallV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbaasFirewallV1(name: string, args: DbaasFirewallV1Args, opts?: CustomResourceOptions);
@overload
def DbaasFirewallV1(resource_name: str,
args: DbaasFirewallV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def DbaasFirewallV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
datastore_id: Optional[str] = None,
ips: Optional[Sequence[str]] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
dbaas_firewall_v1_id: Optional[str] = None,
timeouts: Optional[DbaasFirewallV1TimeoutsArgs] = None)
func NewDbaasFirewallV1(ctx *Context, name string, args DbaasFirewallV1Args, opts ...ResourceOption) (*DbaasFirewallV1, error)
public DbaasFirewallV1(string name, DbaasFirewallV1Args args, CustomResourceOptions? opts = null)
public DbaasFirewallV1(String name, DbaasFirewallV1Args args)
public DbaasFirewallV1(String name, DbaasFirewallV1Args args, CustomResourceOptions options)
type: selectel:DbaasFirewallV1
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 DbaasFirewallV1Args
- 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 DbaasFirewallV1Args
- 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 DbaasFirewallV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbaasFirewallV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbaasFirewallV1Args
- 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 dbaasFirewallV1Resource = new Selectel.DbaasFirewallV1("dbaasFirewallV1Resource", new()
{
DatastoreId = "string",
Ips = new[]
{
"string",
},
ProjectId = "string",
Region = "string",
DbaasFirewallV1Id = "string",
Timeouts = new Selectel.Inputs.DbaasFirewallV1TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := selectel.NewDbaasFirewallV1(ctx, "dbaasFirewallV1Resource", &selectel.DbaasFirewallV1Args{
DatastoreId: pulumi.String("string"),
Ips: pulumi.StringArray{
pulumi.String("string"),
},
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
DbaasFirewallV1Id: pulumi.String("string"),
Timeouts: &selectel.DbaasFirewallV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var dbaasFirewallV1Resource = new DbaasFirewallV1("dbaasFirewallV1Resource", DbaasFirewallV1Args.builder()
.datastoreId("string")
.ips("string")
.projectId("string")
.region("string")
.dbaasFirewallV1Id("string")
.timeouts(DbaasFirewallV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
dbaas_firewall_v1_resource = selectel.DbaasFirewallV1("dbaasFirewallV1Resource",
datastore_id="string",
ips=["string"],
project_id="string",
region="string",
dbaas_firewall_v1_id="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const dbaasFirewallV1Resource = new selectel.DbaasFirewallV1("dbaasFirewallV1Resource", {
datastoreId: "string",
ips: ["string"],
projectId: "string",
region: "string",
dbaasFirewallV1Id: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: selectel:DbaasFirewallV1
properties:
datastoreId: string
dbaasFirewallV1Id: string
ips:
- string
projectId: string
region: string
timeouts:
create: string
delete: string
update: string
DbaasFirewallV1 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 DbaasFirewallV1 resource accepts the following input properties:
- Datastore
Id string - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- Ips List<string>
- List of IP-addresses with access to the datastore.
- Project
Id string - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - Dbaas
Firewall stringV1Id - Timeouts
Dbaas
Firewall V1Timeouts
- Datastore
Id string - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- Ips []string
- List of IP-addresses with access to the datastore.
- Project
Id string - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - Dbaas
Firewall stringV1Id - Timeouts
Dbaas
Firewall V1Timeouts Args
- datastore
Id String - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- ips List<String>
- List of IP-addresses with access to the datastore.
- project
Id String - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - dbaas
Firewall StringV1Id - timeouts
Dbaas
Firewall V1Timeouts
- datastore
Id string - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- ips string[]
- List of IP-addresses with access to the datastore.
- project
Id string - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region string
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - dbaas
Firewall stringV1Id - timeouts
Dbaas
Firewall V1Timeouts
- datastore_
id str - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- ips Sequence[str]
- List of IP-addresses with access to the datastore.
- project_
id str - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region str
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - dbaas_
firewall_ strv1_ id - timeouts
Dbaas
Firewall V1Timeouts Args
- datastore
Id String - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- ips List<String>
- List of IP-addresses with access to the datastore.
- project
Id String - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - dbaas
Firewall StringV1Id - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DbaasFirewallV1 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 DbaasFirewallV1 Resource
Get an existing DbaasFirewallV1 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?: DbaasFirewallV1State, opts?: CustomResourceOptions): DbaasFirewallV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
datastore_id: Optional[str] = None,
dbaas_firewall_v1_id: Optional[str] = None,
ips: Optional[Sequence[str]] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[DbaasFirewallV1TimeoutsArgs] = None) -> DbaasFirewallV1
func GetDbaasFirewallV1(ctx *Context, name string, id IDInput, state *DbaasFirewallV1State, opts ...ResourceOption) (*DbaasFirewallV1, error)
public static DbaasFirewallV1 Get(string name, Input<string> id, DbaasFirewallV1State? state, CustomResourceOptions? opts = null)
public static DbaasFirewallV1 get(String name, Output<String> id, DbaasFirewallV1State state, CustomResourceOptions options)
resources: _: type: selectel:DbaasFirewallV1 get: id: ${id}
- 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.
- Datastore
Id string - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- Dbaas
Firewall stringV1Id - Ips List<string>
- List of IP-addresses with access to the datastore.
- Project
Id string - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - Timeouts
Dbaas
Firewall V1Timeouts
- Datastore
Id string - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- Dbaas
Firewall stringV1Id - Ips []string
- List of IP-addresses with access to the datastore.
- Project
Id string - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- Region string
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - Timeouts
Dbaas
Firewall V1Timeouts Args
- datastore
Id String - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- dbaas
Firewall StringV1Id - ips List<String>
- List of IP-addresses with access to the datastore.
- project
Id String - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - timeouts
Dbaas
Firewall V1Timeouts
- datastore
Id string - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- dbaas
Firewall stringV1Id - ips string[]
- List of IP-addresses with access to the datastore.
- project
Id string - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region string
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - timeouts
Dbaas
Firewall V1Timeouts
- datastore_
id str - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- dbaas_
firewall_ strv1_ id - ips Sequence[str]
- List of IP-addresses with access to the datastore.
- project_
id str - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region str
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - timeouts
Dbaas
Firewall V1Timeouts Args
- datastore
Id String - Unique identifier of the associated datastore. Changing this updates the list of IP-addresses with access to the datastore. Retrieved from the selectel_dbaas_postgresql_datastore_v1, selectel_dbaas_mysql_datastore_v1, selectel.DbaasRedisDatastoreV1 or selectel.DbaasKafkaDatastoreV1 resource depending on the datastore type you use.
- dbaas
Firewall StringV1Id - ips List<String>
- List of IP-addresses with access to the datastore.
- project
Id String - Unique identifier of the associated project. Changing this creates a new datastore. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
- region String
- Pool where the database is located, for example,
ru-3
. Changing this creates a new datastore. Learn more about available pools in the Availability matrix. - timeouts Property Map
Supporting Types
DbaasFirewallV1Timeouts, DbaasFirewallV1TimeoutsArgs
Package Details
- Repository
- selectel selectel/terraform-provider-selectel
- License
- Notes
- This Pulumi package is based on the
selectel
Terraform Provider.