
com.pulumi.azure.apimanagement.kotlin.inputs.ServiceAdditionalLocationArgs.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.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.ServiceAdditionalLocationArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property capacity The number of compute units in this region. Defaults to the capacity of the main region.
* @property gatewayDisabled Only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in this additional location.
* @property gatewayRegionalUrl The URL of the Regional Gateway for the API Management Service in the specified region.
* @property location The name of the Azure Region in which the API Management Service should be expanded to.
* @property privateIpAddresses The Private IP addresses of the API Management Service. Available only when the API Manager instance is using Virtual Network mode.
* @property publicIpAddressId ID of a standard SKU IPv4 Public IP.
* > **NOTE:** Availability zones and custom public IPs are only supported in the Premium tier.
* @property publicIpAddresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
* @property virtualNetworkConfiguration A `virtual_network_configuration` block as defined below. Required when `virtual_network_type` is `External` or `Internal`.
* @property zones A list of availability zones.
*/
public data class ServiceAdditionalLocationArgs(
public val capacity: Output? = null,
public val gatewayDisabled: Output? = null,
public val gatewayRegionalUrl: Output? = null,
public val location: Output,
public val privateIpAddresses: Output>? = null,
public val publicIpAddressId: Output? = null,
public val publicIpAddresses: Output>? = null,
public val virtualNetworkConfiguration: Output? = null,
public val zones: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.ServiceAdditionalLocationArgs =
com.pulumi.azure.apimanagement.inputs.ServiceAdditionalLocationArgs.builder()
.capacity(capacity?.applyValue({ args0 -> args0 }))
.gatewayDisabled(gatewayDisabled?.applyValue({ args0 -> args0 }))
.gatewayRegionalUrl(gatewayRegionalUrl?.applyValue({ args0 -> args0 }))
.location(location.applyValue({ args0 -> args0 }))
.privateIpAddresses(privateIpAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.publicIpAddressId(publicIpAddressId?.applyValue({ args0 -> args0 }))
.publicIpAddresses(publicIpAddresses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.virtualNetworkConfiguration(
virtualNetworkConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.zones(zones?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ServiceAdditionalLocationArgs].
*/
@PulumiTagMarker
public class ServiceAdditionalLocationArgsBuilder internal constructor() {
private var capacity: Output? = null
private var gatewayDisabled: Output? = null
private var gatewayRegionalUrl: Output? = null
private var location: Output? = null
private var privateIpAddresses: Output>? = null
private var publicIpAddressId: Output? = null
private var publicIpAddresses: Output>? = null
private var virtualNetworkConfiguration:
Output? = null
private var zones: Output>? = null
/**
* @param value The number of compute units in this region. Defaults to the capacity of the main region.
*/
@JvmName("tilwouitcsovjahr")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value Only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in this additional location.
*/
@JvmName("xbkqfekhwdtcsdut")
public suspend fun gatewayDisabled(`value`: Output) {
this.gatewayDisabled = value
}
/**
* @param value The URL of the Regional Gateway for the API Management Service in the specified region.
*/
@JvmName("wikgcljjhrmkddkv")
public suspend fun gatewayRegionalUrl(`value`: Output) {
this.gatewayRegionalUrl = value
}
/**
* @param value The name of the Azure Region in which the API Management Service should be expanded to.
*/
@JvmName("vhjmeohndmfethxh")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value The Private IP addresses of the API Management Service. Available only when the API Manager instance is using Virtual Network mode.
*/
@JvmName("dxwcrdyeunxbykst")
public suspend fun privateIpAddresses(`value`: Output>) {
this.privateIpAddresses = value
}
@JvmName("acyloekobahdgosr")
public suspend fun privateIpAddresses(vararg values: Output) {
this.privateIpAddresses = Output.all(values.asList())
}
/**
* @param values The Private IP addresses of the API Management Service. Available only when the API Manager instance is using Virtual Network mode.
*/
@JvmName("adkjclmlkvtxmpcl")
public suspend fun privateIpAddresses(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy