elasticcloud

package
v5.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Elasticsearch

type Elasticsearch struct {
	pulumi.CustomResourceState

	// The ID of the Deployment within Elastic Cloud.
	ElasticCloudDeploymentId pulumi.StringOutput `pulumi:"elasticCloudDeploymentId"`
	// Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
	ElasticCloudEmailAddress pulumi.StringOutput `pulumi:"elasticCloudEmailAddress"`
	// The Default URL used for Single Sign On (SSO) to Elastic Cloud.
	ElasticCloudSsoDefaultUrl pulumi.StringOutput `pulumi:"elasticCloudSsoDefaultUrl"`
	// The ID of the User Account within Elastic Cloud.
	ElasticCloudUserId pulumi.StringOutput `pulumi:"elasticCloudUserId"`
	// The URL to the Elasticsearch Service associated with this Elasticsearch.
	ElasticsearchServiceUrl pulumi.StringOutput `pulumi:"elasticsearchServiceUrl"`
	// The URL to the Kibana Dashboard associated with this Elasticsearch.
	KibanaServiceUrl pulumi.StringOutput `pulumi:"kibanaServiceUrl"`
	// The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
	KibanaSsoUri pulumi.StringOutput `pulumi:"kibanaSsoUri"`
	// The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A `logs` block as defined below.
	Logs ElasticsearchLogsOutput `pulumi:"logs"`
	// Specifies if the Elasticsearch should have monitoring configured? Defaults to `true`. Changing this forces a new Elasticsearch to be created.
	MonitoringEnabled pulumi.BoolPtrOutput `pulumi:"monitoringEnabled"`
	// The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags which should be assigned to the Elasticsearch resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Elasticsearch in Elastic Cloud.

## Example Usage

```go 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
	})
}

```

## Import

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

```sh

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

```

func GetElasticsearch

func GetElasticsearch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ElasticsearchState, opts ...pulumi.ResourceOption) (*Elasticsearch, error)

GetElasticsearch gets an existing Elasticsearch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewElasticsearch

func NewElasticsearch(ctx *pulumi.Context,
	name string, args *ElasticsearchArgs, opts ...pulumi.ResourceOption) (*Elasticsearch, error)

NewElasticsearch registers a new resource with the given unique name, arguments, and options.

func (*Elasticsearch) ElementType

func (*Elasticsearch) ElementType() reflect.Type

func (*Elasticsearch) ToElasticsearchOutput

func (i *Elasticsearch) ToElasticsearchOutput() ElasticsearchOutput

func (*Elasticsearch) ToElasticsearchOutputWithContext

func (i *Elasticsearch) ToElasticsearchOutputWithContext(ctx context.Context) ElasticsearchOutput

type ElasticsearchArgs

type ElasticsearchArgs struct {
	// Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
	ElasticCloudEmailAddress pulumi.StringInput
	// The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
	Location pulumi.StringPtrInput
	// A `logs` block as defined below.
	Logs ElasticsearchLogsPtrInput
	// Specifies if the Elasticsearch should have monitoring configured? Defaults to `true`. Changing this forces a new Elasticsearch to be created.
	MonitoringEnabled pulumi.BoolPtrInput
	// The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
	SkuName pulumi.StringInput
	// A mapping of tags which should be assigned to the Elasticsearch resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Elasticsearch resource.

func (ElasticsearchArgs) ElementType

func (ElasticsearchArgs) ElementType() reflect.Type

type ElasticsearchArray

type ElasticsearchArray []ElasticsearchInput

func (ElasticsearchArray) ElementType

func (ElasticsearchArray) ElementType() reflect.Type

func (ElasticsearchArray) ToElasticsearchArrayOutput

func (i ElasticsearchArray) ToElasticsearchArrayOutput() ElasticsearchArrayOutput

func (ElasticsearchArray) ToElasticsearchArrayOutputWithContext

func (i ElasticsearchArray) ToElasticsearchArrayOutputWithContext(ctx context.Context) ElasticsearchArrayOutput

type ElasticsearchArrayInput

type ElasticsearchArrayInput interface {
	pulumi.Input

	ToElasticsearchArrayOutput() ElasticsearchArrayOutput
	ToElasticsearchArrayOutputWithContext(context.Context) ElasticsearchArrayOutput
}

ElasticsearchArrayInput is an input type that accepts ElasticsearchArray and ElasticsearchArrayOutput values. You can construct a concrete instance of `ElasticsearchArrayInput` via:

ElasticsearchArray{ ElasticsearchArgs{...} }

type ElasticsearchArrayOutput

type ElasticsearchArrayOutput struct{ *pulumi.OutputState }

func (ElasticsearchArrayOutput) ElementType

func (ElasticsearchArrayOutput) ElementType() reflect.Type

func (ElasticsearchArrayOutput) Index

func (ElasticsearchArrayOutput) ToElasticsearchArrayOutput

func (o ElasticsearchArrayOutput) ToElasticsearchArrayOutput() ElasticsearchArrayOutput

func (ElasticsearchArrayOutput) ToElasticsearchArrayOutputWithContext

func (o ElasticsearchArrayOutput) ToElasticsearchArrayOutputWithContext(ctx context.Context) ElasticsearchArrayOutput

type ElasticsearchInput

type ElasticsearchInput interface {
	pulumi.Input

	ToElasticsearchOutput() ElasticsearchOutput
	ToElasticsearchOutputWithContext(ctx context.Context) ElasticsearchOutput
}

type ElasticsearchLogs

type ElasticsearchLogs struct {
	// A list of `filteringTag` blocks as defined above.
	FilteringTags []ElasticsearchLogsFilteringTag `pulumi:"filteringTags"`
	// Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
	SendActivityLogs *bool `pulumi:"sendActivityLogs"`
	// Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
	SendAzureadLogs *bool `pulumi:"sendAzureadLogs"`
	// Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
	SendSubscriptionLogs *bool `pulumi:"sendSubscriptionLogs"`
}

type ElasticsearchLogsArgs

type ElasticsearchLogsArgs struct {
	// A list of `filteringTag` blocks as defined above.
	FilteringTags ElasticsearchLogsFilteringTagArrayInput `pulumi:"filteringTags"`
	// Specifies if the Azure Activity Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
	SendActivityLogs pulumi.BoolPtrInput `pulumi:"sendActivityLogs"`
	// Specifies if the AzureAD Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
	SendAzureadLogs pulumi.BoolPtrInput `pulumi:"sendAzureadLogs"`
	// Specifies if the Azure Subscription Logs should be sent to the Elasticsearch cluster. Defaults to `false`.
	SendSubscriptionLogs pulumi.BoolPtrInput `pulumi:"sendSubscriptionLogs"`
}

func (ElasticsearchLogsArgs) ElementType

func (ElasticsearchLogsArgs) ElementType() reflect.Type

func (ElasticsearchLogsArgs) ToElasticsearchLogsOutput

func (i ElasticsearchLogsArgs) ToElasticsearchLogsOutput() ElasticsearchLogsOutput

func (ElasticsearchLogsArgs) ToElasticsearchLogsOutputWithContext

func (i ElasticsearchLogsArgs) ToElasticsearchLogsOutputWithContext(ctx context.Context) ElasticsearchLogsOutput

func (ElasticsearchLogsArgs) ToElasticsearchLogsPtrOutput

func (i ElasticsearchLogsArgs) ToElasticsearchLogsPtrOutput() ElasticsearchLogsPtrOutput

func (ElasticsearchLogsArgs) ToElasticsearchLogsPtrOutputWithContext

func (i ElasticsearchLogsArgs) ToElasticsearchLogsPtrOutputWithContext(ctx context.Context) ElasticsearchLogsPtrOutput

type ElasticsearchLogsFilteringTag

type ElasticsearchLogsFilteringTag struct {
	// Specifies the type of action which should be taken when the Tag matches the `name` and `value`. Possible values are `Exclude` and `Include`.
	Action string `pulumi:"action"`
	// Specifies the name (key) of the Tag which should be filtered.
	Name string `pulumi:"name"`
	// Specifies the value of the Tag which should be filtered.
	Value string `pulumi:"value"`
}

type ElasticsearchLogsFilteringTagArgs

type ElasticsearchLogsFilteringTagArgs struct {
	// Specifies the type of action which should be taken when the Tag matches the `name` and `value`. Possible values are `Exclude` and `Include`.
	Action pulumi.StringInput `pulumi:"action"`
	// Specifies the name (key) of the Tag which should be filtered.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the value of the Tag which should be filtered.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ElasticsearchLogsFilteringTagArgs) ElementType

func (ElasticsearchLogsFilteringTagArgs) ToElasticsearchLogsFilteringTagOutput

func (i ElasticsearchLogsFilteringTagArgs) ToElasticsearchLogsFilteringTagOutput() ElasticsearchLogsFilteringTagOutput

func (ElasticsearchLogsFilteringTagArgs) ToElasticsearchLogsFilteringTagOutputWithContext

func (i ElasticsearchLogsFilteringTagArgs) ToElasticsearchLogsFilteringTagOutputWithContext(ctx context.Context) ElasticsearchLogsFilteringTagOutput

type ElasticsearchLogsFilteringTagArray

type ElasticsearchLogsFilteringTagArray []ElasticsearchLogsFilteringTagInput

func (ElasticsearchLogsFilteringTagArray) ElementType

func (ElasticsearchLogsFilteringTagArray) ToElasticsearchLogsFilteringTagArrayOutput

func (i ElasticsearchLogsFilteringTagArray) ToElasticsearchLogsFilteringTagArrayOutput() ElasticsearchLogsFilteringTagArrayOutput

func (ElasticsearchLogsFilteringTagArray) ToElasticsearchLogsFilteringTagArrayOutputWithContext

func (i ElasticsearchLogsFilteringTagArray) ToElasticsearchLogsFilteringTagArrayOutputWithContext(ctx context.Context) ElasticsearchLogsFilteringTagArrayOutput

type ElasticsearchLogsFilteringTagArrayInput

type ElasticsearchLogsFilteringTagArrayInput interface {
	pulumi.Input

	ToElasticsearchLogsFilteringTagArrayOutput() ElasticsearchLogsFilteringTagArrayOutput
	ToElasticsearchLogsFilteringTagArrayOutputWithContext(context.Context) ElasticsearchLogsFilteringTagArrayOutput
}

ElasticsearchLogsFilteringTagArrayInput is an input type that accepts ElasticsearchLogsFilteringTagArray and ElasticsearchLogsFilteringTagArrayOutput values. You can construct a concrete instance of `ElasticsearchLogsFilteringTagArrayInput` via:

ElasticsearchLogsFilteringTagArray{ ElasticsearchLogsFilteringTagArgs{...} }

type ElasticsearchLogsFilteringTagArrayOutput

type ElasticsearchLogsFilteringTagArrayOutput struct{ *pulumi.OutputState }

func (ElasticsearchLogsFilteringTagArrayOutput) ElementType

func (ElasticsearchLogsFilteringTagArrayOutput) Index

func (ElasticsearchLogsFilteringTagArrayOutput) ToElasticsearchLogsFilteringTagArrayOutput

func (o ElasticsearchLogsFilteringTagArrayOutput) ToElasticsearchLogsFilteringTagArrayOutput() ElasticsearchLogsFilteringTagArrayOutput

func (ElasticsearchLogsFilteringTagArrayOutput) ToElasticsearchLogsFilteringTagArrayOutputWithContext

func (o ElasticsearchLogsFilteringTagArrayOutput) ToElasticsearchLogsFilteringTagArrayOutputWithContext(ctx context.Context) ElasticsearchLogsFilteringTagArrayOutput

type ElasticsearchLogsFilteringTagInput

type ElasticsearchLogsFilteringTagInput interface {
	pulumi.Input

	ToElasticsearchLogsFilteringTagOutput() ElasticsearchLogsFilteringTagOutput
	ToElasticsearchLogsFilteringTagOutputWithContext(context.Context) ElasticsearchLogsFilteringTagOutput
}

ElasticsearchLogsFilteringTagInput is an input type that accepts ElasticsearchLogsFilteringTagArgs and ElasticsearchLogsFilteringTagOutput values. You can construct a concrete instance of `ElasticsearchLogsFilteringTagInput` via:

ElasticsearchLogsFilteringTagArgs{...}

type ElasticsearchLogsFilteringTagOutput

type ElasticsearchLogsFilteringTagOutput struct{ *pulumi.OutputState }

func (ElasticsearchLogsFilteringTagOutput) Action

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

func (ElasticsearchLogsFilteringTagOutput) ElementType

func (ElasticsearchLogsFilteringTagOutput) Name

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

func (ElasticsearchLogsFilteringTagOutput) ToElasticsearchLogsFilteringTagOutput

func (o ElasticsearchLogsFilteringTagOutput) ToElasticsearchLogsFilteringTagOutput() ElasticsearchLogsFilteringTagOutput

func (ElasticsearchLogsFilteringTagOutput) ToElasticsearchLogsFilteringTagOutputWithContext

func (o ElasticsearchLogsFilteringTagOutput) ToElasticsearchLogsFilteringTagOutputWithContext(ctx context.Context) ElasticsearchLogsFilteringTagOutput

func (ElasticsearchLogsFilteringTagOutput) Value

Specifies the value of the Tag which should be filtered.

type ElasticsearchLogsInput

type ElasticsearchLogsInput interface {
	pulumi.Input

	ToElasticsearchLogsOutput() ElasticsearchLogsOutput
	ToElasticsearchLogsOutputWithContext(context.Context) ElasticsearchLogsOutput
}

ElasticsearchLogsInput is an input type that accepts ElasticsearchLogsArgs and ElasticsearchLogsOutput values. You can construct a concrete instance of `ElasticsearchLogsInput` via:

ElasticsearchLogsArgs{...}

type ElasticsearchLogsOutput

type ElasticsearchLogsOutput struct{ *pulumi.OutputState }

func (ElasticsearchLogsOutput) ElementType

func (ElasticsearchLogsOutput) ElementType() reflect.Type

func (ElasticsearchLogsOutput) FilteringTags

A list of `filteringTag` blocks as defined above.

func (ElasticsearchLogsOutput) SendActivityLogs

func (o ElasticsearchLogsOutput) SendActivityLogs() pulumi.BoolPtrOutput

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

func (ElasticsearchLogsOutput) SendAzureadLogs

func (o ElasticsearchLogsOutput) SendAzureadLogs() pulumi.BoolPtrOutput

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

func (ElasticsearchLogsOutput) SendSubscriptionLogs

func (o ElasticsearchLogsOutput) SendSubscriptionLogs() pulumi.BoolPtrOutput

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

func (ElasticsearchLogsOutput) ToElasticsearchLogsOutput

func (o ElasticsearchLogsOutput) ToElasticsearchLogsOutput() ElasticsearchLogsOutput

func (ElasticsearchLogsOutput) ToElasticsearchLogsOutputWithContext

func (o ElasticsearchLogsOutput) ToElasticsearchLogsOutputWithContext(ctx context.Context) ElasticsearchLogsOutput

func (ElasticsearchLogsOutput) ToElasticsearchLogsPtrOutput

func (o ElasticsearchLogsOutput) ToElasticsearchLogsPtrOutput() ElasticsearchLogsPtrOutput

func (ElasticsearchLogsOutput) ToElasticsearchLogsPtrOutputWithContext

func (o ElasticsearchLogsOutput) ToElasticsearchLogsPtrOutputWithContext(ctx context.Context) ElasticsearchLogsPtrOutput

type ElasticsearchLogsPtrInput

type ElasticsearchLogsPtrInput interface {
	pulumi.Input

	ToElasticsearchLogsPtrOutput() ElasticsearchLogsPtrOutput
	ToElasticsearchLogsPtrOutputWithContext(context.Context) ElasticsearchLogsPtrOutput
}

ElasticsearchLogsPtrInput is an input type that accepts ElasticsearchLogsArgs, ElasticsearchLogsPtr and ElasticsearchLogsPtrOutput values. You can construct a concrete instance of `ElasticsearchLogsPtrInput` via:

        ElasticsearchLogsArgs{...}

or:

        nil

type ElasticsearchLogsPtrOutput

type ElasticsearchLogsPtrOutput struct{ *pulumi.OutputState }

func (ElasticsearchLogsPtrOutput) Elem

func (ElasticsearchLogsPtrOutput) ElementType

func (ElasticsearchLogsPtrOutput) ElementType() reflect.Type

func (ElasticsearchLogsPtrOutput) FilteringTags

A list of `filteringTag` blocks as defined above.

func (ElasticsearchLogsPtrOutput) SendActivityLogs

func (o ElasticsearchLogsPtrOutput) SendActivityLogs() pulumi.BoolPtrOutput

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

func (ElasticsearchLogsPtrOutput) SendAzureadLogs

func (o ElasticsearchLogsPtrOutput) SendAzureadLogs() pulumi.BoolPtrOutput

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

func (ElasticsearchLogsPtrOutput) SendSubscriptionLogs

func (o ElasticsearchLogsPtrOutput) SendSubscriptionLogs() pulumi.BoolPtrOutput

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

func (ElasticsearchLogsPtrOutput) ToElasticsearchLogsPtrOutput

func (o ElasticsearchLogsPtrOutput) ToElasticsearchLogsPtrOutput() ElasticsearchLogsPtrOutput

func (ElasticsearchLogsPtrOutput) ToElasticsearchLogsPtrOutputWithContext

func (o ElasticsearchLogsPtrOutput) ToElasticsearchLogsPtrOutputWithContext(ctx context.Context) ElasticsearchLogsPtrOutput

type ElasticsearchMap

type ElasticsearchMap map[string]ElasticsearchInput

func (ElasticsearchMap) ElementType

func (ElasticsearchMap) ElementType() reflect.Type

func (ElasticsearchMap) ToElasticsearchMapOutput

func (i ElasticsearchMap) ToElasticsearchMapOutput() ElasticsearchMapOutput

func (ElasticsearchMap) ToElasticsearchMapOutputWithContext

func (i ElasticsearchMap) ToElasticsearchMapOutputWithContext(ctx context.Context) ElasticsearchMapOutput

type ElasticsearchMapInput

type ElasticsearchMapInput interface {
	pulumi.Input

	ToElasticsearchMapOutput() ElasticsearchMapOutput
	ToElasticsearchMapOutputWithContext(context.Context) ElasticsearchMapOutput
}

ElasticsearchMapInput is an input type that accepts ElasticsearchMap and ElasticsearchMapOutput values. You can construct a concrete instance of `ElasticsearchMapInput` via:

ElasticsearchMap{ "key": ElasticsearchArgs{...} }

type ElasticsearchMapOutput

type ElasticsearchMapOutput struct{ *pulumi.OutputState }

func (ElasticsearchMapOutput) ElementType

func (ElasticsearchMapOutput) ElementType() reflect.Type

func (ElasticsearchMapOutput) MapIndex

func (ElasticsearchMapOutput) ToElasticsearchMapOutput

func (o ElasticsearchMapOutput) ToElasticsearchMapOutput() ElasticsearchMapOutput

func (ElasticsearchMapOutput) ToElasticsearchMapOutputWithContext

func (o ElasticsearchMapOutput) ToElasticsearchMapOutputWithContext(ctx context.Context) ElasticsearchMapOutput

type ElasticsearchOutput

type ElasticsearchOutput struct{ *pulumi.OutputState }

func (ElasticsearchOutput) ElasticCloudDeploymentId

func (o ElasticsearchOutput) ElasticCloudDeploymentId() pulumi.StringOutput

The ID of the Deployment within Elastic Cloud.

func (ElasticsearchOutput) ElasticCloudEmailAddress

func (o ElasticsearchOutput) ElasticCloudEmailAddress() pulumi.StringOutput

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

func (ElasticsearchOutput) ElasticCloudSsoDefaultUrl

func (o ElasticsearchOutput) ElasticCloudSsoDefaultUrl() pulumi.StringOutput

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

func (ElasticsearchOutput) ElasticCloudUserId

func (o ElasticsearchOutput) ElasticCloudUserId() pulumi.StringOutput

The ID of the User Account within Elastic Cloud.

func (ElasticsearchOutput) ElasticsearchServiceUrl

func (o ElasticsearchOutput) ElasticsearchServiceUrl() pulumi.StringOutput

The URL to the Elasticsearch Service associated with this Elasticsearch.

func (ElasticsearchOutput) ElementType

func (ElasticsearchOutput) ElementType() reflect.Type

func (ElasticsearchOutput) KibanaServiceUrl

func (o ElasticsearchOutput) KibanaServiceUrl() pulumi.StringOutput

The URL to the Kibana Dashboard associated with this Elasticsearch.

func (ElasticsearchOutput) KibanaSsoUri

func (o ElasticsearchOutput) KibanaSsoUri() pulumi.StringOutput

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

func (ElasticsearchOutput) Location

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

func (ElasticsearchOutput) Logs

A `logs` block as defined below.

func (ElasticsearchOutput) MonitoringEnabled

func (o ElasticsearchOutput) MonitoringEnabled() pulumi.BoolPtrOutput

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

func (ElasticsearchOutput) Name

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

func (ElasticsearchOutput) ResourceGroupName

func (o ElasticsearchOutput) ResourceGroupName() pulumi.StringOutput

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

func (ElasticsearchOutput) SkuName

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

func (ElasticsearchOutput) Tags

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

func (ElasticsearchOutput) ToElasticsearchOutput

func (o ElasticsearchOutput) ToElasticsearchOutput() ElasticsearchOutput

func (ElasticsearchOutput) ToElasticsearchOutputWithContext

func (o ElasticsearchOutput) ToElasticsearchOutputWithContext(ctx context.Context) ElasticsearchOutput

type ElasticsearchState

type ElasticsearchState struct {
	// The ID of the Deployment within Elastic Cloud.
	ElasticCloudDeploymentId pulumi.StringPtrInput
	// Specifies the Email Address which should be associated with this Elasticsearch account. Changing this forces a new Elasticsearch to be created.
	ElasticCloudEmailAddress pulumi.StringPtrInput
	// The Default URL used for Single Sign On (SSO) to Elastic Cloud.
	ElasticCloudSsoDefaultUrl pulumi.StringPtrInput
	// The ID of the User Account within Elastic Cloud.
	ElasticCloudUserId pulumi.StringPtrInput
	// The URL to the Elasticsearch Service associated with this Elasticsearch.
	ElasticsearchServiceUrl pulumi.StringPtrInput
	// The URL to the Kibana Dashboard associated with this Elasticsearch.
	KibanaServiceUrl pulumi.StringPtrInput
	// The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
	KibanaSsoUri pulumi.StringPtrInput
	// The Azure Region where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
	Location pulumi.StringPtrInput
	// A `logs` block as defined below.
	Logs ElasticsearchLogsPtrInput
	// Specifies if the Elasticsearch should have monitoring configured? Defaults to `true`. Changing this forces a new Elasticsearch to be created.
	MonitoringEnabled pulumi.BoolPtrInput
	// The name which should be used for this Elasticsearch resource. Changing this forces a new Elasticsearch to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the Elasticsearch resource should exist. Changing this forces a new Elasticsearch to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specifies the name of the SKU for this Elasticsearch. Changing this forces a new Elasticsearch to be created.
	SkuName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Elasticsearch resource.
	Tags pulumi.StringMapInput
}

func (ElasticsearchState) ElementType

func (ElasticsearchState) ElementType() reflect.Type

type GetElasticsearchLog

type GetElasticsearchLog struct {
	// A list of `filteringTag` blocks as defined above.
	FilteringTags []GetElasticsearchLogFilteringTag `pulumi:"filteringTags"`
	// Should the Azure Activity Logs should be sent to the Elasticsearch cluster?
	SendActivityLogs bool `pulumi:"sendActivityLogs"`
	// Should the AzureAD Logs should be sent to the Elasticsearch cluster?
	SendAzureadLogs bool `pulumi:"sendAzureadLogs"`
	// Should the Azure Subscription Logs should be sent to the Elasticsearch cluster?
	SendSubscriptionLogs bool `pulumi:"sendSubscriptionLogs"`
}

type GetElasticsearchLogArgs

type GetElasticsearchLogArgs struct {
	// A list of `filteringTag` blocks as defined above.
	FilteringTags GetElasticsearchLogFilteringTagArrayInput `pulumi:"filteringTags"`
	// Should the Azure Activity Logs should be sent to the Elasticsearch cluster?
	SendActivityLogs pulumi.BoolInput `pulumi:"sendActivityLogs"`
	// Should the AzureAD Logs should be sent to the Elasticsearch cluster?
	SendAzureadLogs pulumi.BoolInput `pulumi:"sendAzureadLogs"`
	// Should the Azure Subscription Logs should be sent to the Elasticsearch cluster?
	SendSubscriptionLogs pulumi.BoolInput `pulumi:"sendSubscriptionLogs"`
}

func (GetElasticsearchLogArgs) ElementType

func (GetElasticsearchLogArgs) ElementType() reflect.Type

func (GetElasticsearchLogArgs) ToGetElasticsearchLogOutput

func (i GetElasticsearchLogArgs) ToGetElasticsearchLogOutput() GetElasticsearchLogOutput

func (GetElasticsearchLogArgs) ToGetElasticsearchLogOutputWithContext

func (i GetElasticsearchLogArgs) ToGetElasticsearchLogOutputWithContext(ctx context.Context) GetElasticsearchLogOutput

type GetElasticsearchLogArray

type GetElasticsearchLogArray []GetElasticsearchLogInput

func (GetElasticsearchLogArray) ElementType

func (GetElasticsearchLogArray) ElementType() reflect.Type

func (GetElasticsearchLogArray) ToGetElasticsearchLogArrayOutput

func (i GetElasticsearchLogArray) ToGetElasticsearchLogArrayOutput() GetElasticsearchLogArrayOutput

func (GetElasticsearchLogArray) ToGetElasticsearchLogArrayOutputWithContext

func (i GetElasticsearchLogArray) ToGetElasticsearchLogArrayOutputWithContext(ctx context.Context) GetElasticsearchLogArrayOutput

type GetElasticsearchLogArrayInput

type GetElasticsearchLogArrayInput interface {
	pulumi.Input

	ToGetElasticsearchLogArrayOutput() GetElasticsearchLogArrayOutput
	ToGetElasticsearchLogArrayOutputWithContext(context.Context) GetElasticsearchLogArrayOutput
}

GetElasticsearchLogArrayInput is an input type that accepts GetElasticsearchLogArray and GetElasticsearchLogArrayOutput values. You can construct a concrete instance of `GetElasticsearchLogArrayInput` via:

GetElasticsearchLogArray{ GetElasticsearchLogArgs{...} }

type GetElasticsearchLogArrayOutput

type GetElasticsearchLogArrayOutput struct{ *pulumi.OutputState }

func (GetElasticsearchLogArrayOutput) ElementType

func (GetElasticsearchLogArrayOutput) Index

func (GetElasticsearchLogArrayOutput) ToGetElasticsearchLogArrayOutput

func (o GetElasticsearchLogArrayOutput) ToGetElasticsearchLogArrayOutput() GetElasticsearchLogArrayOutput

func (GetElasticsearchLogArrayOutput) ToGetElasticsearchLogArrayOutputWithContext

func (o GetElasticsearchLogArrayOutput) ToGetElasticsearchLogArrayOutputWithContext(ctx context.Context) GetElasticsearchLogArrayOutput

type GetElasticsearchLogFilteringTag

type GetElasticsearchLogFilteringTag struct {
	// The type of action which is taken when the Tag matches the `name` and `value`.
	Action string `pulumi:"action"`
	// The name of the Elasticsearch resource.
	Name string `pulumi:"name"`
	// The value of the Tag which should be filtered.
	Value string `pulumi:"value"`
}

type GetElasticsearchLogFilteringTagArgs

type GetElasticsearchLogFilteringTagArgs struct {
	// The type of action which is taken when the Tag matches the `name` and `value`.
	Action pulumi.StringInput `pulumi:"action"`
	// The name of the Elasticsearch resource.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the Tag which should be filtered.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetElasticsearchLogFilteringTagArgs) ElementType

func (GetElasticsearchLogFilteringTagArgs) ToGetElasticsearchLogFilteringTagOutput

func (i GetElasticsearchLogFilteringTagArgs) ToGetElasticsearchLogFilteringTagOutput() GetElasticsearchLogFilteringTagOutput

func (GetElasticsearchLogFilteringTagArgs) ToGetElasticsearchLogFilteringTagOutputWithContext

func (i GetElasticsearchLogFilteringTagArgs) ToGetElasticsearchLogFilteringTagOutputWithContext(ctx context.Context) GetElasticsearchLogFilteringTagOutput

type GetElasticsearchLogFilteringTagArray

type GetElasticsearchLogFilteringTagArray []GetElasticsearchLogFilteringTagInput

func (GetElasticsearchLogFilteringTagArray) ElementType

func (GetElasticsearchLogFilteringTagArray) ToGetElasticsearchLogFilteringTagArrayOutput

func (i GetElasticsearchLogFilteringTagArray) ToGetElasticsearchLogFilteringTagArrayOutput() GetElasticsearchLogFilteringTagArrayOutput

func (GetElasticsearchLogFilteringTagArray) ToGetElasticsearchLogFilteringTagArrayOutputWithContext

func (i GetElasticsearchLogFilteringTagArray) ToGetElasticsearchLogFilteringTagArrayOutputWithContext(ctx context.Context) GetElasticsearchLogFilteringTagArrayOutput

type GetElasticsearchLogFilteringTagArrayInput

type GetElasticsearchLogFilteringTagArrayInput interface {
	pulumi.Input

	ToGetElasticsearchLogFilteringTagArrayOutput() GetElasticsearchLogFilteringTagArrayOutput
	ToGetElasticsearchLogFilteringTagArrayOutputWithContext(context.Context) GetElasticsearchLogFilteringTagArrayOutput
}

GetElasticsearchLogFilteringTagArrayInput is an input type that accepts GetElasticsearchLogFilteringTagArray and GetElasticsearchLogFilteringTagArrayOutput values. You can construct a concrete instance of `GetElasticsearchLogFilteringTagArrayInput` via:

GetElasticsearchLogFilteringTagArray{ GetElasticsearchLogFilteringTagArgs{...} }

type GetElasticsearchLogFilteringTagArrayOutput

type GetElasticsearchLogFilteringTagArrayOutput struct{ *pulumi.OutputState }

func (GetElasticsearchLogFilteringTagArrayOutput) ElementType

func (GetElasticsearchLogFilteringTagArrayOutput) Index

func (GetElasticsearchLogFilteringTagArrayOutput) ToGetElasticsearchLogFilteringTagArrayOutput

func (o GetElasticsearchLogFilteringTagArrayOutput) ToGetElasticsearchLogFilteringTagArrayOutput() GetElasticsearchLogFilteringTagArrayOutput

func (GetElasticsearchLogFilteringTagArrayOutput) ToGetElasticsearchLogFilteringTagArrayOutputWithContext

func (o GetElasticsearchLogFilteringTagArrayOutput) ToGetElasticsearchLogFilteringTagArrayOutputWithContext(ctx context.Context) GetElasticsearchLogFilteringTagArrayOutput

type GetElasticsearchLogFilteringTagInput

type GetElasticsearchLogFilteringTagInput interface {
	pulumi.Input

	ToGetElasticsearchLogFilteringTagOutput() GetElasticsearchLogFilteringTagOutput
	ToGetElasticsearchLogFilteringTagOutputWithContext(context.Context) GetElasticsearchLogFilteringTagOutput
}

GetElasticsearchLogFilteringTagInput is an input type that accepts GetElasticsearchLogFilteringTagArgs and GetElasticsearchLogFilteringTagOutput values. You can construct a concrete instance of `GetElasticsearchLogFilteringTagInput` via:

GetElasticsearchLogFilteringTagArgs{...}

type GetElasticsearchLogFilteringTagOutput

type GetElasticsearchLogFilteringTagOutput struct{ *pulumi.OutputState }

func (GetElasticsearchLogFilteringTagOutput) Action

The type of action which is taken when the Tag matches the `name` and `value`.

func (GetElasticsearchLogFilteringTagOutput) ElementType

func (GetElasticsearchLogFilteringTagOutput) Name

The name of the Elasticsearch resource.

func (GetElasticsearchLogFilteringTagOutput) ToGetElasticsearchLogFilteringTagOutput

func (o GetElasticsearchLogFilteringTagOutput) ToGetElasticsearchLogFilteringTagOutput() GetElasticsearchLogFilteringTagOutput

func (GetElasticsearchLogFilteringTagOutput) ToGetElasticsearchLogFilteringTagOutputWithContext

func (o GetElasticsearchLogFilteringTagOutput) ToGetElasticsearchLogFilteringTagOutputWithContext(ctx context.Context) GetElasticsearchLogFilteringTagOutput

func (GetElasticsearchLogFilteringTagOutput) Value

The value of the Tag which should be filtered.

type GetElasticsearchLogInput

type GetElasticsearchLogInput interface {
	pulumi.Input

	ToGetElasticsearchLogOutput() GetElasticsearchLogOutput
	ToGetElasticsearchLogOutputWithContext(context.Context) GetElasticsearchLogOutput
}

GetElasticsearchLogInput is an input type that accepts GetElasticsearchLogArgs and GetElasticsearchLogOutput values. You can construct a concrete instance of `GetElasticsearchLogInput` via:

GetElasticsearchLogArgs{...}

type GetElasticsearchLogOutput

type GetElasticsearchLogOutput struct{ *pulumi.OutputState }

func (GetElasticsearchLogOutput) ElementType

func (GetElasticsearchLogOutput) ElementType() reflect.Type

func (GetElasticsearchLogOutput) FilteringTags

A list of `filteringTag` blocks as defined above.

func (GetElasticsearchLogOutput) SendActivityLogs

func (o GetElasticsearchLogOutput) SendActivityLogs() pulumi.BoolOutput

Should the Azure Activity Logs should be sent to the Elasticsearch cluster?

func (GetElasticsearchLogOutput) SendAzureadLogs

func (o GetElasticsearchLogOutput) SendAzureadLogs() pulumi.BoolOutput

Should the AzureAD Logs should be sent to the Elasticsearch cluster?

func (GetElasticsearchLogOutput) SendSubscriptionLogs

func (o GetElasticsearchLogOutput) SendSubscriptionLogs() pulumi.BoolOutput

Should the Azure Subscription Logs should be sent to the Elasticsearch cluster?

func (GetElasticsearchLogOutput) ToGetElasticsearchLogOutput

func (o GetElasticsearchLogOutput) ToGetElasticsearchLogOutput() GetElasticsearchLogOutput

func (GetElasticsearchLogOutput) ToGetElasticsearchLogOutputWithContext

func (o GetElasticsearchLogOutput) ToGetElasticsearchLogOutputWithContext(ctx context.Context) GetElasticsearchLogOutput

type LookupElasticsearchArgs

type LookupElasticsearchArgs struct {
	// A `logs` block as defined below.
	Logs []GetElasticsearchLog `pulumi:"logs"`
	// The name of the Elasticsearch resource.
	Name string `pulumi:"name"`
	// The name of the resource group in which the Elasticsearch exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getElasticsearch.

type LookupElasticsearchOutputArgs

type LookupElasticsearchOutputArgs struct {
	// A `logs` block as defined below.
	Logs GetElasticsearchLogArrayInput `pulumi:"logs"`
	// The name of the Elasticsearch resource.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the resource group in which the Elasticsearch exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getElasticsearch.

func (LookupElasticsearchOutputArgs) ElementType

type LookupElasticsearchResult

type LookupElasticsearchResult struct {
	// The ID of the Deployment within Elastic Cloud.
	ElasticCloudDeploymentId string `pulumi:"elasticCloudDeploymentId"`
	// The Email Address which is associated with this Elasticsearch account.
	ElasticCloudEmailAddress string `pulumi:"elasticCloudEmailAddress"`
	// The Default URL used for Single Sign On (SSO) to Elastic Cloud.
	ElasticCloudSsoDefaultUrl string `pulumi:"elasticCloudSsoDefaultUrl"`
	// The ID of the User Account within Elastic Cloud.
	ElasticCloudUserId string `pulumi:"elasticCloudUserId"`
	// The URL to the Elasticsearch Service associated with this Elasticsearch.
	ElasticsearchServiceUrl string `pulumi:"elasticsearchServiceUrl"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The URL to the Kibana Dashboard associated with this Elasticsearch.
	KibanaServiceUrl string `pulumi:"kibanaServiceUrl"`
	// The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
	KibanaSsoUri string `pulumi:"kibanaSsoUri"`
	// The Azure Region in which this Elasticsearch exists.
	Location string `pulumi:"location"`
	// A `logs` block as defined below.
	Logs []GetElasticsearchLog `pulumi:"logs"`
	// Specifies if monitoring is enabled on this Elasticsearch or not.
	MonitoringEnabled bool `pulumi:"monitoringEnabled"`
	// The name (key) of the Tag which should be filtered.
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the SKU used for this Elasticsearch.
	SkuName string `pulumi:"skuName"`
	// A mapping of tags assigned to the Elasticsearch.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getElasticsearch.

func LookupElasticsearch

func LookupElasticsearch(ctx *pulumi.Context, args *LookupElasticsearchArgs, opts ...pulumi.InvokeOption) (*LookupElasticsearchResult, error)

Use this data source to access information about an existing Elasticsearch resource.

## Example Usage

```go package main

import (

"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 {
		example, err := elasticcloud.LookupElasticsearch(ctx, &elasticcloud.LookupElasticsearchArgs{
			Name:              "my-elastic-search",
			ResourceGroupName: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("elasticsearchEndpoint", example.ElasticsearchServiceUrl)
		ctx.Export("kibanaEndpoint", example.KibanaServiceUrl)
		return nil
	})
}

```

type LookupElasticsearchResultOutput

type LookupElasticsearchResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getElasticsearch.

func (LookupElasticsearchResultOutput) ElasticCloudDeploymentId

func (o LookupElasticsearchResultOutput) ElasticCloudDeploymentId() pulumi.StringOutput

The ID of the Deployment within Elastic Cloud.

func (LookupElasticsearchResultOutput) ElasticCloudEmailAddress

func (o LookupElasticsearchResultOutput) ElasticCloudEmailAddress() pulumi.StringOutput

The Email Address which is associated with this Elasticsearch account.

func (LookupElasticsearchResultOutput) ElasticCloudSsoDefaultUrl

func (o LookupElasticsearchResultOutput) ElasticCloudSsoDefaultUrl() pulumi.StringOutput

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

func (LookupElasticsearchResultOutput) ElasticCloudUserId

func (o LookupElasticsearchResultOutput) ElasticCloudUserId() pulumi.StringOutput

The ID of the User Account within Elastic Cloud.

func (LookupElasticsearchResultOutput) ElasticsearchServiceUrl

func (o LookupElasticsearchResultOutput) ElasticsearchServiceUrl() pulumi.StringOutput

The URL to the Elasticsearch Service associated with this Elasticsearch.

func (LookupElasticsearchResultOutput) ElementType

func (LookupElasticsearchResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupElasticsearchResultOutput) KibanaServiceUrl

The URL to the Kibana Dashboard associated with this Elasticsearch.

func (LookupElasticsearchResultOutput) KibanaSsoUri

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

func (LookupElasticsearchResultOutput) Location

The Azure Region in which this Elasticsearch exists.

func (LookupElasticsearchResultOutput) Logs

A `logs` block as defined below.

func (LookupElasticsearchResultOutput) MonitoringEnabled

func (o LookupElasticsearchResultOutput) MonitoringEnabled() pulumi.BoolOutput

Specifies if monitoring is enabled on this Elasticsearch or not.

func (LookupElasticsearchResultOutput) Name

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

func (LookupElasticsearchResultOutput) ResourceGroupName

func (o LookupElasticsearchResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupElasticsearchResultOutput) SkuName

The name of the SKU used for this Elasticsearch.

func (LookupElasticsearchResultOutput) Tags

A mapping of tags assigned to the Elasticsearch.

func (LookupElasticsearchResultOutput) ToLookupElasticsearchResultOutput

func (o LookupElasticsearchResultOutput) ToLookupElasticsearchResultOutput() LookupElasticsearchResultOutput

func (LookupElasticsearchResultOutput) ToLookupElasticsearchResultOutputWithContext

func (o LookupElasticsearchResultOutput) ToLookupElasticsearchResultOutputWithContext(ctx context.Context) LookupElasticsearchResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL