All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.search.kotlin.outputs.GetServiceResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.search.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getService.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities An `identity` block as defined below.
 * @property name The name of this Query Key.
 * @property partitionCount The number of partitions which have been created.
 * @property primaryKey The Primary Key used for Search Service Administration.
 * @property publicNetworkAccessEnabled Whether or not public network access is enabled for this resource.
 * @property queryKeys A `query_keys` block as defined below.
 * @property replicaCount The number of replica's which have been created.
 * @property resourceGroupName
 * @property secondaryKey The Secondary Key used for Search Service Administration.
 */
public data class GetServiceResult(
    public val id: String,
    public val identities: List,
    public val name: String,
    public val partitionCount: Int,
    public val primaryKey: String,
    public val publicNetworkAccessEnabled: Boolean,
    public val queryKeys: List,
    public val replicaCount: Int,
    public val resourceGroupName: String,
    public val secondaryKey: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.search.outputs.GetServiceResult):
            GetServiceResult = GetServiceResult(
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.search.kotlin.outputs.GetServiceIdentity.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            partitionCount = javaType.partitionCount(),
            primaryKey = javaType.primaryKey(),
            publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
            queryKeys = javaType.queryKeys().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.search.kotlin.outputs.GetServiceQueryKey.Companion.toKotlin(args0)
                })
            }),
            replicaCount = javaType.replicaCount(),
            resourceGroupName = javaType.resourceGroupName(),
            secondaryKey = javaType.secondaryKey(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy