com.pulumi.azure.elasticcloud.kotlin.outputs.GetElasticsearchResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.elasticcloud.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getElasticsearch.
* @property elasticCloudDeploymentId The ID of the Deployment within Elastic Cloud.
* @property elasticCloudEmailAddress The Email Address which is associated with this Elasticsearch account.
* @property elasticCloudSsoDefaultUrl The Default URL used for Single Sign On (SSO) to Elastic Cloud.
* @property elasticCloudUserId The ID of the User Account within Elastic Cloud.
* @property elasticsearchServiceUrl The URL to the Elasticsearch Service associated with this Elasticsearch.
* @property id The provider-assigned unique ID for this managed resource.
* @property kibanaServiceUrl The URL to the Kibana Dashboard associated with this Elasticsearch.
* @property kibanaSsoUri The URI used for SSO to the Kibana Dashboard associated with this Elasticsearch.
* @property location The Azure Region in which this Elasticsearch exists.
* @property logs A `logs` block as defined below.
* @property monitoringEnabled Specifies if monitoring is enabled on this Elasticsearch or not.
* @property name The name (key) of the Tag which should be filtered.
* @property resourceGroupName
* @property skuName The name of the SKU used for this Elasticsearch.
* @property tags A mapping of tags assigned to the Elasticsearch.
*/
public data class GetElasticsearchResult(
public val elasticCloudDeploymentId: String,
public val elasticCloudEmailAddress: String,
public val elasticCloudSsoDefaultUrl: String,
public val elasticCloudUserId: String,
public val elasticsearchServiceUrl: String,
public val id: String,
public val kibanaServiceUrl: String,
public val kibanaSsoUri: String,
public val location: String,
public val logs: List,
public val monitoringEnabled: Boolean,
public val name: String,
public val resourceGroupName: String,
public val skuName: String,
public val tags: Map,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.elasticcloud.outputs.GetElasticsearchResult):
GetElasticsearchResult = GetElasticsearchResult(
elasticCloudDeploymentId = javaType.elasticCloudDeploymentId(),
elasticCloudEmailAddress = javaType.elasticCloudEmailAddress(),
elasticCloudSsoDefaultUrl = javaType.elasticCloudSsoDefaultUrl(),
elasticCloudUserId = javaType.elasticCloudUserId(),
elasticsearchServiceUrl = javaType.elasticsearchServiceUrl(),
id = javaType.id(),
kibanaServiceUrl = javaType.kibanaServiceUrl(),
kibanaSsoUri = javaType.kibanaSsoUri(),
location = javaType.location(),
logs = javaType.logs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.elasticcloud.kotlin.outputs.GetElasticsearchLog.Companion.toKotlin(args0)
})
}),
monitoringEnabled = javaType.monitoringEnabled(),
name = javaType.name(),
resourceGroupName = javaType.resourceGroupName(),
skuName = javaType.skuName(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy