azure logo
Azure Classic v5.43.0, May 6 23

azure.elasticcloud.Elasticsearch

Explore with Pulumi AI

Manages an Elasticsearch in Elastic Cloud.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var testResourceGroup = new Azure.Core.ResourceGroup("testResourceGroup", new()
    {
        Location = "West Europe",
    });

    var testElasticsearch = new Azure.ElasticCloud.Elasticsearch("testElasticsearch", new()
    {
        ResourceGroupName = testResourceGroup.Name,
        Location = testResourceGroup.Location,
        SkuName = "ess-monthly-consumption_Monthly",
        ElasticCloudEmailAddress = "user@example.com",
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/elasticcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testResourceGroup, err := core.NewResourceGroup(ctx, "testResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = elasticcloud.NewElasticsearch(ctx, "testElasticsearch", &elasticcloud.ElasticsearchArgs{
			ResourceGroupName:        testResourceGroup.Name,
			Location:                 testResourceGroup.Location,
			SkuName:                  pulumi.String("ess-monthly-consumption_Monthly"),
			ElasticCloudEmailAddress: pulumi.String("user@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.elasticcloud.Elasticsearch;
import com.pulumi.azure.elasticcloud.ElasticsearchArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testResourceGroup = new ResourceGroup("testResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var testElasticsearch = new Elasticsearch("testElasticsearch", ElasticsearchArgs.builder()        
            .resourceGroupName(testResourceGroup.name())
            .location(testResourceGroup.location())
            .skuName("ess-monthly-consumption_Monthly")
            .elasticCloudEmailAddress("user@example.com")
            .build());

    }
}
import pulumi
import pulumi_azure as azure

test_resource_group = azure.core.ResourceGroup("testResourceGroup", location="West Europe")
test_elasticsearch = azure.elasticcloud.Elasticsearch("testElasticsearch",
    resource_group_name=test_resource_group.name,
    location=test_resource_group.location,
    sku_name="ess-monthly-consumption_Monthly",
    elastic_cloud_email_address="user@example.com")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const testResourceGroup = new azure.core.ResourceGroup("testResourceGroup", {location: "West Europe"});
const testElasticsearch = new azure.elasticcloud.Elasticsearch("testElasticsearch", {
    resourceGroupName: testResourceGroup.name,
    location: testResourceGroup.location,
    skuName: "ess-monthly-consumption_Monthly",
    elasticCloudEmailAddress: "user@example.com",
});
resources:
  testResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  testElasticsearch:
    type: azure:elasticcloud:Elasticsearch
    properties:
      resourceGroupName: ${testResourceGroup.name}
      location: ${testResourceGroup.location}
      skuName: ess-monthly-consumption_Monthly
      elasticCloudEmailAddress: user@example.com

Create Elasticsearch Resource

new Elasticsearch(name: string, args: ElasticsearchArgs, opts?: CustomResourceOptions);
@overload
def Elasticsearch(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  elastic_cloud_email_address: Optional[str] = None,
                  location: Optional[str] = None,
                  logs: Optional[ElasticsearchLogsArgs] = None,
                  monitoring_enabled: Optional[bool] = None,
                  name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  sku_name: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)
@overload
def Elasticsearch(resource_name: str,
                  args: ElasticsearchArgs,
                  opts: Optional[ResourceOptions] = None)
func NewElasticsearch(ctx *Context, name string, args ElasticsearchArgs, opts ...ResourceOption) (*Elasticsearch, error)
public Elasticsearch(string name, ElasticsearchArgs args, CustomResourceOptions? opts = null)
public Elasticsearch(String name, ElasticsearchArgs args)
public Elasticsearch(String name, ElasticsearchArgs args, CustomResourceOptions options)
type: azure:elasticcloud:Elasticsearch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ElasticsearchArgs
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 ElasticsearchArgs
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 ElasticsearchArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ElasticsearchArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ElasticsearchArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Elasticsearch Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Elasticsearch resource accepts the following input properties:

ElasticCloudEmailAddress string

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

ResourceGroupName string

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

SkuName string

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

Location string

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

Logs ElasticsearchLogsArgs

A logs block as defined below.

MonitoringEnabled bool

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

Name string

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Elasticsearch resource.

ElasticCloudEmailAddress string

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

ResourceGroupName string

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

SkuName string

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

Location string

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

Logs ElasticsearchLogsArgs

A logs block as defined below.

MonitoringEnabled bool

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

Name string

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

Tags map[string]string

A mapping of tags which should be assigned to the Elasticsearch resource.

elasticCloudEmailAddress String

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

resourceGroupName String

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

skuName String

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

location String

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs ElasticsearchLogsArgs

A logs block as defined below.

monitoringEnabled Boolean

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name String

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

tags Map<String,String>

A mapping of tags which should be assigned to the Elasticsearch resource.

elasticCloudEmailAddress string

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

resourceGroupName string

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

skuName string

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

location string

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs ElasticsearchLogsArgs

A logs block as defined below.

monitoringEnabled boolean

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name string

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Elasticsearch resource.

elastic_cloud_email_address str

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

resource_group_name str

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

sku_name str

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

location str

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs ElasticsearchLogsArgs

A logs block as defined below.

monitoring_enabled bool

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name str

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Elasticsearch resource.

elasticCloudEmailAddress String

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

resourceGroupName String

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

skuName String

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

location String

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs Property Map

A logs block as defined below.

monitoringEnabled Boolean

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name String

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

tags Map<String>

A mapping of tags which should be assigned to the Elasticsearch resource.

Outputs

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

ElasticCloudDeploymentId string

The ID of the Deployment within Elastic Cloud.

ElasticCloudSsoDefaultUrl string

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

ElasticCloudUserId string

The ID of the User Account within Elastic Cloud.

ElasticsearchServiceUrl string

The URL to the Elasticsearch Service associated with this Elasticsearch.

Id string

The provider-assigned unique ID for this managed resource.

KibanaServiceUrl string

The URL to the Kibana Dashboard associated with this Elasticsearch.

KibanaSsoUri string

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

ElasticCloudDeploymentId string

The ID of the Deployment within Elastic Cloud.

ElasticCloudSsoDefaultUrl string

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

ElasticCloudUserId string

The ID of the User Account within Elastic Cloud.

ElasticsearchServiceUrl string

The URL to the Elasticsearch Service associated with this Elasticsearch.

Id string

The provider-assigned unique ID for this managed resource.

KibanaServiceUrl string

The URL to the Kibana Dashboard associated with this Elasticsearch.

KibanaSsoUri string

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

elasticCloudDeploymentId String

The ID of the Deployment within Elastic Cloud.

elasticCloudSsoDefaultUrl String

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elasticCloudUserId String

The ID of the User Account within Elastic Cloud.

elasticsearchServiceUrl String

The URL to the Elasticsearch Service associated with this Elasticsearch.

id String

The provider-assigned unique ID for this managed resource.

kibanaServiceUrl String

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibanaSsoUri String

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

elasticCloudDeploymentId string

The ID of the Deployment within Elastic Cloud.

elasticCloudSsoDefaultUrl string

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elasticCloudUserId string

The ID of the User Account within Elastic Cloud.

elasticsearchServiceUrl string

The URL to the Elasticsearch Service associated with this Elasticsearch.

id string

The provider-assigned unique ID for this managed resource.

kibanaServiceUrl string

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibanaSsoUri string

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

elastic_cloud_deployment_id str

The ID of the Deployment within Elastic Cloud.

elastic_cloud_sso_default_url str

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elastic_cloud_user_id str

The ID of the User Account within Elastic Cloud.

elasticsearch_service_url str

The URL to the Elasticsearch Service associated with this Elasticsearch.

id str

The provider-assigned unique ID for this managed resource.

kibana_service_url str

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibana_sso_uri str

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

elasticCloudDeploymentId String

The ID of the Deployment within Elastic Cloud.

elasticCloudSsoDefaultUrl String

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elasticCloudUserId String

The ID of the User Account within Elastic Cloud.

elasticsearchServiceUrl String

The URL to the Elasticsearch Service associated with this Elasticsearch.

id String

The provider-assigned unique ID for this managed resource.

kibanaServiceUrl String

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibanaSsoUri String

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

Look up Existing Elasticsearch Resource

Get an existing Elasticsearch 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?: ElasticsearchState, opts?: CustomResourceOptions): Elasticsearch
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        elastic_cloud_deployment_id: Optional[str] = None,
        elastic_cloud_email_address: Optional[str] = None,
        elastic_cloud_sso_default_url: Optional[str] = None,
        elastic_cloud_user_id: Optional[str] = None,
        elasticsearch_service_url: Optional[str] = None,
        kibana_service_url: Optional[str] = None,
        kibana_sso_uri: Optional[str] = None,
        location: Optional[str] = None,
        logs: Optional[ElasticsearchLogsArgs] = None,
        monitoring_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        sku_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> Elasticsearch
func GetElasticsearch(ctx *Context, name string, id IDInput, state *ElasticsearchState, opts ...ResourceOption) (*Elasticsearch, error)
public static Elasticsearch Get(string name, Input<string> id, ElasticsearchState? state, CustomResourceOptions? opts = null)
public static Elasticsearch get(String name, Output<String> id, ElasticsearchState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ElasticCloudDeploymentId string

The ID of the Deployment within Elastic Cloud.

ElasticCloudEmailAddress string

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

ElasticCloudSsoDefaultUrl string

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

ElasticCloudUserId string

The ID of the User Account within Elastic Cloud.

ElasticsearchServiceUrl string

The URL to the Elasticsearch Service associated with this Elasticsearch.

KibanaServiceUrl string

The URL to the Kibana Dashboard associated with this Elasticsearch.

KibanaSsoUri string

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

Location string

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

Logs ElasticsearchLogsArgs

A logs block as defined below.

MonitoringEnabled bool

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

Name string

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

ResourceGroupName string

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

SkuName string

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Elasticsearch resource.

ElasticCloudDeploymentId string

The ID of the Deployment within Elastic Cloud.

ElasticCloudEmailAddress string

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

ElasticCloudSsoDefaultUrl string

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

ElasticCloudUserId string

The ID of the User Account within Elastic Cloud.

ElasticsearchServiceUrl string

The URL to the Elasticsearch Service associated with this Elasticsearch.

KibanaServiceUrl string

The URL to the Kibana Dashboard associated with this Elasticsearch.

KibanaSsoUri string

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

Location string

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

Logs ElasticsearchLogsArgs

A logs block as defined below.

MonitoringEnabled bool

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

Name string

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

ResourceGroupName string

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

SkuName string

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

Tags map[string]string

A mapping of tags which should be assigned to the Elasticsearch resource.

elasticCloudDeploymentId String

The ID of the Deployment within Elastic Cloud.

elasticCloudEmailAddress String

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

elasticCloudSsoDefaultUrl String

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elasticCloudUserId String

The ID of the User Account within Elastic Cloud.

elasticsearchServiceUrl String

The URL to the Elasticsearch Service associated with this Elasticsearch.

kibanaServiceUrl String

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibanaSsoUri String

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

location String

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs ElasticsearchLogsArgs

A logs block as defined below.

monitoringEnabled Boolean

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name String

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

resourceGroupName String

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

skuName String

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

tags Map<String,String>

A mapping of tags which should be assigned to the Elasticsearch resource.

elasticCloudDeploymentId string

The ID of the Deployment within Elastic Cloud.

elasticCloudEmailAddress string

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

elasticCloudSsoDefaultUrl string

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elasticCloudUserId string

The ID of the User Account within Elastic Cloud.

elasticsearchServiceUrl string

The URL to the Elasticsearch Service associated with this Elasticsearch.

kibanaServiceUrl string

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibanaSsoUri string

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

location string

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs ElasticsearchLogsArgs

A logs block as defined below.

monitoringEnabled boolean

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name string

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

resourceGroupName string

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

skuName string

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Elasticsearch resource.

elastic_cloud_deployment_id str

The ID of the Deployment within Elastic Cloud.

elastic_cloud_email_address str

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

elastic_cloud_sso_default_url str

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elastic_cloud_user_id str

The ID of the User Account within Elastic Cloud.

elasticsearch_service_url str

The URL to the Elasticsearch Service associated with this Elasticsearch.

kibana_service_url str

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibana_sso_uri str

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

location str

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs ElasticsearchLogsArgs

A logs block as defined below.

monitoring_enabled bool

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name str

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

resource_group_name str

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

sku_name str

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Elasticsearch resource.

elasticCloudDeploymentId String

The ID of the Deployment within Elastic Cloud.

elasticCloudEmailAddress String

Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.

elasticCloudSsoDefaultUrl String

The Default URL used for Single Sign On (SSO) to Elastic Cloud.

elasticCloudUserId String

The ID of the User Account within Elastic Cloud.

elasticsearchServiceUrl String

The URL to the Elasticsearch Service associated with this Elasticsearch.

kibanaServiceUrl String

The URL to the Kibana Dashboard associated with this Elasticsearch.

kibanaSsoUri String

The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.

location String

The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

logs Property Map

A logs block as defined below.

monitoringEnabled Boolean

Specifies if the Elasticsearch should have monitoring configured? Defaults to true. Changing this forces a new Elasticsearch to be created.

name String

The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.

resourceGroupName String

The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.

skuName String

Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.

tags Map<String>

A mapping of tags which should be assigned to the Elasticsearch resource.

Supporting Types

ElasticsearchLogs

FilteringTags List<ElasticsearchLogsFilteringTag>

A list of filtering_tag blocks as defined above.

SendActivityLogs bool

Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to false.

SendAzureadLogs bool

Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to false.

SendSubscriptionLogs bool

Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to false.

FilteringTags []ElasticsearchLogsFilteringTag

A list of filtering_tag blocks as defined above.

SendActivityLogs bool

Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to false.

SendAzureadLogs bool

Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to false.

SendSubscriptionLogs bool

Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to false.

filteringTags List<ElasticsearchLogsFilteringTag>

A list of filtering_tag blocks as defined above.

sendActivityLogs Boolean

Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to false.

sendAzureadLogs Boolean

Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to false.

sendSubscriptionLogs Boolean

Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to false.

filteringTags ElasticsearchLogsFilteringTag[]

A list of filtering_tag blocks as defined above.

sendActivityLogs boolean

Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to false.

sendAzureadLogs boolean

Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to false.

sendSubscriptionLogs boolean

Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to false.

filtering_tags Sequence[ElasticsearchLogsFilteringTag]

A list of filtering_tag blocks as defined above.

send_activity_logs bool

Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to false.

send_azuread_logs bool

Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to false.

send_subscription_logs bool

Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to false.

filteringTags List<Property Map>

A list of filtering_tag blocks as defined above.

sendActivityLogs Boolean

Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to false.

sendAzureadLogs Boolean

Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to false.

sendSubscriptionLogs Boolean

Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to false.

ElasticsearchLogsFilteringTag

Action string

Specifies the type of action which should be taken when the Tag matches the name and value. Possible values are Exclude and Include.

Name string

Specifies the name (key) of the Tag which should be filtered.

Value string

Specifies the value of the Tag which should be filtered.

Action string

Specifies the type of action which should be taken when the Tag matches the name and value. Possible values are Exclude and Include.

Name string

Specifies the name (key) of the Tag which should be filtered.

Value string

Specifies the value of the Tag which should be filtered.

action String

Specifies the type of action which should be taken when the Tag matches the name and value. Possible values are Exclude and Include.

name String

Specifies the name (key) of the Tag which should be filtered.

value String

Specifies the value of the Tag which should be filtered.

action string

Specifies the type of action which should be taken when the Tag matches the name and value. Possible values are Exclude and Include.

name string

Specifies the name (key) of the Tag which should be filtered.

value string

Specifies the value of the Tag which should be filtered.

action str

Specifies the type of action which should be taken when the Tag matches the name and value. Possible values are Exclude and Include.

name str

Specifies the name (key) of the Tag which should be filtered.

value str

Specifies the value of the Tag which should be filtered.

action String

Specifies the type of action which should be taken when the Tag matches the name and value. Possible values are Exclude and Include.

name String

Specifies the name (key) of the Tag which should be filtered.

value String

Specifies the value of the Tag which should be filtered.

Import

Elasticsearch’s can be imported using the resource id, e.g.

 $ pulumi import azure:elasticcloud/elasticsearch:Elasticsearch example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Elastic/monitors/monitor1

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.