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:
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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 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.
- 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.
- 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 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.
- 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.
- 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 Args 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.
- 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 Args 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.
- {[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.
- 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.
- Map<String>
A mapping of tags which should be assigned to the Elasticsearch resource.
Supporting Types
ElasticsearchLogs
- 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
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.