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
Mdb
Elastic Search Cluster Config - Configuration of the Elasticsearch cluster. The structure is documented below.
- Environment string
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - Network
Id string - ID of the network, to which the Elasticsearch cluster belongs.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Elasticsearch cluster.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Hosts
List<Mdb
Elastic 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.
- Maintenance
Window MdbElastic Search Cluster Maintenance Window - Name string
- User defined host name.
- Security
Group List<string>Ids - A set of ids of security groups assigned to hosts of the cluster.
- Service
Account stringId - ID of the service account authorized for this cluster.
- Config
Mdb
Elastic 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
PRESTABLE
orPRODUCTION
. - Network
Id string - ID of the network, to which the Elasticsearch cluster belongs.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Elasticsearch cluster.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Hosts
[]Mdb
Elastic 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.
- Maintenance
Window MdbElastic Search Cluster Maintenance Window Args - Name string
- User defined host name.
- Security
Group []stringIds - A set of ids of security groups assigned to hosts of the cluster.
- Service
Account stringId - ID of the service account authorized for this cluster.
- config
Mdb
Elastic Search Cluster Config - Configuration of the Elasticsearch cluster. The structure is documented below.
- environment String
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - network
Id String - ID of the network, to which the Elasticsearch cluster belongs.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Elasticsearch cluster.
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- hosts
List<Mdb
Elastic 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.
- maintenance
Window MdbElastic Search Cluster Maintenance Window - name String
- User defined host name.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- service
Account StringId - ID of the service account authorized for this cluster.
- config
Mdb
Elastic Search Cluster Config - Configuration of the Elasticsearch cluster. The structure is documented below.
- environment string
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - network
Id string - ID of the network, to which the Elasticsearch cluster belongs.
- deletion
Protection boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description string
- Description of the Elasticsearch cluster.
- folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- hosts
Mdb
Elastic 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.
- maintenance
Window MdbElastic Search Cluster Maintenance Window - name string
- User defined host name.
- security
Group string[]Ids - A set of ids of security groups assigned to hosts of the cluster.
- service
Account stringId - ID of the service account authorized for this cluster.
- config
Mdb
Elastic 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
PRESTABLE
orPRODUCTION
. - 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
orfalse
. - 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[Mdb
Elastic 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
PRESTABLE
orPRODUCTION
. - network
Id String - ID of the network, to which the Elasticsearch cluster belongs.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Elasticsearch cluster.
- folder
Id 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.
- maintenance
Window Property Map - name String
- User defined host name.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- service
Account 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:
- Created
At string - Creation timestamp of the key.
- Health string
- Aggregated health of the cluster. Can be either
ALIVE
,DEGRADED
,DEAD
orHEALTH_UNKNOWN
. For more information seehealth
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
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- Created
At string - Creation timestamp of the key.
- Health string
- Aggregated health of the cluster. Can be either
ALIVE
,DEGRADED
,DEAD
orHEALTH_UNKNOWN
. For more information seehealth
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
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- created
At String - Creation timestamp of the key.
- health String
- Aggregated health of the cluster. Can be either
ALIVE
,DEGRADED
,DEAD
orHEALTH_UNKNOWN
. For more information seehealth
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
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- created
At string - Creation timestamp of the key.
- health string
- Aggregated health of the cluster. Can be either
ALIVE
,DEGRADED
,DEAD
orHEALTH_UNKNOWN
. For more information seehealth
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
orSTATUS_UNKNOWN
. For more information seestatus
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
orHEALTH_UNKNOWN
. For more information seehealth
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
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- created
At String - Creation timestamp of the key.
- health String
- Aggregated health of the cluster. Can be either
ALIVE
,DEGRADED
,DEAD
orHEALTH_UNKNOWN
. For more information seehealth
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
orSTATUS_UNKNOWN
. For more information seestatus
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.
- Config
Mdb
Elastic Search Cluster Config - Configuration of the Elasticsearch cluster. The structure is documented below.
- Created
At string - Creation timestamp of the key.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Elasticsearch cluster.
- Environment string
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - Folder
Id 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
orHEALTH_UNKNOWN
. For more information seehealth
field of JSON representation in the official documentation. - Hosts
List<Mdb
Elastic 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.
- Maintenance
Window MdbElastic Search Cluster Maintenance Window - Name string
- User defined host name.
- Network
Id string - ID of the network, to which the Elasticsearch cluster belongs.
- Security
Group List<string>Ids - A set of ids of security groups assigned to hosts of the cluster.
- Service
Account 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
,ERROR
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- Config
Mdb
Elastic Search Cluster Config Args - Configuration of the Elasticsearch cluster. The structure is documented below.
- Created
At string - Creation timestamp of the key.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Elasticsearch cluster.
- Environment string
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - Folder
Id 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
orHEALTH_UNKNOWN
. For more information seehealth
field of JSON representation in the official documentation. - Hosts
[]Mdb
Elastic 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.
- Maintenance
Window MdbElastic Search Cluster Maintenance Window Args - Name string
- User defined host name.
- Network
Id string - ID of the network, to which the Elasticsearch cluster belongs.
- Security
Group []stringIds - A set of ids of security groups assigned to hosts of the cluster.
- Service
Account 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
,ERROR
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- config
Mdb
Elastic Search Cluster Config - Configuration of the Elasticsearch cluster. The structure is documented below.
- created
At String - Creation timestamp of the key.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Elasticsearch cluster.
- environment String
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - folder
Id 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
orHEALTH_UNKNOWN
. For more information seehealth
field of JSON representation in the official documentation. - hosts
List<Mdb
Elastic 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.
- maintenance
Window MdbElastic Search Cluster Maintenance Window - name String
- User defined host name.
- network
Id String - ID of the network, to which the Elasticsearch cluster belongs.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- service
Account 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
,ERROR
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- config
Mdb
Elastic Search Cluster Config - Configuration of the Elasticsearch cluster. The structure is documented below.
- created
At string - Creation timestamp of the key.
- deletion
Protection boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description string
- Description of the Elasticsearch cluster.
- environment string
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - folder
Id 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
orHEALTH_UNKNOWN
. For more information seehealth
field of JSON representation in the official documentation. - hosts
Mdb
Elastic 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.
- maintenance
Window MdbElastic Search Cluster Maintenance Window - name string
- User defined host name.
- network
Id string - ID of the network, to which the Elasticsearch cluster belongs.
- security
Group string[]Ids - A set of ids of security groups assigned to hosts of the cluster.
- service
Account 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
,ERROR
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- config
Mdb
Elastic 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
true
orfalse
. - description str
- Description of the Elasticsearch cluster.
- environment str
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - 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
orHEALTH_UNKNOWN
. For more information seehealth
field of JSON representation in the official documentation. - hosts
Sequence[Mdb
Elastic 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
,ERROR
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
- config Property Map
- Configuration of the Elasticsearch cluster. The structure is documented below.
- created
At String - Creation timestamp of the key.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Elasticsearch cluster.
- environment String
- Deployment environment of the Elasticsearch cluster. Can be either
PRESTABLE
orPRODUCTION
. - folder
Id 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
orHEALTH_UNKNOWN
. For more information seehealth
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.
- maintenance
Window Property Map - name String
- User defined host name.
- network
Id String - ID of the network, to which the Elasticsearch cluster belongs.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- service
Account 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
,ERROR
orSTATUS_UNKNOWN
. For more information seestatus
field of JSON representation in the official documentation.
Supporting Types
MdbElasticSearchClusterConfig, MdbElasticSearchClusterConfigArgs
- Admin
Password string - 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 string
- 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 List<string>
- A set of Elasticsearch plugins to install.
- Version string
- Version of Elasticsearch.
- Admin
Password string - 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 string
- 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 []string
- A set of Elasticsearch plugins to install.
- Version string
- Version of Elasticsearch.
- admin
Password String - 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 String
- 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 List<String>
- A set of Elasticsearch plugins to install.
- version String
- Version of Elasticsearch.
- admin
Password string - 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 string
- 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 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.
- admin
Password String - Password for admin user of Elasticsearch.
- data
Node 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.
- master
Node 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
Mdb
Elastic Search Cluster Config Data Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- Resources
Mdb
Elastic Search Cluster Config Data Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
Mdb
Elastic Search Cluster Config Data Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
Mdb
Elastic Search Cluster Config Data Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
Mdb
Elastic 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
- Disk
Size int - Volume of the storage available to a host, in gigabytes.
- Disk
Type stringId - Type of the storage of Elasticsearch hosts.
- Resource
Preset stringId
- Disk
Size int - Volume of the storage available to a host, in gigabytes.
- Disk
Type stringId - Type of the storage of Elasticsearch hosts.
- Resource
Preset stringId
- disk
Size Integer - Volume of the storage available to a host, in gigabytes.
- disk
Type StringId - Type of the storage of Elasticsearch hosts.
- resource
Preset StringId
- disk
Size number - Volume of the storage available to a host, in gigabytes.
- disk
Type stringId - Type of the storage of Elasticsearch hosts.
- resource
Preset 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
- disk
Size Number - Volume of the storage available to a host, in gigabytes.
- disk
Type StringId - Type of the storage of Elasticsearch hosts.
- resource
Preset StringId
MdbElasticSearchClusterConfigMasterNode, MdbElasticSearchClusterConfigMasterNodeArgs
- Resources
Mdb
Elastic Search Cluster Config Master Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- Resources
Mdb
Elastic Search Cluster Config Master Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
Mdb
Elastic Search Cluster Config Master Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
Mdb
Elastic Search Cluster Config Master Node Resources - Resources allocated to hosts of the Elasticsearch master nodes subcluster. The structure is documented below.
- resources
Mdb
Elastic 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
- Disk
Size int - Volume of the storage available to a host, in gigabytes.
- Disk
Type stringId - Type of the storage of Elasticsearch hosts.
- Resource
Preset stringId
- Disk
Size int - Volume of the storage available to a host, in gigabytes.
- Disk
Type stringId - Type of the storage of Elasticsearch hosts.
- Resource
Preset stringId
- disk
Size Integer - Volume of the storage available to a host, in gigabytes.
- disk
Type StringId - Type of the storage of Elasticsearch hosts.
- resource
Preset StringId
- disk
Size number - Volume of the storage available to a host, in gigabytes.
- disk
Type stringId - Type of the storage of Elasticsearch hosts.
- resource
Preset 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
- disk
Size Number - Volume of the storage available to a host, in gigabytes.
- disk
Type StringId - Type of the storage of Elasticsearch hosts.
- resource
Preset StringId
MdbElasticSearchClusterHost, MdbElasticSearchClusterHostArgs
- Name string
- User defined host name.
- Type string
- Type of maintenance window. Can be either
ANYTIME
orWEEKLY
. 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.
- Assign
Public boolIp - Sets whether the host should get a public IP address on creation. Can be either
true
orfalse
. - Fqdn string
- The fully qualified domain name of the host.
- Subnet
Id 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
orWEEKLY
. 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.
- Assign
Public boolIp - Sets whether the host should get a public IP address on creation. Can be either
true
orfalse
. - Fqdn string
- The fully qualified domain name of the host.
- Subnet
Id 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
orWEEKLY
. 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.
- assign
Public BooleanIp - Sets whether the host should get a public IP address on creation. Can be either
true
orfalse
. - fqdn String
- The fully qualified domain name of the host.
- subnet
Id 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
orWEEKLY
. 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.
- assign
Public booleanIp - Sets whether the host should get a public IP address on creation. Can be either
true
orfalse
. - fqdn string
- The fully qualified domain name of the host.
- subnet
Id 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
orWEEKLY
. 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
true
orfalse
. - 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
orWEEKLY
. 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.
- assign
Public BooleanIp - Sets whether the host should get a public IP address on creation. Can be either
true
orfalse
. - fqdn String
- The fully qualified domain name of the host.
- subnet
Id 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
orWEEKLY
. 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
orWEEKLY
. 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
orWEEKLY
. 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
orWEEKLY
. 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
orWEEKLY
. 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
orWEEKLY
. 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.