
com.pulumi.azurenative.network.kotlin.inputs.ServiceEndpointPolicyDefinitionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.ServiceEndpointPolicyDefinitionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Service Endpoint policy definitions.
* @property description A description for this rule. Restricted to 140 chars.
* @property etag A unique read-only string that changes whenever the resource is updated.
* @property id Resource ID.
* @property name The name of the resource that is unique within a resource group. This name can be used to access the resource.
* @property service Service endpoint name.
* @property serviceResources A list of service resources.
* @property type The type of the resource.
*/
public data class ServiceEndpointPolicyDefinitionArgs(
public val description: Output? = null,
public val etag: Output? = null,
public val id: Output? = null,
public val name: Output? = null,
public val service: Output? = null,
public val serviceResources: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.ServiceEndpointPolicyDefinitionArgs =
com.pulumi.azurenative.network.inputs.ServiceEndpointPolicyDefinitionArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.etag(etag?.applyValue({ args0 -> args0 }))
.id(id?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.service(service?.applyValue({ args0 -> args0 }))
.serviceResources(serviceResources?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceEndpointPolicyDefinitionArgs].
*/
@PulumiTagMarker
public class ServiceEndpointPolicyDefinitionArgsBuilder internal constructor() {
private var description: Output? = null
private var etag: Output? = null
private var id: Output? = null
private var name: Output? = null
private var service: Output? = null
private var serviceResources: Output>? = null
private var type: Output? = null
/**
* @param value A description for this rule. Restricted to 140 chars.
*/
@JvmName("wkwfsadmgkwcdmcm")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A unique read-only string that changes whenever the resource is updated.
*/
@JvmName("quipqpbkjhdyvetl")
public suspend fun etag(`value`: Output) {
this.etag = value
}
/**
* @param value Resource ID.
*/
@JvmName("sbcmfktgtexnqrbj")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The name of the resource that is unique within a resource group. This name can be used to access the resource.
*/
@JvmName("bugvqjrihodfelxk")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Service endpoint name.
*/
@JvmName("nombxgajqjdtdeuj")
public suspend fun service(`value`: Output) {
this.service = value
}
/**
* @param value A list of service resources.
*/
@JvmName("iaigfywgrmoicioc")
public suspend fun serviceResources(`value`: Output>) {
this.serviceResources = value
}
@JvmName("ejbvgqjcgphwtbxx")
public suspend fun serviceResources(vararg values: Output) {
this.serviceResources = Output.all(values.asList())
}
/**
* @param values A list of service resources.
*/
@JvmName("xvwgacxhkdemshmq")
public suspend fun serviceResources(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy