
com.pulumi.azure.domainservices.kotlin.inputs.ServiceInitialReplicaSetArgs.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.domainservices.kotlin.inputs
import com.pulumi.azure.domainservices.inputs.ServiceInitialReplicaSetArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ServiceInitialReplicaSetArgs(
public val domainControllerIpAddresses: Output>? = null,
public val externalAccessIpAddress: Output? = null,
public val id: Output? = null,
public val location: Output? = null,
public val serviceStatus: Output? = null,
public val subnetId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.domainservices.inputs.ServiceInitialReplicaSetArgs =
com.pulumi.azure.domainservices.inputs.ServiceInitialReplicaSetArgs.builder()
.domainControllerIpAddresses(
domainControllerIpAddresses?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.externalAccessIpAddress(externalAccessIpAddress?.applyValue({ args0 -> args0 }))
.id(id?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.serviceStatus(serviceStatus?.applyValue({ args0 -> args0 }))
.subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceInitialReplicaSetArgs].
*/
@PulumiTagMarker
public class ServiceInitialReplicaSetArgsBuilder internal constructor() {
private var domainControllerIpAddresses: Output>? = null
private var externalAccessIpAddress: Output? = null
private var id: Output? = null
private var location: Output? = null
private var serviceStatus: Output? = null
private var subnetId: Output? = null
/**
* @param value A list of subnet IP addresses for the domain controllers in the initial replica set, typically two.
*/
@JvmName("qireomyqevrmwibm")
public suspend fun domainControllerIpAddresses(`value`: Output>) {
this.domainControllerIpAddresses = value
}
@JvmName("tekeecfgqrmbdgoy")
public suspend fun domainControllerIpAddresses(vararg values: Output) {
this.domainControllerIpAddresses = Output.all(values.asList())
}
/**
* @param values A list of subnet IP addresses for the domain controllers in the initial replica set, typically two.
*/
@JvmName("xcdbtadyfecliibc")
public suspend fun domainControllerIpAddresses(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy