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

com.pulumi.azure.domainservices.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.domainservices.kotlin.outputs

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

/**
 * A collection of values returned by getService.
 * @property deploymentId A unique ID for the managed domain deployment.
 * @property domainConfigurationType The forest type used by the managed domain. One of `ResourceTrusting`, for a _Resource Forest_, or blank, for a _User Forest_.
 * @property domainName The Active Directory domain of the Domain Service. See [official documentation](https://docs.microsoft.com/azure/active-directory-domain-services/tutorial-create-instance#create-a-managed-domain) for constraints and recommendations.
 * @property filteredSyncEnabled Whether group-based filtered sync (also called scoped synchronisation) is enabled.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The Azure location in which the replica set resides.
 * @property name
 * @property notifications A `notifications` block as defined below.
 * @property replicaSets One or more `replica_set` blocks as defined below.
 * @property resourceGroupName
 * @property resourceId
 * @property secureLdaps A `secure_ldap` block as defined below.
 * @property securities A `security` block as defined below.
 * @property sku The SKU of the Domain Service resource. One of `Standard`, `Enterprise` or `Premium`.
 * @property syncOwner
 * @property tags A mapping of tags assigned to the resource.
 * @property tenantId
 * @property version
 */
public data class GetServiceResult(
    public val deploymentId: String,
    public val domainConfigurationType: String,
    public val domainName: String,
    public val filteredSyncEnabled: Boolean,
    public val id: String,
    public val location: String,
    public val name: String,
    public val notifications: List,
    public val replicaSets: List,
    public val resourceGroupName: String,
    public val resourceId: String,
    public val secureLdaps: List,
    public val securities: List,
    public val sku: String,
    public val syncOwner: String,
    public val tags: Map? = null,
    public val tenantId: String,
    public val version: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.domainservices.outputs.GetServiceResult):
            GetServiceResult = GetServiceResult(
            deploymentId = javaType.deploymentId(),
            domainConfigurationType = javaType.domainConfigurationType(),
            domainName = javaType.domainName(),
            filteredSyncEnabled = javaType.filteredSyncEnabled(),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            notifications = javaType.notifications().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.domainservices.kotlin.outputs.GetServiceNotification.Companion.toKotlin(args0)
                })
            }),
            replicaSets = javaType.replicaSets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.domainservices.kotlin.outputs.GetServiceReplicaSet.Companion.toKotlin(args0)
                })
            }),
            resourceGroupName = javaType.resourceGroupName(),
            resourceId = javaType.resourceId(),
            secureLdaps = javaType.secureLdaps().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.domainservices.kotlin.outputs.GetServiceSecureLdap.Companion.toKotlin(args0)
                })
            }),
            securities = javaType.securities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.domainservices.kotlin.outputs.GetServiceSecurity.Companion.toKotlin(args0)
                })
            }),
            sku = javaType.sku(),
            syncOwner = javaType.syncOwner(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            tenantId = javaType.tenantId(),
            version = javaType.version(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy