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 * 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],
});
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"]])
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:
- NetworkId string
- ID of the network to attach the Yandex Database cluster to.
- ResourcePreset stringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- ScalePolicy YdbDatabase Dedicated Scale Policy 
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- StorageConfig YdbDatabase Dedicated Storage Config 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- SubnetIds List<string>
- List of subnet IDs to attach the Yandex Database cluster to.
- AssignPublic boolIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- Description string
- A description for the Yandex Database cluster.
- FolderId 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
YdbDatabase Dedicated Location 
- Location for the Yandex Database cluster. The structure is documented below.
- LocationId string
- Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- NetworkId string
- ID of the network to attach the Yandex Database cluster to.
- ResourcePreset stringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- ScalePolicy YdbDatabase Dedicated Scale Policy Args 
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- StorageConfig YdbDatabase Dedicated Storage Config Args 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- SubnetIds []string
- List of subnet IDs to attach the Yandex Database cluster to.
- AssignPublic boolIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- Description string
- A description for the Yandex Database cluster.
- FolderId 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
YdbDatabase Dedicated Location Args 
- Location for the Yandex Database cluster. The structure is documented below.
- LocationId string
- Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- networkId String
- ID of the network to attach the Yandex Database cluster to.
- resourcePreset StringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- scalePolicy YdbDatabase Dedicated Scale Policy 
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- storageConfig YdbDatabase Dedicated Storage Config 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnetIds List<String>
- List of subnet IDs to attach the Yandex Database cluster to.
- assignPublic BooleanIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- description String
- A description for the Yandex Database cluster.
- folderId 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
YdbDatabase Dedicated Location 
- Location for the Yandex Database cluster. The structure is documented below.
- locationId String
- Location ID for the Yandex Database cluster.
- name String
- Name of the Yandex Database cluster.
- networkId string
- ID of the network to attach the Yandex Database cluster to.
- resourcePreset stringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- scalePolicy YdbDatabase Dedicated Scale Policy 
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- storageConfig YdbDatabase Dedicated Storage Config 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnetIds string[]
- List of subnet IDs to attach the Yandex Database cluster to.
- assignPublic booleanIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- description string
- A description for the Yandex Database cluster.
- folderId 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
YdbDatabase Dedicated Location 
- Location for the Yandex Database cluster. The structure is documented below.
- locationId 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 listcommand.
- 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
YdbDatabase 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.
- networkId String
- ID of the network to attach the Yandex Database cluster to.
- resourcePreset StringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- scalePolicy Property Map
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- storageConfig Property Map
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnetIds List<String>
- List of subnet IDs to attach the Yandex Database cluster to.
- assignPublic BooleanIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- description String
- A description for the Yandex Database cluster.
- folderId 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.
- locationId 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:
- CreatedAt string
- The Yandex Database cluster creation timestamp.
- DatabasePath 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.
- TlsEnabled bool
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- YdbApi stringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- YdbFull stringEndpoint 
- Full endpoint of the Yandex Database cluster.
- CreatedAt string
- The Yandex Database cluster creation timestamp.
- DatabasePath 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.
- TlsEnabled bool
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- YdbApi stringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- YdbFull stringEndpoint 
- Full endpoint of the Yandex Database cluster.
- createdAt String
- The Yandex Database cluster creation timestamp.
- databasePath 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.
- tlsEnabled Boolean
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydbApi StringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydbFull StringEndpoint 
- Full endpoint of the Yandex Database cluster.
- createdAt string
- The Yandex Database cluster creation timestamp.
- databasePath 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.
- tlsEnabled boolean
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydbApi stringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydbFull 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.
- createdAt String
- The Yandex Database cluster creation timestamp.
- databasePath 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.
- tlsEnabled Boolean
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydbApi StringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydbFull 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) -> YdbDatabaseDedicatedfunc 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)resources:  _:    type: yandex:YdbDatabaseDedicated    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.
- AssignPublic boolIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- CreatedAt string
- The Yandex Database cluster creation timestamp.
- DatabasePath string
- Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Description string
- A description for the Yandex Database cluster.
- FolderId 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
YdbDatabase Dedicated Location 
- Location for the Yandex Database cluster. The structure is documented below.
- LocationId string
- Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- NetworkId string
- ID of the network to attach the Yandex Database cluster to.
- ResourcePreset stringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- ScalePolicy YdbDatabase Dedicated Scale Policy 
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- Status string
- Status of the Yandex Database cluster.
- StorageConfig YdbDatabase Dedicated Storage Config 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- SubnetIds List<string>
- List of subnet IDs to attach the Yandex Database cluster to.
- TlsEnabled bool
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- YdbApi stringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- YdbFull stringEndpoint 
- Full endpoint of the Yandex Database cluster.
- AssignPublic boolIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- CreatedAt string
- The Yandex Database cluster creation timestamp.
- DatabasePath string
- Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Description string
- A description for the Yandex Database cluster.
- FolderId 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
YdbDatabase Dedicated Location Args 
- Location for the Yandex Database cluster. The structure is documented below.
- LocationId string
- Location ID for the Yandex Database cluster.
- Name string
- Name of the Yandex Database cluster.
- NetworkId string
- ID of the network to attach the Yandex Database cluster to.
- ResourcePreset stringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- ScalePolicy 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.
- StorageConfig YdbDatabase Dedicated Storage Config Args 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- SubnetIds []string
- List of subnet IDs to attach the Yandex Database cluster to.
- TlsEnabled bool
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- YdbApi stringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- YdbFull stringEndpoint 
- Full endpoint of the Yandex Database cluster.
- assignPublic BooleanIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- createdAt String
- The Yandex Database cluster creation timestamp.
- databasePath String
- Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description String
- A description for the Yandex Database cluster.
- folderId 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
YdbDatabase Dedicated Location 
- Location for the Yandex Database cluster. The structure is documented below.
- locationId String
- Location ID for the Yandex Database cluster.
- name String
- Name of the Yandex Database cluster.
- networkId String
- ID of the network to attach the Yandex Database cluster to.
- resourcePreset StringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- scalePolicy YdbDatabase Dedicated Scale Policy 
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- status String
- Status of the Yandex Database cluster.
- storageConfig YdbDatabase Dedicated Storage Config 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnetIds List<String>
- List of subnet IDs to attach the Yandex Database cluster to.
- tlsEnabled Boolean
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydbApi StringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydbFull StringEndpoint 
- Full endpoint of the Yandex Database cluster.
- assignPublic booleanIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- createdAt string
- The Yandex Database cluster creation timestamp.
- databasePath string
- Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description string
- A description for the Yandex Database cluster.
- folderId 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
YdbDatabase Dedicated Location 
- Location for the Yandex Database cluster. The structure is documented below.
- locationId string
- Location ID for the Yandex Database cluster.
- name string
- Name of the Yandex Database cluster.
- networkId string
- ID of the network to attach the Yandex Database cluster to.
- resourcePreset stringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- scalePolicy YdbDatabase Dedicated Scale Policy 
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- status string
- Status of the Yandex Database cluster.
- storageConfig YdbDatabase Dedicated Storage Config 
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnetIds string[]
- List of subnet IDs to attach the Yandex Database cluster to.
- tlsEnabled boolean
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydbApi stringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydbFull 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
YdbDatabase 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 listcommand.
- 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.
- assignPublic BooleanIps 
- Whether public IP addresses should be assigned to the Yandex Database cluster.
- createdAt String
- The Yandex Database cluster creation timestamp.
- databasePath String
- Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description String
- A description for the Yandex Database cluster.
- folderId 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.
- locationId String
- Location ID for the Yandex Database cluster.
- name String
- Name of the Yandex Database cluster.
- networkId String
- ID of the network to attach the Yandex Database cluster to.
- resourcePreset StringId 
- The Yandex Database cluster preset.
Available presets can be obtained via yc ydb resource-preset listcommand.
- scalePolicy Property Map
- Scaling policy for the Yandex Database cluster. The structure is documented below.
- status String
- Status of the Yandex Database cluster.
- storageConfig Property Map
- A list of storage configuration options for the Yandex Database cluster. The structure is documented below.
- subnetIds List<String>
- List of subnet IDs to attach the Yandex Database cluster to.
- tlsEnabled Boolean
- Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydbApi StringEndpoint 
- API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydbFull StringEndpoint 
- Full endpoint of the Yandex Database cluster.
Supporting Types
YdbDatabaseDedicatedLocation, YdbDatabaseDedicatedLocationArgs        
- Region
YdbDatabase Dedicated Location Region 
- Region for the Yandex Database cluster. The structure is documented below.
- Region
YdbDatabase Dedicated Location Region 
- Region for the Yandex Database cluster. The structure is documented below.
- region
YdbDatabase Dedicated Location Region 
- Region for the Yandex Database cluster. The structure is documented below.
- region
YdbDatabase Dedicated Location Region 
- Region for the Yandex Database cluster. The structure is documented below.
- region
YdbDatabase 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          
- FixedScale YdbDatabase Dedicated Scale Policy Fixed Scale 
- Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- FixedScale YdbDatabase Dedicated Scale Policy Fixed Scale 
- Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- fixedScale YdbDatabase Dedicated Scale Policy Fixed Scale 
- Fixed scaling policy for the Yandex Database cluster. The structure is documented below.
- fixedScale 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.
- fixedScale 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          
- GroupCount int
- Amount of storage groups of selected type for the Yandex Database cluster.
- StorageType stringId 
- Storage type ID for the Yandex Database cluster.
Available presets can be obtained via yc ydb storage-type listcommand.
- GroupCount int
- Amount of storage groups of selected type for the Yandex Database cluster.
- StorageType stringId 
- Storage type ID for the Yandex Database cluster.
Available presets can be obtained via yc ydb storage-type listcommand.
- groupCount Integer
- Amount of storage groups of selected type for the Yandex Database cluster.
- storageType StringId 
- Storage type ID for the Yandex Database cluster.
Available presets can be obtained via yc ydb storage-type listcommand.
- groupCount number
- Amount of storage groups of selected type for the Yandex Database cluster.
- storageType stringId 
- Storage type ID for the Yandex Database cluster.
Available presets can be obtained via yc ydb storage-type listcommand.
- 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 listcommand.
- groupCount Number
- Amount of storage groups of selected type for the Yandex Database cluster.
- storageType StringId 
- Storage type ID for the Yandex Database cluster.
Available presets can be obtained via yc ydb storage-type listcommand.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the yandexTerraform Provider.