yandex.YdbDatabaseDedicated
Explore with Pulumi AI
Yandex Database (dedicated) resource. For more information, see the official documentation.
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
public MyStack()
{
var database1 = new Yandex.YdbDatabaseDedicated("database1", new Yandex.YdbDatabaseDedicatedArgs
{
FolderId = data.Yandex_resourcemanager_folder.Test_folder.Id,
Location = new Yandex.Inputs.YdbDatabaseDedicatedLocationArgs
{
Region = new Yandex.Inputs.YdbDatabaseDedicatedLocationRegionArgs
{
Id = "ru-central1",
},
},
NetworkId = yandex_vpc_network.My_inst_group_network.Id,
ResourcePresetId = "medium",
ScalePolicy = new Yandex.Inputs.YdbDatabaseDedicatedScalePolicyArgs
{
FixedScale = new Yandex.Inputs.YdbDatabaseDedicatedScalePolicyFixedScaleArgs
{
Size = 1,
},
},
StorageConfig = new Yandex.Inputs.YdbDatabaseDedicatedStorageConfigArgs
{
GroupCount = 1,
StorageTypeId = "ssd",
},
SubnetIds =
{
yandex_vpc_subnet.My_inst_group_subnet.Id,
},
});
}
}
package main
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := yandex.NewYdbDatabaseDedicated(ctx, "database1", &yandex.YdbDatabaseDedicatedArgs{
FolderId: pulumi.Any(data.Yandex_resourcemanager_folder.Test_folder.Id),
Location: &YdbDatabaseDedicatedLocationArgs{
Region: &YdbDatabaseDedicatedLocationRegionArgs{
Id: pulumi.String("ru-central1"),
},
},
NetworkId: pulumi.Any(yandex_vpc_network.My - inst - group - network.Id),
ResourcePresetId: pulumi.String("medium"),
ScalePolicy: &YdbDatabaseDedicatedScalePolicyArgs{
FixedScale: &YdbDatabaseDedicatedScalePolicyFixedScaleArgs{
Size: pulumi.Int(1),
},
},
StorageConfig: &YdbDatabaseDedicatedStorageConfigArgs{
GroupCount: pulumi.Int(1),
StorageTypeId: pulumi.String("ssd"),
},
SubnetIds: pulumi.StringArray{
pulumi.Any(yandex_vpc_subnet.My - inst - group - subnet.Id),
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_yandex as yandex
database1 = yandex.YdbDatabaseDedicated("database1",
folder_id=data["yandex_resourcemanager_folder"]["test_folder"]["id"],
location=yandex.YdbDatabaseDedicatedLocationArgs(
region=yandex.YdbDatabaseDedicatedLocationRegionArgs(
id="ru-central1",
),
),
network_id=yandex_vpc_network["my-inst-group-network"]["id"],
resource_preset_id="medium",
scale_policy=yandex.YdbDatabaseDedicatedScalePolicyArgs(
fixed_scale=yandex.YdbDatabaseDedicatedScalePolicyFixedScaleArgs(
size=1,
),
),
storage_config=yandex.YdbDatabaseDedicatedStorageConfigArgs(
group_count=1,
storage_type_id="ssd",
),
subnet_ids=[yandex_vpc_subnet["my-inst-group-subnet"]["id"]])
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const database1 = new yandex.YdbDatabaseDedicated("database1", {
folderId: yandex_resourcemanager_folder_test_folder.id,
location: {
region: {
id: "ru-central1",
},
},
networkId: yandex_vpc_network_my_inst_group_network.id,
resourcePresetId: "medium",
scalePolicy: {
fixedScale: {
size: 1,
},
},
storageConfig: {
groupCount: 1,
storageTypeId: "ssd",
},
subnetIds: [yandex_vpc_subnet_my_inst_group_subnet.id],
});
Coming soon!
Create YdbDatabaseDedicated Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new YdbDatabaseDedicated(name: string, args: YdbDatabaseDedicatedArgs, opts?: CustomResourceOptions);
@overload
def YdbDatabaseDedicated(resource_name: str,
args: YdbDatabaseDedicatedArgs,
opts: Optional[ResourceOptions] = None)
@overload
def YdbDatabaseDedicated(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
resource_preset_id: Optional[str] = None,
scale_policy: Optional[YdbDatabaseDedicatedScalePolicyArgs] = None,
storage_config: Optional[YdbDatabaseDedicatedStorageConfigArgs] = None,
subnet_ids: Optional[Sequence[str]] = None,
assign_public_ips: Optional[bool] = None,
description: Optional[str] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[YdbDatabaseDedicatedLocationArgs] = None,
location_id: Optional[str] = None,
name: Optional[str] = None)
func NewYdbDatabaseDedicated(ctx *Context, name string, args YdbDatabaseDedicatedArgs, opts ...ResourceOption) (*YdbDatabaseDedicated, error)
public YdbDatabaseDedicated(string name, YdbDatabaseDedicatedArgs args, CustomResourceOptions? opts = null)
public YdbDatabaseDedicated(String name, YdbDatabaseDedicatedArgs args)
public YdbDatabaseDedicated(String name, YdbDatabaseDedicatedArgs args, CustomResourceOptions options)
type: yandex:YdbDatabaseDedicated
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 YdbDatabaseDedicatedArgs
- 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 YdbDatabaseDedicatedArgs
- 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 YdbDatabaseDedicatedArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args YdbDatabaseDedicatedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args YdbDatabaseDedicatedArgs
- 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 ydbDatabaseDedicatedResource = new Yandex.YdbDatabaseDedicated("ydbDatabaseDedicatedResource", new()
{
NetworkId = "string",
ResourcePresetId = "string",
ScalePolicy = new Yandex.Inputs.YdbDatabaseDedicatedScalePolicyArgs
{
FixedScale = new Yandex.Inputs.YdbDatabaseDedicatedScalePolicyFixedScaleArgs
{
Size = 0,
},
},
StorageConfig = new Yandex.Inputs.YdbDatabaseDedicatedStorageConfigArgs
{
GroupCount = 0,
StorageTypeId = "string",
},
SubnetIds = new[]
{
"string",
},
AssignPublicIps = false,
Description = "string",
FolderId = "string",
Labels =
{
{ "string", "string" },
},
Location = new Yandex.Inputs.YdbDatabaseDedicatedLocationArgs
{
Region = new Yandex.Inputs.YdbDatabaseDedicatedLocationRegionArgs
{
Id = "string",
},
},
LocationId = "string",
Name = "string",
});
example, err := yandex.NewYdbDatabaseDedicated(ctx, "ydbDatabaseDedicatedResource", &yandex.YdbDatabaseDedicatedArgs{
NetworkId: pulumi.String("string"),
ResourcePresetId: pulumi.String("string"),
ScalePolicy: &yandex.YdbDatabaseDedicatedScalePolicyArgs{
FixedScale: &yandex.YdbDatabaseDedicatedScalePolicyFixedScaleArgs{
Size: pulumi.Int(0),
},
},
StorageConfig: &yandex.YdbDatabaseDedicatedStorageConfigArgs{
GroupCount: pulumi.Int(0),
StorageTypeId: pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
AssignPublicIps: pulumi.Bool(false),
Description: pulumi.String("string"),
FolderId: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: &yandex.YdbDatabaseDedicatedLocationArgs{
Region: &yandex.YdbDatabaseDedicatedLocationRegionArgs{
Id: pulumi.String("string"),
},
},
LocationId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var ydbDatabaseDedicatedResource = new YdbDatabaseDedicated("ydbDatabaseDedicatedResource", YdbDatabaseDedicatedArgs.builder()
.networkId("string")
.resourcePresetId("string")
.scalePolicy(YdbDatabaseDedicatedScalePolicyArgs.builder()
.fixedScale(YdbDatabaseDedicatedScalePolicyFixedScaleArgs.builder()
.size(0)
.build())
.build())
.storageConfig(YdbDatabaseDedicatedStorageConfigArgs.builder()
.groupCount(0)
.storageTypeId("string")
.build())
.subnetIds("string")
.assignPublicIps(false)
.description("string")
.folderId("string")
.labels(Map.of("string", "string"))
.location(YdbDatabaseDedicatedLocationArgs.builder()
.region(YdbDatabaseDedicatedLocationRegionArgs.builder()
.id("string")
.build())
.build())
.locationId("string")
.name("string")
.build());
ydb_database_dedicated_resource = yandex.YdbDatabaseDedicated("ydbDatabaseDedicatedResource",
network_id="string",
resource_preset_id="string",
scale_policy={
"fixed_scale": {
"size": 0,
},
},
storage_config={
"group_count": 0,
"storage_type_id": "string",
},
subnet_ids=["string"],
assign_public_ips=False,
description="string",
folder_id="string",
labels={
"string": "string",
},
location={
"region": {
"id": "string",
},
},
location_id="string",
name="string")
const ydbDatabaseDedicatedResource = new yandex.YdbDatabaseDedicated("ydbDatabaseDedicatedResource", {
networkId: "string",
resourcePresetId: "string",
scalePolicy: {
fixedScale: {
size: 0,
},
},
storageConfig: {
groupCount: 0,
storageTypeId: "string",
},
subnetIds: ["string"],
assignPublicIps: false,
description: "string",
folderId: "string",
labels: {
string: "string",
},
location: {
region: {
id: "string",
},
},
locationId: "string",
name: "string",
});
type: yandex:YdbDatabaseDedicated
properties:
assignPublicIps: false
description: string
folderId: string
labels:
string: string
location:
region:
id: string
locationId: string
name: string
networkId: string
resourcePresetId: string
scalePolicy:
fixedScale:
size: 0
storageConfig:
groupCount: 0
storageTypeId: string
subnetIds:
- string
YdbDatabaseDedicated 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 YdbDatabaseDedicated resource accepts the following input properties:
- Network
Id string - ID of the network to attach the Yandex Database cluster to.
- Resource
Preset stringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - Scale
Policy YdbDatabase Dedicated Scale Policy - Scaling policy for the Yandex Database cluster. The structure is documented below.
- Storage
Config YdbDatabase Dedicated Storage Config - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- Subnet
Ids List<string> - List of subnet IDs to attach the Yandex Database cluster to.
- Assign
Public boolIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- Description string
- A description for the Yandex Database cluster.
- Folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the Yandex Database cluster.
- Location
Ydb
Database Dedicated Location - Location for the Yandex Database cluster. The structure is documented below.
- Location
Id string - Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- Network
Id string - ID of the network to attach the Yandex Database cluster to.
- Resource
Preset stringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - Scale
Policy YdbDatabase Dedicated Scale Policy Args - Scaling policy for the Yandex Database cluster. The structure is documented below.
- Storage
Config YdbDatabase Dedicated Storage Config Args - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- Subnet
Ids []string - List of subnet IDs to attach the Yandex Database cluster to.
- Assign
Public boolIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- Description string
- A description for the Yandex Database cluster.
- Folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- Labels map[string]string
- A set of key/value label pairs to assign to the Yandex Database cluster.
- Location
Ydb
Database Dedicated Location Args - Location for the Yandex Database cluster. The structure is documented below.
- Location
Id string - Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- network
Id String - ID of the network to attach the Yandex Database cluster to.
- resource
Preset StringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale
Policy YdbDatabase Dedicated Scale Policy - Scaling policy for the Yandex Database cluster. The structure is documented below.
- storage
Config YdbDatabase Dedicated Storage Config - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet
Ids List<String> - List of subnet IDs to attach the Yandex Database cluster to.
- assign
Public BooleanIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- description String
- A description for the Yandex Database cluster.
- folder
Id String - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels Map<String,String>
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location
Ydb
Database Dedicated Location - Location for the Yandex Database cluster. The structure is documented below.
- location
Id String - Location ID for the Yandex Database cluster.
- name String
- Name of the Yandex Database cluster.
- network
Id string - ID of the network to attach the Yandex Database cluster to.
- resource
Preset stringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale
Policy YdbDatabase Dedicated Scale Policy - Scaling policy for the Yandex Database cluster. The structure is documented below.
- storage
Config YdbDatabase Dedicated Storage Config - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet
Ids string[] - List of subnet IDs to attach the Yandex Database cluster to.
- assign
Public booleanIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- description string
- A description for the Yandex Database cluster.
- folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location
Ydb
Database Dedicated Location - Location for the Yandex Database cluster. The structure is documented below.
- location
Id string - Location ID for the Yandex Database cluster.
- name string
- Name of the Yandex Database cluster.
- network_
id str - ID of the network to attach the Yandex Database cluster to.
- resource_
preset_ strid - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale_
policy YdbDatabase Dedicated Scale Policy Args - Scaling policy for the Yandex Database cluster. The structure is documented below.
- storage_
config YdbDatabase Dedicated Storage Config Args - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet_
ids Sequence[str] - List of subnet IDs to attach the Yandex Database cluster to.
- assign_
public_ boolips - Whether public IP addresses should be assigned to the Yandex Database cluster.
- description str
- A description for the Yandex Database cluster.
- folder_
id str - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location
Ydb
Database Dedicated Location Args - Location for the Yandex Database cluster. The structure is documented below.
- location_
id str - Location ID for the Yandex Database cluster.
- name str
- Name of the Yandex Database cluster.
- network
Id String - ID of the network to attach the Yandex Database cluster to.
- resource
Preset StringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale
Policy Property Map - Scaling policy for the Yandex Database cluster. The structure is documented below.
- storage
Config Property Map - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet
Ids List<String> - List of subnet IDs to attach the Yandex Database cluster to.
- assign
Public BooleanIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- description String
- A description for the Yandex Database cluster.
- folder
Id String - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels Map<String>
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location Property Map
- Location for the Yandex Database cluster. The structure is documented below.
- location
Id String - Location ID for the Yandex Database cluster.
- name String
- Name of the Yandex Database cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the YdbDatabaseDedicated resource produces the following output properties:
- Created
At string - The Yandex Database cluster creation timestamp.
- Database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the Yandex Database cluster.
- Tls
Enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- Created
At string - The Yandex Database cluster creation timestamp.
- Database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Status of the Yandex Database cluster.
- Tls
Enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- created
At String - The Yandex Database cluster creation timestamp.
- database
Path String - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the Yandex Database cluster.
- tls
Enabled Boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api StringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full StringEndpoint - Full endpoint of the Yandex Database cluster.
- created
At string - The Yandex Database cluster creation timestamp.
- database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Status of the Yandex Database cluster.
- tls
Enabled boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- created_
at str - The Yandex Database cluster creation timestamp.
- database_
path str - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Status of the Yandex Database cluster.
- tls_
enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb_
api_ strendpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb_
full_ strendpoint - Full endpoint of the Yandex Database cluster.
- created
At String - The Yandex Database cluster creation timestamp.
- database
Path String - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Status of the Yandex Database cluster.
- tls
Enabled Boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api StringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full StringEndpoint - Full endpoint of the Yandex Database cluster.
Look up Existing YdbDatabaseDedicated Resource
Get an existing YdbDatabaseDedicated 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?: YdbDatabaseDedicatedState, opts?: CustomResourceOptions): YdbDatabaseDedicated
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
assign_public_ips: Optional[bool] = None,
created_at: Optional[str] = None,
database_path: Optional[str] = None,
description: Optional[str] = None,
folder_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[YdbDatabaseDedicatedLocationArgs] = None,
location_id: Optional[str] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
resource_preset_id: Optional[str] = None,
scale_policy: Optional[YdbDatabaseDedicatedScalePolicyArgs] = None,
status: Optional[str] = None,
storage_config: Optional[YdbDatabaseDedicatedStorageConfigArgs] = None,
subnet_ids: Optional[Sequence[str]] = None,
tls_enabled: Optional[bool] = None,
ydb_api_endpoint: Optional[str] = None,
ydb_full_endpoint: Optional[str] = None) -> YdbDatabaseDedicated
func GetYdbDatabaseDedicated(ctx *Context, name string, id IDInput, state *YdbDatabaseDedicatedState, opts ...ResourceOption) (*YdbDatabaseDedicated, error)
public static YdbDatabaseDedicated Get(string name, Input<string> id, YdbDatabaseDedicatedState? state, CustomResourceOptions? opts = null)
public static YdbDatabaseDedicated get(String name, Output<String> id, YdbDatabaseDedicatedState 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.
- Assign
Public boolIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- Created
At string - The Yandex Database cluster creation timestamp.
- Database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Description string
- A description for the Yandex Database cluster.
- Folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the Yandex Database cluster.
- Location
Ydb
Database Dedicated Location - Location for the Yandex Database cluster. The structure is documented below.
- Location
Id string - Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- Network
Id string - ID of the network to attach the Yandex Database cluster to.
- Resource
Preset stringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - Scale
Policy YdbDatabase Dedicated Scale Policy - Scaling policy for the Yandex Database cluster. The structure is documented below.
- Status string
- Status of the Yandex Database cluster.
- Storage
Config YdbDatabase Dedicated Storage Config - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- Subnet
Ids List<string> - List of subnet IDs to attach the Yandex Database cluster to.
- Tls
Enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- Assign
Public boolIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- Created
At string - The Yandex Database cluster creation timestamp.
- Database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Description string
- A description for the Yandex Database cluster.
- Folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- Labels map[string]string
- A set of key/value label pairs to assign to the Yandex Database cluster.
- Location
Ydb
Database Dedicated Location Args - Location for the Yandex Database cluster. The structure is documented below.
- Location
Id string - Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- Network
Id string - ID of the network to attach the Yandex Database cluster to.
- Resource
Preset stringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - Scale
Policy YdbDatabase Dedicated Scale Policy Args - Scaling policy for the Yandex Database cluster. The structure is documented below.
- Status string
- Status of the Yandex Database cluster.
- Storage
Config YdbDatabase Dedicated Storage Config Args - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- Subnet
Ids []string - List of subnet IDs to attach the Yandex Database cluster to.
- Tls
Enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- assign
Public BooleanIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- created
At String - The Yandex Database cluster creation timestamp.
- database
Path String - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description String
- A description for the Yandex Database cluster.
- folder
Id String - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels Map<String,String>
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location
Ydb
Database Dedicated Location - Location for the Yandex Database cluster. The structure is documented below.
- location
Id String - Location ID for the Yandex Database cluster.
- name String
- Name of the Yandex Database cluster.
- network
Id String - ID of the network to attach the Yandex Database cluster to.
- resource
Preset StringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale
Policy YdbDatabase Dedicated Scale Policy - Scaling policy for the Yandex Database cluster. The structure is documented below.
- status String
- Status of the Yandex Database cluster.
- storage
Config YdbDatabase Dedicated Storage Config - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet
Ids List<String> - List of subnet IDs to attach the Yandex Database cluster to.
- tls
Enabled Boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api StringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full StringEndpoint - Full endpoint of the Yandex Database cluster.
- assign
Public booleanIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- created
At string - The Yandex Database cluster creation timestamp.
- database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description string
- A description for the Yandex Database cluster.
- folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location
Ydb
Database Dedicated Location - Location for the Yandex Database cluster. The structure is documented below.
- location
Id string - Location ID for the Yandex Database cluster.
- name string
- Name of the Yandex Database cluster.
- network
Id string - ID of the network to attach the Yandex Database cluster to.
- resource
Preset stringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale
Policy YdbDatabase Dedicated Scale Policy - Scaling policy for the Yandex Database cluster. The structure is documented below.
- status string
- Status of the Yandex Database cluster.
- storage
Config YdbDatabase Dedicated Storage Config - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet
Ids string[] - List of subnet IDs to attach the Yandex Database cluster to.
- tls
Enabled boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- assign_
public_ boolips - Whether public IP addresses should be assigned to the Yandex Database cluster.
- created_
at str - The Yandex Database cluster creation timestamp.
- database_
path str - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description str
- A description for the Yandex Database cluster.
- folder_
id str - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location
Ydb
Database Dedicated Location Args - Location for the Yandex Database cluster. The structure is documented below.
- location_
id str - Location ID for the Yandex Database cluster.
- name str
- Name of the Yandex Database cluster.
- network_
id str - ID of the network to attach the Yandex Database cluster to.
- resource_
preset_ strid - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale_
policy YdbDatabase Dedicated Scale Policy Args - Scaling policy for the Yandex Database cluster. The structure is documented below.
- status str
- Status of the Yandex Database cluster.
- storage_
config YdbDatabase Dedicated Storage Config Args - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet_
ids Sequence[str] - List of subnet IDs to attach the Yandex Database cluster to.
- tls_
enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb_
api_ strendpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb_
full_ strendpoint - Full endpoint of the Yandex Database cluster.
- assign
Public BooleanIps - Whether public IP addresses should be assigned to the Yandex Database cluster.
- created
At String - The Yandex Database cluster creation timestamp.
- database
Path String - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description String
- A description for the Yandex Database cluster.
- folder
Id String - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- labels Map<String>
- A set of key/value label pairs to assign to the Yandex Database cluster.
- location Property Map
- Location for the Yandex Database cluster. The structure is documented below.
- location
Id String - Location ID for the Yandex Database cluster.
- name String
- Name of the Yandex Database cluster.
- network
Id String - ID of the network to attach the Yandex Database cluster to.
- resource
Preset StringId - The Yandex Database cluster preset.
Available presets can be obtained via
yc ydb resource-preset list
command. - scale
Policy Property Map - Scaling policy for the Yandex Database cluster. The structure is documented below.
- status String
- Status of the Yandex Database cluster.
- storage
Config Property Map - A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnet
Ids List<String> - List of subnet IDs to attach the Yandex Database cluster to.
- tls
Enabled Boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api StringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full StringEndpoint - Full endpoint of the Yandex Database cluster.
Supporting Types
YdbDatabaseDedicatedLocation, YdbDatabaseDedicatedLocationArgs
- Region
Ydb
Database Dedicated Location Region - Region for the Yandex Database cluster. The structure is documented below.
- Region
Ydb
Database Dedicated Location Region - Region for the Yandex Database cluster. The structure is documented below.
- region
Ydb
Database Dedicated Location Region - Region for the Yandex Database cluster. The structure is documented below.
- region
Ydb
Database Dedicated Location Region - Region for the Yandex Database cluster. The structure is documented below.
- region
Ydb
Database Dedicated Location Region - Region for the Yandex Database cluster. The structure is documented below.
- region Property Map
- Region for the Yandex Database cluster. The structure is documented below.
YdbDatabaseDedicatedLocationRegion, YdbDatabaseDedicatedLocationRegionArgs
- Id string
- Region ID for the Yandex Database cluster.
- Id string
- Region ID for the Yandex Database cluster.
- id String
- Region ID for the Yandex Database cluster.
- id string
- Region ID for the Yandex Database cluster.
- id str
- Region ID for the Yandex Database cluster.
- id String
- Region ID for the Yandex Database cluster.
YdbDatabaseDedicatedScalePolicy, YdbDatabaseDedicatedScalePolicyArgs
- Fixed
Scale YdbDatabase Dedicated Scale Policy Fixed Scale - Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- Fixed
Scale YdbDatabase Dedicated Scale Policy Fixed Scale - Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- fixed
Scale YdbDatabase Dedicated Scale Policy Fixed Scale - Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- fixed
Scale YdbDatabase Dedicated Scale Policy Fixed Scale - Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- fixed_
scale YdbDatabase Dedicated Scale Policy Fixed Scale - Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- fixed
Scale Property Map - Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
YdbDatabaseDedicatedScalePolicyFixedScale, YdbDatabaseDedicatedScalePolicyFixedScaleArgs
- Size int
- Number of instances for the Yandex Database cluster.
- Size int
- Number of instances for the Yandex Database cluster.
- size Integer
- Number of instances for the Yandex Database cluster.
- size number
- Number of instances for the Yandex Database cluster.
- size int
- Number of instances for the Yandex Database cluster.
- size Number
- Number of instances for the Yandex Database cluster.
YdbDatabaseDedicatedStorageConfig, YdbDatabaseDedicatedStorageConfigArgs
- Group
Count int - Amount of storage groups of selected type for the Yandex Database cluster.
- Storage
Type stringId - Storage type ID for the Yandex Database cluster.
Available presets can be obtained via
yc ydb storage-type list
command.
- Group
Count int - Amount of storage groups of selected type for the Yandex Database cluster.
- Storage
Type stringId - Storage type ID for the Yandex Database cluster.
Available presets can be obtained via
yc ydb storage-type list
command.
- group
Count Integer - Amount of storage groups of selected type for the Yandex Database cluster.
- storage
Type StringId - Storage type ID for the Yandex Database cluster.
Available presets can be obtained via
yc ydb storage-type list
command.
- group
Count number - Amount of storage groups of selected type for the Yandex Database cluster.
- storage
Type stringId - Storage type ID for the Yandex Database cluster.
Available presets can be obtained via
yc ydb storage-type list
command.
- group_
count int - Amount of storage groups of selected type for the Yandex Database cluster.
- storage_
type_ strid - Storage type ID for the Yandex Database cluster.
Available presets can be obtained via
yc ydb storage-type list
command.
- group
Count Number - Amount of storage groups of selected type for the Yandex Database cluster.
- storage
Type StringId - Storage type ID for the Yandex Database cluster.
Available presets can be obtained via
yc ydb storage-type list
command.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.