We recommend using Azure Native.
azure.elasticcloud.Elasticsearch
Explore with Pulumi AI
Manages an Elasticsearch in Elastic Cloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const test = new azure.core.ResourceGroup("test", {
name: "example-resources",
location: "West Europe",
});
const testElasticsearch = new azure.elasticcloud.Elasticsearch("test", {
name: "example-elasticsearch",
resourceGroupName: test.name,
location: test.location,
skuName: "ess-consumption-2024_Monthly",
elasticCloudEmailAddress: "user@example.com",
});
import pulumi
import pulumi_azure as azure
test = azure.core.ResourceGroup("test",
name="example-resources",
location="West Europe")
test_elasticsearch = azure.elasticcloud.Elasticsearch("test",
name="example-elasticsearch",
resource_group_name=test.name,
location=test.location,
sku_name="ess-consumption-2024_Monthly",
elastic_cloud_email_address="user@example.com")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/elasticcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := core.NewResourceGroup(ctx, "test", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = elasticcloud.NewElasticsearch(ctx, "test", &elasticcloud.ElasticsearchArgs{
Name: pulumi.String("example-elasticsearch"),
ResourceGroupName: test.Name,
Location: test.Location,
SkuName: pulumi.String("ess-consumption-2024_Monthly"),
ElasticCloudEmailAddress: pulumi.String("user@example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var test = new Azure.Core.ResourceGroup("test", new()
{
Name = "example-resources",
Location = "West Europe",
});
var testElasticsearch = new Azure.ElasticCloud.Elasticsearch("test", new()
{
Name = "example-elasticsearch",
ResourceGroupName = test.Name,
Location = test.Location,
SkuName = "ess-consumption-2024_Monthly",
ElasticCloudEmailAddress = "user@example.com",
});
});
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 test = new ResourceGroup("test", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var testElasticsearch = new Elasticsearch("testElasticsearch", ElasticsearchArgs.builder()
.name("example-elasticsearch")
.resourceGroupName(test.name())
.location(test.location())
.skuName("ess-consumption-2024_Monthly")
.elasticCloudEmailAddress("user@example.com")
.build());
}
}
resources:
test:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
testElasticsearch:
type: azure:elasticcloud:Elasticsearch
name: test
properties:
name: example-elasticsearch
resourceGroupName: ${test.name}
location: ${test.location}
skuName: ess-consumption-2024_Monthly
elasticCloudEmailAddress: user@example.com
Create Elasticsearch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Elasticsearch(name: string, args: ElasticsearchArgs, opts?: CustomResourceOptions);
@overload
def Elasticsearch(resource_name: str,
args: ElasticsearchArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Elasticsearch(resource_name: str,
opts: Optional[ResourceOptions] = None,
elastic_cloud_email_address: Optional[str] = None,
resource_group_name: Optional[str] = None,
sku_name: Optional[str] = None,
location: Optional[str] = None,
logs: Optional[ElasticsearchLogsArgs] = None,
monitoring_enabled: Optional[bool] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var elasticsearchResource = new Azure.ElasticCloud.Elasticsearch("elasticsearchResource", new()
{
ElasticCloudEmailAddress = "string",
ResourceGroupName = "string",
SkuName = "string",
Location = "string",
Logs = new Azure.ElasticCloud.Inputs.ElasticsearchLogsArgs
{
FilteringTags = new[]
{
new Azure.ElasticCloud.Inputs.ElasticsearchLogsFilteringTagArgs
{
Action = "string",
Name = "string",
Value = "string",
},
},
SendActivityLogs = false,
SendAzureadLogs = false,
SendSubscriptionLogs = false,
},
MonitoringEnabled = false,
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := elasticcloud.NewElasticsearch(ctx, "elasticsearchResource", &elasticcloud.ElasticsearchArgs{
ElasticCloudEmailAddress: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
SkuName: pulumi.String("string"),
Location: pulumi.String("string"),
Logs: &elasticcloud.ElasticsearchLogsArgs{
FilteringTags: elasticcloud.ElasticsearchLogsFilteringTagArray{
&elasticcloud.ElasticsearchLogsFilteringTagArgs{
Action: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
SendActivityLogs: pulumi.Bool(false),
SendAzureadLogs: pulumi.Bool(false),
SendSubscriptionLogs: pulumi.Bool(false),
},
MonitoringEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var elasticsearchResource = new Elasticsearch("elasticsearchResource", ElasticsearchArgs.builder()
.elasticCloudEmailAddress("string")
.resourceGroupName("string")
.skuName("string")
.location("string")
.logs(ElasticsearchLogsArgs.builder()
.filteringTags(ElasticsearchLogsFilteringTagArgs.builder()
.action("string")
.name("string")
.value("string")
.build())
.sendActivityLogs(false)
.sendAzureadLogs(false)
.sendSubscriptionLogs(false)
.build())
.monitoringEnabled(false)
.name("string")
.tags(Map.of("string", "string"))
.build());
elasticsearch_resource = azure.elasticcloud.Elasticsearch("elasticsearchResource",
elastic_cloud_email_address="string",
resource_group_name="string",
sku_name="string",
location="string",
logs={
"filtering_tags": [{
"action": "string",
"name": "string",
"value": "string",
}],
"send_activity_logs": False,
"send_azuread_logs": False,
"send_subscription_logs": False,
},
monitoring_enabled=False,
name="string",
tags={
"string": "string",
})
const elasticsearchResource = new azure.elasticcloud.Elasticsearch("elasticsearchResource", {
elasticCloudEmailAddress: "string",
resourceGroupName: "string",
skuName: "string",
location: "string",
logs: {
filteringTags: [{
action: "string",
name: "string",
value: "string",
}],
sendActivityLogs: false,
sendAzureadLogs: false,
sendSubscriptionLogs: false,
},
monitoringEnabled: false,
name: "string",
tags: {
string: "string",
},
});
type: azure:elasticcloud:Elasticsearch
properties:
elasticCloudEmailAddress: string
location: string
logs:
filteringTags:
- action: string
name: string
value: string
sendActivityLogs: false
sendAzureadLogs: false
sendSubscriptionLogs: false
monitoringEnabled: false
name: string
resourceGroupName: string
skuName: string
tags:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Elasticsearch resource accepts the following input properties:
- Elastic
Cloud stringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- Resource
Group stringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- Sku
Name string Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- Location string
- The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- Logs
Elasticsearch
Logs - 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 string
- The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Elasticsearch resource.
- Elastic
Cloud stringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- Resource
Group stringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- Sku
Name string Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- Location string
- The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- Logs
Elasticsearch
Logs Args - 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 string
- The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.
- map[string]string
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic
Cloud StringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- resource
Group StringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- sku
Name String Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- location String
- The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- logs
Elasticsearch
Logs - A
logs
block as defined below. - monitoring
Enabled 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.
- Map<String,String>
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic
Cloud stringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- resource
Group stringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- sku
Name string Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- location string
- The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- logs
Elasticsearch
Logs - A
logs
block as defined below. - monitoring
Enabled 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.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic_
cloud_ stremail_ address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- resource_
group_ strname - 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.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- location str
- The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- logs
Elasticsearch
Logs Args - 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.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic
Cloud StringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- resource
Group StringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- sku
Name String Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- 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. - monitoring
Enabled 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.
- 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:
- Elastic
Cloud stringDeployment Id - The ID of the Deployment within Elastic Cloud.
- Elastic
Cloud stringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- Elastic
Cloud stringUser Id - The ID of the User Account within Elastic Cloud.
- Elasticsearch
Service stringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kibana
Service stringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- Kibana
Sso stringUri - The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
- Elastic
Cloud stringDeployment Id - The ID of the Deployment within Elastic Cloud.
- Elastic
Cloud stringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- Elastic
Cloud stringUser Id - The ID of the User Account within Elastic Cloud.
- Elasticsearch
Service stringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kibana
Service stringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- Kibana
Sso stringUri - The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
- elastic
Cloud StringDeployment Id - The ID of the Deployment within Elastic Cloud.
- elastic
Cloud StringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic
Cloud StringUser Id - The ID of the User Account within Elastic Cloud.
- elasticsearch
Service StringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- id String
- The provider-assigned unique ID for this managed resource.
- kibana
Service StringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana
Sso StringUri - The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
- elastic
Cloud stringDeployment Id - The ID of the Deployment within Elastic Cloud.
- elastic
Cloud stringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic
Cloud stringUser Id - The ID of the User Account within Elastic Cloud.
- elasticsearch
Service stringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- id string
- The provider-assigned unique ID for this managed resource.
- kibana
Service stringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana
Sso stringUri - The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
- elastic_
cloud_ strdeployment_ id - The ID of the Deployment within Elastic Cloud.
- elastic_
cloud_ strsso_ default_ url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic_
cloud_ struser_ id - The ID of the User Account within Elastic Cloud.
- elasticsearch_
service_ strurl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- id str
- The provider-assigned unique ID for this managed resource.
- kibana_
service_ strurl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana_
sso_ struri - The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
- elastic
Cloud StringDeployment Id - The ID of the Deployment within Elastic Cloud.
- elastic
Cloud StringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic
Cloud StringUser Id - The ID of the User Account within Elastic Cloud.
- elasticsearch
Service StringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- id String
- The provider-assigned unique ID for this managed resource.
- kibana
Service StringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana
Sso StringUri - 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.
- Elastic
Cloud stringDeployment Id - The ID of the Deployment within Elastic Cloud.
- Elastic
Cloud stringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- Elastic
Cloud stringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- Elastic
Cloud stringUser Id - The ID of the User Account within Elastic Cloud.
- Elasticsearch
Service stringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- Kibana
Service stringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- Kibana
Sso stringUri - 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
Elasticsearch
Logs - 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 string
- The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.
- Resource
Group stringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- Sku
Name string Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Elasticsearch resource.
- Elastic
Cloud stringDeployment Id - The ID of the Deployment within Elastic Cloud.
- Elastic
Cloud stringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- Elastic
Cloud stringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- Elastic
Cloud stringUser Id - The ID of the User Account within Elastic Cloud.
- Elasticsearch
Service stringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- Kibana
Service stringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- Kibana
Sso stringUri - 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
Elasticsearch
Logs Args - 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 string
- The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.
- Resource
Group stringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- Sku
Name string Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- map[string]string
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic
Cloud StringDeployment Id - The ID of the Deployment within Elastic Cloud.
- elastic
Cloud StringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- elastic
Cloud StringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic
Cloud StringUser Id - The ID of the User Account within Elastic Cloud.
- elasticsearch
Service StringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- kibana
Service StringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana
Sso StringUri - 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
Elasticsearch
Logs - A
logs
block as defined below. - monitoring
Enabled 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.
- resource
Group StringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- sku
Name String Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- Map<String,String>
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic
Cloud stringDeployment Id - The ID of the Deployment within Elastic Cloud.
- elastic
Cloud stringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- elastic
Cloud stringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic
Cloud stringUser Id - The ID of the User Account within Elastic Cloud.
- elasticsearch
Service stringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- kibana
Service stringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana
Sso stringUri - 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
Elasticsearch
Logs - A
logs
block as defined below. - monitoring
Enabled 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.
- resource
Group stringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- sku
Name string Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic_
cloud_ strdeployment_ id - The ID of the Deployment within Elastic Cloud.
- elastic_
cloud_ stremail_ address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- elastic_
cloud_ strsso_ default_ url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic_
cloud_ struser_ id - The ID of the User Account within Elastic Cloud.
- elasticsearch_
service_ strurl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- kibana_
service_ strurl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana_
sso_ struri - 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
Elasticsearch
Logs Args - 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_ strname - 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.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Elasticsearch resource.
- elastic
Cloud StringDeployment Id - The ID of the Deployment within Elastic Cloud.
- elastic
Cloud StringEmail Address - Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
- elastic
Cloud StringSso Default Url - The Default URL used for Single Sign On (SSO) to Elastic Cloud.
- elastic
Cloud StringUser Id - The ID of the User Account within Elastic Cloud.
- elasticsearch
Service StringUrl - The URL to the Elasticsearch Service associated with this Elasticsearch.
- kibana
Service StringUrl - The URL to the Kibana Dashboard associated with this Elasticsearch.
- kibana
Sso StringUri - 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. - monitoring
Enabled 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.
- resource
Group StringName - The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
- sku
Name String Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
NOTE: The SKU depends on the Elasticsearch Plans available for your account and is a combination of PlanID_Term. Ex: If the plan ID is "planXYZ" and term is "Yearly", the SKU will be "planXYZ_Yearly". You may find your eligible plans here or in the online documentation here for more details or in case of any issues with the SKU.
- Map<String>
- A mapping of tags which should be assigned to the Elasticsearch resource.
Supporting Types
ElasticsearchLogs, ElasticsearchLogsArgs
- List<Elasticsearch
Logs Filtering Tag> - A list of
filtering_tag
blocks as defined above. - Send
Activity boolLogs - Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - Send
Azuread boolLogs - Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - Send
Subscription boolLogs - Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to
false
.
- []Elasticsearch
Logs Filtering Tag - A list of
filtering_tag
blocks as defined above. - Send
Activity boolLogs - Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - Send
Azuread boolLogs - Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - Send
Subscription boolLogs - Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to
false
.
- List<Elasticsearch
Logs Filtering Tag> - A list of
filtering_tag
blocks as defined above. - send
Activity BooleanLogs - Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send
Azuread BooleanLogs - Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send
Subscription BooleanLogs - Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to
false
.
- Elasticsearch
Logs Filtering Tag[] - A list of
filtering_tag
blocks as defined above. - send
Activity booleanLogs - Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send
Azuread booleanLogs - Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send
Subscription booleanLogs - Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to
false
.
- Sequence[Elasticsearch
Logs Filtering Tag] - A list of
filtering_tag
blocks as defined above. - send_
activity_ boollogs - Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send_
azuread_ boollogs - Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send_
subscription_ boollogs - Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to
false
.
- List<Property Map>
- A list of
filtering_tag
blocks as defined above. - send
Activity BooleanLogs - Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send
Azuread BooleanLogs - Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to
false
. - send
Subscription BooleanLogs - Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to
false
.
ElasticsearchLogsFilteringTag, ElasticsearchLogsFilteringTagArgs
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.