1. Packages
  2. Yandex
  3. API Docs
  4. MdbElasticSearchCluster
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.MdbElasticSearchCluster

Explore with Pulumi AI

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

    Manages a Elasticsearch cluster within the Yandex.Cloud. For more information, see the official documentation.

    Create MdbElasticSearchCluster Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MdbElasticSearchCluster(name: string, args: MdbElasticSearchClusterArgs, opts?: CustomResourceOptions);
    @overload
    def MdbElasticSearchCluster(resource_name: str,
                                args: MdbElasticSearchClusterArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def MdbElasticSearchCluster(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                config: Optional[MdbElasticSearchClusterConfigArgs] = None,
                                environment: Optional[str] = None,
                                network_id: Optional[str] = None,
                                deletion_protection: Optional[bool] = None,
                                description: Optional[str] = None,
                                folder_id: Optional[str] = None,
                                hosts: Optional[Sequence[MdbElasticSearchClusterHostArgs]] = None,
                                labels: Optional[Mapping[str, str]] = None,
                                maintenance_window: Optional[MdbElasticSearchClusterMaintenanceWindowArgs] = None,
                                name: Optional[str] = None,
                                security_group_ids: Optional[Sequence[str]] = None,
                                service_account_id: Optional[str] = None)
    func NewMdbElasticSearchCluster(ctx *Context, name string, args MdbElasticSearchClusterArgs, opts ...ResourceOption) (*MdbElasticSearchCluster, error)
    public MdbElasticSearchCluster(string name, MdbElasticSearchClusterArgs args, CustomResourceOptions? opts = null)
    public MdbElasticSearchCluster(String name, MdbElasticSearchClusterArgs args)
    public MdbElasticSearchCluster(String name, MdbElasticSearchClusterArgs args, CustomResourceOptions options)
    
    type: yandex:MdbElasticSearchCluster
    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 MdbElasticSearchClusterArgs
    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 MdbElasticSearchClusterArgs
    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 MdbElasticSearchClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MdbElasticSearchClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MdbElasticSearchClusterArgs
    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 mdbElasticSearchClusterResource = new Yandex.MdbElasticSearchCluster("mdbElasticSearchClusterResource", new()
    {
        Config = new Yandex.Inputs.MdbElasticSearchClusterConfigArgs
        {
            AdminPassword = "string",
            DataNode = new Yandex.Inputs.MdbElasticSearchClusterConfigDataNodeArgs
            {
                Resources = new Yandex.Inputs.MdbElasticSearchClusterConfigDataNodeResourcesArgs
                {
                    DiskSize = 0,
                    DiskTypeId = "string",
                    ResourcePresetId = "string",
                },
            },
            Edition = "string",
            MasterNode = new Yandex.Inputs.MdbElasticSearchClusterConfigMasterNodeArgs
            {
                Resources = new Yandex.Inputs.MdbElasticSearchClusterConfigMasterNodeResourcesArgs
                {
                    DiskSize = 0,
                    DiskTypeId = "string",
                    ResourcePresetId = "string",
                },
            },
            Plugins = new[]
            {
                "string",
            },
            Version = "string",
        },
        Environment = "string",
        NetworkId = "string",
        DeletionProtection = false,
        Description = "string",
        FolderId = "string",
        Hosts = new[]
        {
            new Yandex.Inputs.MdbElasticSearchClusterHostArgs
            {
                Name = "string",
                Type = "string",
                Zone = "string",
                AssignPublicIp = false,
                Fqdn = "string",
                SubnetId = "string",
            },
        },
        Labels = 
        {
            { "string", "string" },
        },
        MaintenanceWindow = new Yandex.Inputs.MdbElasticSearchClusterMaintenanceWindowArgs
        {
            Type = "string",
            Day = "string",
            Hour = 0,
        },
        Name = "string",
        SecurityGroupIds = new[]
        {
            "string",
        },
        ServiceAccountId = "string",
    });
    
    example, err := yandex.NewMdbElasticSearchCluster(ctx, "mdbElasticSearchClusterResource", &yandex.MdbElasticSearchClusterArgs{
    	Config: &yandex.MdbElasticSearchClusterConfigArgs{
    		AdminPassword: pulumi.String("string"),
    		DataNode: &yandex.MdbElasticSearchClusterConfigDataNodeArgs{
    			Resources: &yandex.MdbElasticSearchClusterConfigDataNodeResourcesArgs{
    				DiskSize:         pulumi.Int(0),
    				DiskTypeId:       pulumi.String("string"),
    				ResourcePresetId: pulumi.String("string"),
    			},
    		},
    		Edition: pulumi.String("string"),
    		MasterNode: &yandex.MdbElasticSearchClusterConfigMasterNodeArgs{
    			Resources: &yandex.MdbElasticSearchClusterConfigMasterNodeResourcesArgs{
    				DiskSize:         pulumi.Int(0),
    				DiskTypeId:       pulumi.String("string"),
    				ResourcePresetId: pulumi.String("string"),
    			},
    		},
    		Plugins: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Version: pulumi.String("string"),
    	},
    	Environment:        pulumi.String("string"),
    	NetworkId:          pulumi.String("string"),
    	DeletionProtection: pulumi.Bool(false),
    	Description:        pulumi.String("string"),
    	FolderId:           pulumi.String("string"),
    	Hosts: yandex.MdbElasticSearchClusterHostArray{
    		&yandex.MdbElasticSearchClusterHostArgs{
    			Name:           pulumi.String("string"),
    			Type:           pulumi.String("string"),
    			Zone:           pulumi.String("string"),
    			AssignPublicIp: pulumi.Bool(false),
    			Fqdn:           pulumi.String("string"),
    			SubnetId:       pulumi.String("string"),
    		},
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MaintenanceWindow: &yandex.MdbElasticSearchClusterMaintenanceWindowArgs{
    		Type: pulumi.String("string"),
    		Day:  pulumi.String("string"),
    		Hour: pulumi.Int(0),
    	},
    	Name: pulumi.String("string"),
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServiceAccountId: pulumi.String("string"),
    })
    
    var mdbElasticSearchClusterResource = new MdbElasticSearchCluster("mdbElasticSearchClusterResource", MdbElasticSearchClusterArgs.builder()
        .config(MdbElasticSearchClusterConfigArgs.builder()
            .adminPassword("string")
            .dataNode(MdbElasticSearchClusterConfigDataNodeArgs.builder()
                .resources(MdbElasticSearchClusterConfigDataNodeResourcesArgs.builder()
                    .diskSize(0)
                    .diskTypeId("string")
                    .resourcePresetId("string")
                    .build())
                .build())
            .edition("string")
            .masterNode(MdbElasticSearchClusterConfigMasterNodeArgs.builder()
                .resources(MdbElasticSearchClusterConfigMasterNodeResourcesArgs.builder()
                    .diskSize(0)
                    .diskTypeId("string")
                    .resourcePresetId("string")
                    .build())
                .build())
            .plugins("string")
            .version("string")
            .build())
        .environment("string")
        .networkId("string")
        .deletionProtection(false)
        .description("string")
        .folderId("string")
        .hosts(MdbElasticSearchClusterHostArgs.builder()
            .name("string")
            .type("string")
            .zone("string")
            .assignPublicIp(false)
            .fqdn("string")
            .subnetId("string")
            .build())
        .labels(Map.of("string", "string"))
        .maintenanceWindow(MdbElasticSearchClusterMaintenanceWindowArgs.builder()
            .type("string")
            .day("string")
            .hour(0)
            .build())
        .name("string")
        .securityGroupIds("string")
        .serviceAccountId("string")
        .build());
    
    mdb_elastic_search_cluster_resource = yandex.MdbElasticSearchCluster("mdbElasticSearchClusterResource",
        config={
            "admin_password": "string",
            "data_node": {
                "resources": {
                    "disk_size": 0,
                    "disk_type_id": "string",
                    "resource_preset_id": "string",
                },
            },
            "edition": "string",
            "master_node": {
                "resources": {
                    "disk_size": 0,
                    "disk_type_id": "string",
                    "resource_preset_id": "string",
                },
            },
            "plugins": ["string"],
            "version": "string",
        },
        environment="string",
        network_id="string",
        deletion_protection=False,
        description="string",
        folder_id="string",
        hosts=[{
            "name": "string",
            "type": "string",
            "zone": "string",
            "assign_public_ip": False,
            "fqdn": "string",
            "subnet_id": "string",
        }],
        labels={
            "string": "string",
        },
        maintenance_window={
            "type": "string",
            "day": "string",
            "hour": 0,
        },
        name="string",
        security_group_ids=["string"],
        service_account_id="string")
    
    const mdbElasticSearchClusterResource = new yandex.MdbElasticSearchCluster("mdbElasticSearchClusterResource", {
        config: {
            adminPassword: "string",
            dataNode: {
                resources: {
                    diskSize: 0,
                    diskTypeId: "string",
                    resourcePresetId: "string",
                },
            },
            edition: "string",
            masterNode: {
                resources: {
                    diskSize: 0,
                    diskTypeId: "string",
                    resourcePresetId: "string",
                },
            },
            plugins: ["string"],
            version: "string",
        },
        environment: "string",
        networkId: "string",
        deletionProtection: false,
        description: "string",
        folderId: "string",
        hosts: [{
            name: "string",
            type: "string",
            zone: "string",
            assignPublicIp: false,
            fqdn: "string",
            subnetId: "string",
        }],
        labels: {
            string: "string",
        },
        maintenanceWindow: {
            type: "string",
            day: "string",
            hour: 0,
        },
        name: "string",
        securityGroupIds: ["string"],
        serviceAccountId: "string",
    });
    
    type: yandex:MdbElasticSearchCluster
    properties:
        config:
            adminPassword: string
            dataNode:
                resources:
                    diskSize: 0
                    diskTypeId: string
                    resourcePresetId: string
            edition: string
            masterNode:
                resources:
                    diskSize: 0
                    diskTypeId: string
                    resourcePresetId: string
            plugins:
                - string
            version: string
        deletionProtection: false
        description: string
        environment: string
        folderId: string
        hosts:
            - assignPublicIp: false
              fqdn: string
              name: string
              subnetId: string
              type: string
              zone: string
        labels:
            string: string
        maintenanceWindow:
            day: string
            hour: 0
            type: string
        name: string
        networkId: string
        securityGroupIds:
            - string
        serviceAccountId: string
    

    MdbElasticSearchCluster 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 MdbElasticSearchCluster resource accepts the following input properties:

    Config MdbElasticSearchClusterConfig
    Configuration of the Elasticsearch cluster. The structure is documented below.
    Environment string
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    NetworkId string
    ID of the network, to which the Elasticsearch cluster belongs.
    DeletionProtection bool
    Inhibits deletion of the cluster. Can be either true or false.
    Description string
    Description of the Elasticsearch cluster.
    FolderId string
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    Hosts List<MdbElasticSearchClusterHost>
    A host of the Elasticsearch cluster. The structure is documented below.
    Labels Dictionary<string, string>
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    MaintenanceWindow MdbElasticSearchClusterMaintenanceWindow
    Name string
    User defined host name.
    SecurityGroupIds List<string>
    A set of ids of security groups assigned to hosts of the cluster.
    ServiceAccountId string
    ID of the service account authorized for this cluster.
    Config MdbElasticSearchClusterConfigArgs
    Configuration of the Elasticsearch cluster. The structure is documented below.
    Environment string
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    NetworkId string
    ID of the network, to which the Elasticsearch cluster belongs.
    DeletionProtection bool
    Inhibits deletion of the cluster. Can be either true or false.
    Description string
    Description of the Elasticsearch cluster.
    FolderId string
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    Hosts []MdbElasticSearchClusterHostArgs
    A host of the Elasticsearch cluster. The structure is documented below.
    Labels map[string]string
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    MaintenanceWindow MdbElasticSearchClusterMaintenanceWindowArgs
    Name string
    User defined host name.
    SecurityGroupIds []string
    A set of ids of security groups assigned to hosts of the cluster.
    ServiceAccountId string
    ID of the service account authorized for this cluster.
    config MdbElasticSearchClusterConfig
    Configuration of the Elasticsearch cluster. The structure is documented below.
    environment String
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    networkId String
    ID of the network, to which the Elasticsearch cluster belongs.
    deletionProtection Boolean
    Inhibits deletion of the cluster. Can be either true or false.
    description String
    Description of the Elasticsearch cluster.
    folderId String
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    hosts List<MdbElasticSearchClusterHost>
    A host of the Elasticsearch cluster. The structure is documented below.
    labels Map<String,String>
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenanceWindow MdbElasticSearchClusterMaintenanceWindow
    name String
    User defined host name.
    securityGroupIds List<String>
    A set of ids of security groups assigned to hosts of the cluster.
    serviceAccountId String
    ID of the service account authorized for this cluster.
    config MdbElasticSearchClusterConfig
    Configuration of the Elasticsearch cluster. The structure is documented below.
    environment string
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    networkId string
    ID of the network, to which the Elasticsearch cluster belongs.
    deletionProtection boolean
    Inhibits deletion of the cluster. Can be either true or false.
    description string
    Description of the Elasticsearch cluster.
    folderId string
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    hosts MdbElasticSearchClusterHost[]
    A host of the Elasticsearch cluster. The structure is documented below.
    labels {[key: string]: string}
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenanceWindow MdbElasticSearchClusterMaintenanceWindow
    name string
    User defined host name.
    securityGroupIds string[]
    A set of ids of security groups assigned to hosts of the cluster.
    serviceAccountId string
    ID of the service account authorized for this cluster.
    config MdbElasticSearchClusterConfigArgs
    Configuration of the Elasticsearch cluster. The structure is documented below.
    environment str
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    network_id str
    ID of the network, to which the Elasticsearch cluster belongs.
    deletion_protection bool
    Inhibits deletion of the cluster. Can be either true or false.
    description str
    Description of the Elasticsearch cluster.
    folder_id str
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    hosts Sequence[MdbElasticSearchClusterHostArgs]
    A host of the Elasticsearch cluster. The structure is documented below.
    labels Mapping[str, str]
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenance_window MdbElasticSearchClusterMaintenanceWindowArgs
    name str
    User defined host name.
    security_group_ids Sequence[str]
    A set of ids of security groups assigned to hosts of the cluster.
    service_account_id str
    ID of the service account authorized for this cluster.
    config Property Map
    Configuration of the Elasticsearch cluster. The structure is documented below.
    environment String
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    networkId String
    ID of the network, to which the Elasticsearch cluster belongs.
    deletionProtection Boolean
    Inhibits deletion of the cluster. Can be either true or false.
    description String
    Description of the Elasticsearch cluster.
    folderId String
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    hosts List<Property Map>
    A host of the Elasticsearch cluster. The structure is documented below.
    labels Map<String>
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenanceWindow Property Map
    name String
    User defined host name.
    securityGroupIds List<String>
    A set of ids of security groups assigned to hosts of the cluster.
    serviceAccountId String
    ID of the service account authorized for this cluster.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MdbElasticSearchCluster resource produces the following output properties:

    CreatedAt string
    Creation timestamp of the key.
    Health string
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    CreatedAt string
    Creation timestamp of the key.
    Health string
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    createdAt String
    Creation timestamp of the key.
    health String
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    createdAt string
    Creation timestamp of the key.
    health string
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    created_at str
    Creation timestamp of the key.
    health str
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    createdAt String
    Creation timestamp of the key.
    health String
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.

    Look up Existing MdbElasticSearchCluster Resource

    Get an existing MdbElasticSearchCluster 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?: MdbElasticSearchClusterState, opts?: CustomResourceOptions): MdbElasticSearchCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config: Optional[MdbElasticSearchClusterConfigArgs] = None,
            created_at: Optional[str] = None,
            deletion_protection: Optional[bool] = None,
            description: Optional[str] = None,
            environment: Optional[str] = None,
            folder_id: Optional[str] = None,
            health: Optional[str] = None,
            hosts: Optional[Sequence[MdbElasticSearchClusterHostArgs]] = None,
            labels: Optional[Mapping[str, str]] = None,
            maintenance_window: Optional[MdbElasticSearchClusterMaintenanceWindowArgs] = None,
            name: Optional[str] = None,
            network_id: Optional[str] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            service_account_id: Optional[str] = None,
            status: Optional[str] = None) -> MdbElasticSearchCluster
    func GetMdbElasticSearchCluster(ctx *Context, name string, id IDInput, state *MdbElasticSearchClusterState, opts ...ResourceOption) (*MdbElasticSearchCluster, error)
    public static MdbElasticSearchCluster Get(string name, Input<string> id, MdbElasticSearchClusterState? state, CustomResourceOptions? opts = null)
    public static MdbElasticSearchCluster get(String name, Output<String> id, MdbElasticSearchClusterState 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.
    The following state arguments are supported:
    Config MdbElasticSearchClusterConfig
    Configuration of the Elasticsearch cluster. The structure is documented below.
    CreatedAt string
    Creation timestamp of the key.
    DeletionProtection bool
    Inhibits deletion of the cluster. Can be either true or false.
    Description string
    Description of the Elasticsearch cluster.
    Environment string
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    FolderId string
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    Health string
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    Hosts List<MdbElasticSearchClusterHost>
    A host of the Elasticsearch cluster. The structure is documented below.
    Labels Dictionary<string, string>
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    MaintenanceWindow MdbElasticSearchClusterMaintenanceWindow
    Name string
    User defined host name.
    NetworkId string
    ID of the network, to which the Elasticsearch cluster belongs.
    SecurityGroupIds List<string>
    A set of ids of security groups assigned to hosts of the cluster.
    ServiceAccountId string
    ID of the service account authorized for this cluster.
    Status string
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    Config MdbElasticSearchClusterConfigArgs
    Configuration of the Elasticsearch cluster. The structure is documented below.
    CreatedAt string
    Creation timestamp of the key.
    DeletionProtection bool
    Inhibits deletion of the cluster. Can be either true or false.
    Description string
    Description of the Elasticsearch cluster.
    Environment string
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    FolderId string
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    Health string
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    Hosts []MdbElasticSearchClusterHostArgs
    A host of the Elasticsearch cluster. The structure is documented below.
    Labels map[string]string
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    MaintenanceWindow MdbElasticSearchClusterMaintenanceWindowArgs
    Name string
    User defined host name.
    NetworkId string
    ID of the network, to which the Elasticsearch cluster belongs.
    SecurityGroupIds []string
    A set of ids of security groups assigned to hosts of the cluster.
    ServiceAccountId string
    ID of the service account authorized for this cluster.
    Status string
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    config MdbElasticSearchClusterConfig
    Configuration of the Elasticsearch cluster. The structure is documented below.
    createdAt String
    Creation timestamp of the key.
    deletionProtection Boolean
    Inhibits deletion of the cluster. Can be either true or false.
    description String
    Description of the Elasticsearch cluster.
    environment String
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    folderId String
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    health String
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    hosts List<MdbElasticSearchClusterHost>
    A host of the Elasticsearch cluster. The structure is documented below.
    labels Map<String,String>
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenanceWindow MdbElasticSearchClusterMaintenanceWindow
    name String
    User defined host name.
    networkId String
    ID of the network, to which the Elasticsearch cluster belongs.
    securityGroupIds List<String>
    A set of ids of security groups assigned to hosts of the cluster.
    serviceAccountId String
    ID of the service account authorized for this cluster.
    status String
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    config MdbElasticSearchClusterConfig
    Configuration of the Elasticsearch cluster. The structure is documented below.
    createdAt string
    Creation timestamp of the key.
    deletionProtection boolean
    Inhibits deletion of the cluster. Can be either true or false.
    description string
    Description of the Elasticsearch cluster.
    environment string
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    folderId string
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    health string
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    hosts MdbElasticSearchClusterHost[]
    A host of the Elasticsearch cluster. The structure is documented below.
    labels {[key: string]: string}
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenanceWindow MdbElasticSearchClusterMaintenanceWindow
    name string
    User defined host name.
    networkId string
    ID of the network, to which the Elasticsearch cluster belongs.
    securityGroupIds string[]
    A set of ids of security groups assigned to hosts of the cluster.
    serviceAccountId string
    ID of the service account authorized for this cluster.
    status string
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    config MdbElasticSearchClusterConfigArgs
    Configuration of the Elasticsearch cluster. The structure is documented below.
    created_at str
    Creation timestamp of the key.
    deletion_protection bool
    Inhibits deletion of the cluster. Can be either true or false.
    description str
    Description of the Elasticsearch cluster.
    environment str
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    folder_id str
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    health str
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    hosts Sequence[MdbElasticSearchClusterHostArgs]
    A host of the Elasticsearch cluster. The structure is documented below.
    labels Mapping[str, str]
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenance_window MdbElasticSearchClusterMaintenanceWindowArgs
    name str
    User defined host name.
    network_id str
    ID of the network, to which the Elasticsearch cluster belongs.
    security_group_ids Sequence[str]
    A set of ids of security groups assigned to hosts of the cluster.
    service_account_id str
    ID of the service account authorized for this cluster.
    status str
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.
    config Property Map
    Configuration of the Elasticsearch cluster. The structure is documented below.
    createdAt String
    Creation timestamp of the key.
    deletionProtection Boolean
    Inhibits deletion of the cluster. Can be either true or false.
    description String
    Description of the Elasticsearch cluster.
    environment String
    Deployment environment of the Elasticsearch cluster. Can be either PRESTABLE or PRODUCTION.
    folderId String
    The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
    health String
    Aggregated health of the cluster. Can be either ALIVE, DEGRADED, DEAD or HEALTH_UNKNOWN. For more information see health field of JSON representation in the official documentation.
    hosts List<Property Map>
    A host of the Elasticsearch cluster. The structure is documented below.
    labels Map<String>
    A set of key/value label pairs to assign to the Elasticsearch cluster.
    maintenanceWindow Property Map
    name String
    User defined host name.
    networkId String
    ID of the network, to which the Elasticsearch cluster belongs.
    securityGroupIds List<String>
    A set of ids of security groups assigned to hosts of the cluster.
    serviceAccountId String
    ID of the service account authorized for this cluster.
    status String
    Status of the cluster. Can be either CREATING, STARTING, RUNNING, UPDATING, STOPPING, STOPPED, ERROR or STATUS_UNKNOWN. For more information see status field of JSON representation in the official documentation.

    Supporting Types

    MdbElasticSearchClusterConfig, MdbElasticSearchClusterConfigArgs

    AdminPassword string
    Password for admin user of Elasticsearch.
    DataNode MdbElasticSearchClusterConfigDataNode
    Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
    Edition string
    Edition of Elasticsearch. For more information, see the official documentation.
    MasterNode MdbElasticSearchClusterConfigMasterNode
    Configuration for Elasticsearch master nodes subcluster. The structure is documented below.
    Plugins List<string>
    A set of Elasticsearch plugins to install.
    Version string
    Version of Elasticsearch.
    AdminPassword string
    Password for admin user of Elasticsearch.
    DataNode MdbElasticSearchClusterConfigDataNode
    Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
    Edition string
    Edition of Elasticsearch. For more information, see the official documentation.
    MasterNode MdbElasticSearchClusterConfigMasterNode
    Configuration for Elasticsearch master nodes subcluster. The structure is documented below.
    Plugins []string
    A set of Elasticsearch plugins to install.
    Version string
    Version of Elasticsearch.
    adminPassword String
    Password for admin user of Elasticsearch.
    dataNode MdbElasticSearchClusterConfigDataNode
    Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
    edition String
    Edition of Elasticsearch. For more information, see the official documentation.
    masterNode MdbElasticSearchClusterConfigMasterNode
    Configuration for Elasticsearch master nodes subcluster. The structure is documented below.
    plugins List<String>
    A set of Elasticsearch plugins to install.
    version String
    Version of Elasticsearch.
    adminPassword string
    Password for admin user of Elasticsearch.
    dataNode MdbElasticSearchClusterConfigDataNode
    Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
    edition string
    Edition of Elasticsearch. For more information, see the official documentation.
    masterNode MdbElasticSearchClusterConfigMasterNode
    Configuration for Elasticsearch master nodes subcluster. The structure is documented below.
    plugins string[]
    A set of Elasticsearch plugins to install.
    version string
    Version of Elasticsearch.
    admin_password str
    Password for admin user of Elasticsearch.
    data_node MdbElasticSearchClusterConfigDataNode
    Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
    edition str
    Edition of Elasticsearch. For more information, see the official documentation.
    master_node MdbElasticSearchClusterConfigMasterNode
    Configuration for Elasticsearch master nodes subcluster. The structure is documented below.
    plugins Sequence[str]
    A set of Elasticsearch plugins to install.
    version str
    Version of Elasticsearch.
    adminPassword String
    Password for admin user of Elasticsearch.
    dataNode Property Map
    Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
    edition String
    Edition of Elasticsearch. For more information, see the official documentation.
    masterNode Property Map
    Configuration for Elasticsearch master nodes subcluster. The structure is documented below.
    plugins List<String>
    A set of Elasticsearch plugins to install.
    version String
    Version of Elasticsearch.

    MdbElasticSearchClusterConfigDataNode, MdbElasticSearchClusterConfigDataNodeArgs

    Resources MdbElasticSearchClusterConfigDataNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    Resources MdbElasticSearchClusterConfigDataNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources MdbElasticSearchClusterConfigDataNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources MdbElasticSearchClusterConfigDataNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources MdbElasticSearchClusterConfigDataNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources Property Map
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.

    MdbElasticSearchClusterConfigDataNodeResources, MdbElasticSearchClusterConfigDataNodeResourcesArgs

    DiskSize int
    Volume of the storage available to a host, in gigabytes.
    DiskTypeId string
    Type of the storage of Elasticsearch hosts.
    ResourcePresetId string
    DiskSize int
    Volume of the storage available to a host, in gigabytes.
    DiskTypeId string
    Type of the storage of Elasticsearch hosts.
    ResourcePresetId string
    diskSize Integer
    Volume of the storage available to a host, in gigabytes.
    diskTypeId String
    Type of the storage of Elasticsearch hosts.
    resourcePresetId String
    diskSize number
    Volume of the storage available to a host, in gigabytes.
    diskTypeId string
    Type of the storage of Elasticsearch hosts.
    resourcePresetId string
    disk_size int
    Volume of the storage available to a host, in gigabytes.
    disk_type_id str
    Type of the storage of Elasticsearch hosts.
    resource_preset_id str
    diskSize Number
    Volume of the storage available to a host, in gigabytes.
    diskTypeId String
    Type of the storage of Elasticsearch hosts.
    resourcePresetId String

    MdbElasticSearchClusterConfigMasterNode, MdbElasticSearchClusterConfigMasterNodeArgs

    Resources MdbElasticSearchClusterConfigMasterNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    Resources MdbElasticSearchClusterConfigMasterNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources MdbElasticSearchClusterConfigMasterNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources MdbElasticSearchClusterConfigMasterNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources MdbElasticSearchClusterConfigMasterNodeResources
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
    resources Property Map
    Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.

    MdbElasticSearchClusterConfigMasterNodeResources, MdbElasticSearchClusterConfigMasterNodeResourcesArgs

    DiskSize int
    Volume of the storage available to a host, in gigabytes.
    DiskTypeId string
    Type of the storage of Elasticsearch hosts.
    ResourcePresetId string
    DiskSize int
    Volume of the storage available to a host, in gigabytes.
    DiskTypeId string
    Type of the storage of Elasticsearch hosts.
    ResourcePresetId string
    diskSize Integer
    Volume of the storage available to a host, in gigabytes.
    diskTypeId String
    Type of the storage of Elasticsearch hosts.
    resourcePresetId String
    diskSize number
    Volume of the storage available to a host, in gigabytes.
    diskTypeId string
    Type of the storage of Elasticsearch hosts.
    resourcePresetId string
    disk_size int
    Volume of the storage available to a host, in gigabytes.
    disk_type_id str
    Type of the storage of Elasticsearch hosts.
    resource_preset_id str
    diskSize Number
    Volume of the storage available to a host, in gigabytes.
    diskTypeId String
    Type of the storage of Elasticsearch hosts.
    resourcePresetId String

    MdbElasticSearchClusterHost, MdbElasticSearchClusterHostArgs

    Name string
    User defined host name.
    Type string
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    Zone string
    The availability zone where the Elasticsearch host will be created. For more information see the official documentation.
    AssignPublicIp bool
    Sets whether the host should get a public IP address on creation. Can be either true or false.
    Fqdn string
    The fully qualified domain name of the host.
    SubnetId string
    The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
    Name string
    User defined host name.
    Type string
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    Zone string
    The availability zone where the Elasticsearch host will be created. For more information see the official documentation.
    AssignPublicIp bool
    Sets whether the host should get a public IP address on creation. Can be either true or false.
    Fqdn string
    The fully qualified domain name of the host.
    SubnetId string
    The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
    name String
    User defined host name.
    type String
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    zone String
    The availability zone where the Elasticsearch host will be created. For more information see the official documentation.
    assignPublicIp Boolean
    Sets whether the host should get a public IP address on creation. Can be either true or false.
    fqdn String
    The fully qualified domain name of the host.
    subnetId String
    The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
    name string
    User defined host name.
    type string
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    zone string
    The availability zone where the Elasticsearch host will be created. For more information see the official documentation.
    assignPublicIp boolean
    Sets whether the host should get a public IP address on creation. Can be either true or false.
    fqdn string
    The fully qualified domain name of the host.
    subnetId string
    The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
    name str
    User defined host name.
    type str
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    zone str
    The availability zone where the Elasticsearch host will be created. For more information see the official documentation.
    assign_public_ip bool
    Sets whether the host should get a public IP address on creation. Can be either true or false.
    fqdn str
    The fully qualified domain name of the host.
    subnet_id str
    The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
    name String
    User defined host name.
    type String
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    zone String
    The availability zone where the Elasticsearch host will be created. For more information see the official documentation.
    assignPublicIp Boolean
    Sets whether the host should get a public IP address on creation. Can be either true or false.
    fqdn String
    The fully qualified domain name of the host.
    subnetId String
    The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.

    MdbElasticSearchClusterMaintenanceWindow, MdbElasticSearchClusterMaintenanceWindowArgs

    Type string
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    Day string
    Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
    Hour int
    Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
    Type string
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    Day string
    Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
    Hour int
    Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
    type String
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    day String
    Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
    hour Integer
    Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
    type string
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    day string
    Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
    hour number
    Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
    type str
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    day str
    Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
    hour int
    Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
    type String
    Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
    day String
    Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
    hour Number
    Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.

    Import

    A cluster can be imported using the id of the resource, e.g.

     $ pulumi import yandex:index/mdbElasticSearchCluster:MdbElasticSearchCluster foo cluster_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Yandex pulumi/pulumi-yandex
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi