Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurestackhci.kotlin.inputs
import com.pulumi.azurenative.azurestackhci.inputs.IntentsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The Intents of a cluster.
* @property adapter Array of network interfaces used for the network intent.
* @property adapterPropertyOverrides Set Adapter PropertyOverrides for cluster.
* @property name Name of the network intent you wish to create.
* @property overrideAdapterProperty This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
* @property overrideQosPolicy This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
* @property overrideVirtualSwitchConfiguration This parameter should only be modified based on your OEM guidance. Do not modify this parameter without OEM validation.
* @property qosPolicyOverrides Set QoS PolicyOverrides for cluster.
* @property trafficType List of network traffic types. Only allowed values are 'Compute', 'Storage', 'Management'.
* @property virtualSwitchConfigurationOverrides Set virtualSwitch ConfigurationOverrides for cluster.
*/
public data class IntentsArgs(
public val adapter: Output>? = null,
public val adapterPropertyOverrides: Output? = null,
public val name: Output? = null,
public val overrideAdapterProperty: Output? = null,
public val overrideQosPolicy: Output? = null,
public val overrideVirtualSwitchConfiguration: Output? = null,
public val qosPolicyOverrides: Output? = null,
public val trafficType: Output>? = null,
public val virtualSwitchConfigurationOverrides: Output? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.azurestackhci.inputs.IntentsArgs =
com.pulumi.azurenative.azurestackhci.inputs.IntentsArgs.builder()
.adapter(adapter?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.adapterPropertyOverrides(
adapterPropertyOverrides?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.overrideAdapterProperty(overrideAdapterProperty?.applyValue({ args0 -> args0 }))
.overrideQosPolicy(overrideQosPolicy?.applyValue({ args0 -> args0 }))
.overrideVirtualSwitchConfiguration(
overrideVirtualSwitchConfiguration?.applyValue({ args0 ->
args0
}),
)
.qosPolicyOverrides(
qosPolicyOverrides?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.trafficType(trafficType?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.virtualSwitchConfigurationOverrides(
virtualSwitchConfigurationOverrides?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [IntentsArgs].
*/
@PulumiTagMarker
public class IntentsArgsBuilder internal constructor() {
private var adapter: Output>? = null
private var adapterPropertyOverrides: Output? = null
private var name: Output? = null
private var overrideAdapterProperty: Output? = null
private var overrideQosPolicy: Output? = null
private var overrideVirtualSwitchConfiguration: Output? = null
private var qosPolicyOverrides: Output? = null
private var trafficType: Output>? = null
private var virtualSwitchConfigurationOverrides: Output? =
null
/**
* @param value Array of network interfaces used for the network intent.
*/
@JvmName("ecrbysevnglaglhl")
public suspend fun adapter(`value`: Output>) {
this.adapter = value
}
@JvmName("hgmmbmmhwgbuxwkx")
public suspend fun adapter(vararg values: Output) {
this.adapter = Output.all(values.asList())
}
/**
* @param values Array of network interfaces used for the network intent.
*/
@JvmName("kmywqcjcgnoqwmac")
public suspend fun adapter(values: List