yandex.MdbElasticSearchCluster
Explore with Pulumi AI
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
MdbElastic Search Cluster Config 
- Configuration of the Elasticsearch cluster. The structure is documented below.
- Environment string
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- NetworkId string
- ID of the network, to which the Elasticsearch cluster belongs.
- DeletionProtection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- 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<MdbElastic Search Cluster Host> 
- 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 MdbElastic Search Cluster Maintenance Window 
- Name string
- User defined host name.
- SecurityGroup List<string>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- ServiceAccount stringId 
- ID of the service account authorized for this cluster.
- Config
MdbElastic Search Cluster Config Args 
- Configuration of the Elasticsearch cluster. The structure is documented below.
- Environment string
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- NetworkId string
- ID of the network, to which the Elasticsearch cluster belongs.
- DeletionProtection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- 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
[]MdbElastic Search Cluster Host Args 
- 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 MdbElastic Search Cluster Maintenance Window Args 
- Name string
- User defined host name.
- SecurityGroup []stringIds 
- A set of ids of security groups assigned to hosts of the cluster.
- ServiceAccount stringId 
- ID of the service account authorized for this cluster.
- config
MdbElastic Search Cluster Config 
- Configuration of the Elasticsearch cluster. The structure is documented below.
- environment String
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- networkId String
- ID of the network, to which the Elasticsearch cluster belongs.
- deletionProtection Boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- 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<MdbElastic Search Cluster Host> 
- 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 MdbElastic Search Cluster Maintenance Window 
- name String
- User defined host name.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- serviceAccount StringId 
- ID of the service account authorized for this cluster.
- config
MdbElastic Search Cluster Config 
- Configuration of the Elasticsearch cluster. The structure is documented below.
- environment string
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- networkId string
- ID of the network, to which the Elasticsearch cluster belongs.
- deletionProtection boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- 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
MdbElastic Search Cluster Host[] 
- 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 MdbElastic Search Cluster Maintenance Window 
- name string
- User defined host name.
- securityGroup string[]Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- serviceAccount stringId 
- ID of the service account authorized for this cluster.
- config
MdbElastic Search Cluster Config Args 
- Configuration of the Elasticsearch cluster. The structure is documented below.
- environment str
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- network_id str
- ID of the network, to which the Elasticsearch cluster belongs.
- deletion_protection bool
- Inhibits deletion of the cluster. Can be either trueorfalse.
- 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[MdbElastic Search Cluster Host Args] 
- 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 MdbElastic Search Cluster Maintenance Window Args 
- name str
- User defined host name.
- security_group_ Sequence[str]ids 
- A set of ids of security groups assigned to hosts of the cluster.
- service_account_ strid 
- 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 PRESTABLEorPRODUCTION.
- networkId String
- ID of the network, to which the Elasticsearch cluster belongs.
- deletionProtection Boolean
- Inhibits deletion of the cluster. Can be either trueorfalse.
- 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.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- serviceAccount StringId 
- 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield 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,ERRORorSTATUS_UNKNOWN. For more information seestatusfield 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield 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,ERRORorSTATUS_UNKNOWN. For more information seestatusfield 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield 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,ERRORorSTATUS_UNKNOWN. For more information seestatusfield 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield 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,ERRORorSTATUS_UNKNOWN. For more information seestatusfield 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield 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,ERRORorSTATUS_UNKNOWN. For more information seestatusfield 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield 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,ERRORorSTATUS_UNKNOWN. For more information seestatusfield 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) -> MdbElasticSearchClusterfunc 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.
- Config
MdbElastic Search Cluster Config 
- 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 trueorfalse.
- Description string
- Description of the Elasticsearch cluster.
- Environment string
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- Hosts
List<MdbElastic Search Cluster Host> 
- 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 MdbElastic Search Cluster Maintenance Window 
- Name string
- User defined host name.
- NetworkId string
- ID of the network, to which the Elasticsearch cluster belongs.
- SecurityGroup List<string>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- ServiceAccount stringId 
- ID of the service account authorized for this cluster.
- Status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- Config
MdbElastic Search Cluster Config Args 
- 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 trueorfalse.
- Description string
- Description of the Elasticsearch cluster.
- Environment string
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- Hosts
[]MdbElastic Search Cluster Host Args 
- 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 MdbElastic Search Cluster Maintenance Window Args 
- Name string
- User defined host name.
- NetworkId string
- ID of the network, to which the Elasticsearch cluster belongs.
- SecurityGroup []stringIds 
- A set of ids of security groups assigned to hosts of the cluster.
- ServiceAccount stringId 
- ID of the service account authorized for this cluster.
- Status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- config
MdbElastic Search Cluster Config 
- 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 trueorfalse.
- description String
- Description of the Elasticsearch cluster.
- environment String
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- hosts
List<MdbElastic Search Cluster Host> 
- 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 MdbElastic Search Cluster Maintenance Window 
- name String
- User defined host name.
- networkId String
- ID of the network, to which the Elasticsearch cluster belongs.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- serviceAccount StringId 
- ID of the service account authorized for this cluster.
- status String
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- config
MdbElastic Search Cluster Config 
- 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 trueorfalse.
- description string
- Description of the Elasticsearch cluster.
- environment string
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- hosts
MdbElastic Search Cluster Host[] 
- 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 MdbElastic Search Cluster Maintenance Window 
- name string
- User defined host name.
- networkId string
- ID of the network, to which the Elasticsearch cluster belongs.
- securityGroup string[]Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- serviceAccount stringId 
- ID of the service account authorized for this cluster.
- status string
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
- config
MdbElastic Search Cluster Config Args 
- 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 trueorfalse.
- description str
- Description of the Elasticsearch cluster.
- environment str
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield of JSON representation in the official documentation.
- hosts
Sequence[MdbElastic Search Cluster Host Args] 
- 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 MdbElastic Search Cluster Maintenance Window Args 
- name str
- User defined host name.
- network_id str
- ID of the network, to which the Elasticsearch cluster belongs.
- security_group_ Sequence[str]ids 
- A set of ids of security groups assigned to hosts of the cluster.
- service_account_ strid 
- ID of the service account authorized for this cluster.
- status str
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield 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 trueorfalse.
- description String
- Description of the Elasticsearch cluster.
- environment String
- Deployment environment of the Elasticsearch cluster. Can be either PRESTABLEorPRODUCTION.
- 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,DEADorHEALTH_UNKNOWN. For more information seehealthfield 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.
- securityGroup List<String>Ids 
- A set of ids of security groups assigned to hosts of the cluster.
- serviceAccount StringId 
- ID of the service account authorized for this cluster.
- status String
- Status of the cluster. Can be either CREATING,STARTING,RUNNING,UPDATING,STOPPING,STOPPED,ERRORorSTATUS_UNKNOWN. For more information seestatusfield of JSON representation in the official documentation.
Supporting Types
MdbElasticSearchClusterConfig, MdbElasticSearchClusterConfigArgs          
- AdminPassword string
- Password for admin user of Elasticsearch.
- DataNode MdbElastic Search Cluster Config Data Node 
- Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
- Edition string
- Edition of Elasticsearch. For more information, see the official documentation.
- MasterNode MdbElastic Search Cluster Config Master Node 
- 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 MdbElastic Search Cluster Config Data Node 
- Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
- Edition string
- Edition of Elasticsearch. For more information, see the official documentation.
- MasterNode MdbElastic Search Cluster Config Master Node 
- 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 MdbElastic Search Cluster Config Data Node 
- Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
- edition String
- Edition of Elasticsearch. For more information, see the official documentation.
- masterNode MdbElastic Search Cluster Config Master Node 
- 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 MdbElastic Search Cluster Config Data Node 
- Configuration for Elasticsearch data nodes subcluster. The structure is documented below.
- edition string
- Edition of Elasticsearch. For more information, see the official documentation.
- masterNode MdbElastic Search Cluster Config Master Node 
- 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 MdbElastic Search Cluster Config Data Node 
- 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 MdbElastic Search Cluster Config Master Node 
- 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
MdbElastic Search Cluster Config Data Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- Resources
MdbElastic Search Cluster Config Data Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
MdbElastic Search Cluster Config Data Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
MdbElastic Search Cluster Config Data Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
MdbElastic Search Cluster Config Data Node Resources 
- 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.
- DiskType stringId 
- Type of the storage of Elasticsearch hosts.
- ResourcePreset stringId 
- DiskSize int
- Volume of the storage available to a host, in gigabytes.
- DiskType stringId 
- Type of the storage of Elasticsearch hosts.
- ResourcePreset stringId 
- diskSize Integer
- Volume of the storage available to a host, in gigabytes.
- diskType StringId 
- Type of the storage of Elasticsearch hosts.
- resourcePreset StringId 
- diskSize number
- Volume of the storage available to a host, in gigabytes.
- diskType stringId 
- Type of the storage of Elasticsearch hosts.
- resourcePreset stringId 
- disk_size int
- Volume of the storage available to a host, in gigabytes.
- disk_type_ strid 
- Type of the storage of Elasticsearch hosts.
- resource_preset_ strid 
- diskSize Number
- Volume of the storage available to a host, in gigabytes.
- diskType StringId 
- Type of the storage of Elasticsearch hosts.
- resourcePreset StringId 
MdbElasticSearchClusterConfigMasterNode, MdbElasticSearchClusterConfigMasterNodeArgs              
- Resources
MdbElastic Search Cluster Config Master Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- Resources
MdbElastic Search Cluster Config Master Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
MdbElastic Search Cluster Config Master Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
MdbElastic Search Cluster Config Master Node Resources 
- Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
MdbElastic Search Cluster Config Master Node Resources 
- 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.
- DiskType stringId 
- Type of the storage of Elasticsearch hosts.
- ResourcePreset stringId 
- DiskSize int
- Volume of the storage available to a host, in gigabytes.
- DiskType stringId 
- Type of the storage of Elasticsearch hosts.
- ResourcePreset stringId 
- diskSize Integer
- Volume of the storage available to a host, in gigabytes.
- diskType StringId 
- Type of the storage of Elasticsearch hosts.
- resourcePreset StringId 
- diskSize number
- Volume of the storage available to a host, in gigabytes.
- diskType stringId 
- Type of the storage of Elasticsearch hosts.
- resourcePreset stringId 
- disk_size int
- Volume of the storage available to a host, in gigabytes.
- disk_type_ strid 
- Type of the storage of Elasticsearch hosts.
- resource_preset_ strid 
- diskSize Number
- Volume of the storage available to a host, in gigabytes.
- diskType StringId 
- Type of the storage of Elasticsearch hosts.
- resourcePreset StringId 
MdbElasticSearchClusterHost, MdbElasticSearchClusterHostArgs          
- Name string
- User defined host name.
- Type string
- Type of maintenance window. Can be either ANYTIMEorWEEKLY. 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.
- AssignPublic boolIp 
- Sets whether the host should get a public IP address on creation. Can be either trueorfalse.
- 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 ANYTIMEorWEEKLY. 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.
- AssignPublic boolIp 
- Sets whether the host should get a public IP address on creation. Can be either trueorfalse.
- 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 ANYTIMEorWEEKLY. 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.
- assignPublic BooleanIp 
- Sets whether the host should get a public IP address on creation. Can be either trueorfalse.
- 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 ANYTIMEorWEEKLY. 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.
- assignPublic booleanIp 
- Sets whether the host should get a public IP address on creation. Can be either trueorfalse.
- 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 ANYTIMEorWEEKLY. 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_ boolip 
- Sets whether the host should get a public IP address on creation. Can be either trueorfalse.
- 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 ANYTIMEorWEEKLY. 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.
- assignPublic BooleanIp 
- Sets whether the host should get a public IP address on creation. Can be either trueorfalse.
- 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 ANYTIMEorWEEKLY. 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 ANYTIMEorWEEKLY. 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 ANYTIMEorWEEKLY. 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 ANYTIMEorWEEKLY. 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 ANYTIMEorWEEKLY. 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 ANYTIMEorWEEKLY. 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 yandexTerraform Provider.