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

com.pulumi.azure.domainservices.kotlin.outputs.ServiceInitialReplicaSet.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property domainControllerIpAddresses A list of subnet IP addresses for the domain controllers in the initial replica set, typically two.
 * @property externalAccessIpAddress The publicly routable IP address for the domain controllers in the initial replica set.
 * @property id A unique ID for the replica set.
 * @property location The Azure location where the Domain Service exists. Changing this forces a new resource to be created.
 * @property serviceStatus The current service status for the initial replica set.
 * @property subnetId The ID of the subnet in which to place the initial replica set. Changing this forces a new resource to be created.
 */
public data class ServiceInitialReplicaSet(
    public val domainControllerIpAddresses: List? = null,
    public val externalAccessIpAddress: String? = null,
    public val id: String? = null,
    public val location: String? = null,
    public val serviceStatus: String? = null,
    public val subnetId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.domainservices.outputs.ServiceInitialReplicaSet):
            ServiceInitialReplicaSet = ServiceInitialReplicaSet(
            domainControllerIpAddresses = javaType.domainControllerIpAddresses().map({ args0 -> args0 }),
            externalAccessIpAddress = javaType.externalAccessIpAddress().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            location = javaType.location().map({ args0 -> args0 }).orElse(null),
            serviceStatus = javaType.serviceStatus().map({ args0 -> args0 }).orElse(null),
            subnetId = javaType.subnetId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy