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.
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.gcp.certificateauthority.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigNameConstraintsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property critical Indicates whether or not the name constraints are marked critical.
* @property excludedDnsNames Contains excluded DNS names. Any DNS name that can be
* constructed by simply adding zero or more labels to
* the left-hand side of the name satisfies the name constraint.
* For example, `example.com`, `www.example.com`, `www.sub.example.com`
* would satisfy `example.com` while `example1.com` does not.
* @property excludedEmailAddresses Contains the excluded email addresses. The value can be a particular
* email address, a hostname to indicate all email addresses on that host or
* a domain with a leading period (e.g. `.example.com`) to indicate
* all email addresses in that domain.
* @property excludedIpRanges Contains the excluded IP ranges. For IPv4 addresses, the ranges
* are expressed using CIDR notation as specified in RFC 4632.
* For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
* addresses.
* @property excludedUris Contains the excluded URIs that apply to the host part of the name.
* The value can be a hostname or a domain with a
* leading period (like `.example.com`)
* @property permittedDnsNames Contains permitted DNS names. Any DNS name that can be
* constructed by simply adding zero or more labels to
* the left-hand side of the name satisfies the name constraint.
* For example, `example.com`, `www.example.com`, `www.sub.example.com`
* would satisfy `example.com` while `example1.com` does not.
* @property permittedEmailAddresses Contains the permitted email addresses. The value can be a particular
* email address, a hostname to indicate all email addresses on that host or
* a domain with a leading period (e.g. `.example.com`) to indicate
* all email addresses in that domain.
* @property permittedIpRanges Contains the permitted IP ranges. For IPv4 addresses, the ranges
* are expressed using CIDR notation as specified in RFC 4632.
* For IPv6 addresses, the ranges are expressed in similar encoding as IPv4
* addresses.
* @property permittedUris Contains the permitted URIs that apply to the host part of the name.
* The value can be a hostname or a domain with a
* leading period (like `.example.com`)
*/
public data class CertificateConfigX509ConfigNameConstraintsArgs(
public val critical: Output,
public val excludedDnsNames: Output>? = null,
public val excludedEmailAddresses: Output>? = null,
public val excludedIpRanges: Output>? = null,
public val excludedUris: Output>? = null,
public val permittedDnsNames: Output>? = null,
public val permittedEmailAddresses: Output>? = null,
public val permittedIpRanges: Output>? = null,
public val permittedUris: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigNameConstraintsArgs =
com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigNameConstraintsArgs.builder()
.critical(critical.applyValue({ args0 -> args0 }))
.excludedDnsNames(excludedDnsNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.excludedEmailAddresses(
excludedEmailAddresses?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.excludedIpRanges(excludedIpRanges?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.excludedUris(excludedUris?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.permittedDnsNames(permittedDnsNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.permittedEmailAddresses(
permittedEmailAddresses?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.permittedIpRanges(permittedIpRanges?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.permittedUris(permittedUris?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [CertificateConfigX509ConfigNameConstraintsArgs].
*/
@PulumiTagMarker
public class CertificateConfigX509ConfigNameConstraintsArgsBuilder internal constructor() {
private var critical: Output? = null
private var excludedDnsNames: Output>? = null
private var excludedEmailAddresses: Output>? = null
private var excludedIpRanges: Output>? = null
private var excludedUris: Output>? = null
private var permittedDnsNames: Output>? = null
private var permittedEmailAddresses: Output>? = null
private var permittedIpRanges: Output>? = null
private var permittedUris: Output>? = null
/**
* @param value Indicates whether or not the name constraints are marked critical.
*/
@JvmName("isxnrtohvdiawcux")
public suspend fun critical(`value`: Output) {
this.critical = value
}
/**
* @param value Contains excluded DNS names. Any DNS name that can be
* constructed by simply adding zero or more labels to
* the left-hand side of the name satisfies the name constraint.
* For example, `example.com`, `www.example.com`, `www.sub.example.com`
* would satisfy `example.com` while `example1.com` does not.
*/
@JvmName("dphmhbjqwaxmowjd")
public suspend fun excludedDnsNames(`value`: Output>) {
this.excludedDnsNames = value
}
@JvmName("gllmppgbneqkirkv")
public suspend fun excludedDnsNames(vararg values: Output) {
this.excludedDnsNames = Output.all(values.asList())
}
/**
* @param values Contains excluded DNS names. Any DNS name that can be
* constructed by simply adding zero or more labels to
* the left-hand side of the name satisfies the name constraint.
* For example, `example.com`, `www.example.com`, `www.sub.example.com`
* would satisfy `example.com` while `example1.com` does not.
*/
@JvmName("kmkixkmdopfndegq")
public suspend fun excludedDnsNames(values: List