
com.pulumi.azure.batch.kotlin.inputs.PoolCertificateArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.inputs
import com.pulumi.azure.batch.inputs.PoolCertificateArgs.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 id The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
* @property storeLocation The location of the certificate store on the compute node into which to install the certificate. Possible values are `CurrentUser` or `LocalMachine`.
* > **NOTE:** This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable `AZ_BATCH_CERTIFICATES_DIR` is supplied to the task to query for this location. For certificates with visibility of `remoteUser`, a 'certs' directory is created in the user's home directory (e.g., `/home/{user-name}/certs`) and certificates are placed in that directory.
* @property storeName The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: `My`, `Root`, `CA`, `Trust`, `Disallowed`, `TrustedPeople`, `TrustedPublisher`, `AuthRoot`, `AddressBook`, but any custom store name can also be used.
* @property visibilities Which user accounts on the compute node should have access to the private data of the certificate. Possible values are `StartTask`, `Task` and `RemoteUser`.
*/
public data class PoolCertificateArgs(
public val id: Output,
public val storeLocation: Output,
public val storeName: Output? = null,
public val visibilities: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.batch.inputs.PoolCertificateArgs =
com.pulumi.azure.batch.inputs.PoolCertificateArgs.builder()
.id(id.applyValue({ args0 -> args0 }))
.storeLocation(storeLocation.applyValue({ args0 -> args0 }))
.storeName(storeName?.applyValue({ args0 -> args0 }))
.visibilities(visibilities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PoolCertificateArgs].
*/
@PulumiTagMarker
public class PoolCertificateArgsBuilder internal constructor() {
private var id: Output? = null
private var storeLocation: Output? = null
private var storeName: Output? = null
private var visibilities: Output>? = null
/**
* @param value The ID of the Batch Certificate to install on the Batch Pool, which must be inside the same Batch Account.
*/
@JvmName("lqoglgsfhhcwqxry")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The location of the certificate store on the compute node into which to install the certificate. Possible values are `CurrentUser` or `LocalMachine`.
* > **NOTE:** This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable `AZ_BATCH_CERTIFICATES_DIR` is supplied to the task to query for this location. For certificates with visibility of `remoteUser`, a 'certs' directory is created in the user's home directory (e.g., `/home/{user-name}/certs`) and certificates are placed in that directory.
*/
@JvmName("ywameptdhsmhsxrh")
public suspend fun storeLocation(`value`: Output) {
this.storeLocation = value
}
/**
* @param value The name of the certificate store on the compute node into which to install the certificate. This property is applicable only for pools configured with Windows nodes (that is, created with cloudServiceConfiguration, or with virtualMachineConfiguration using a Windows image reference). Common store names include: `My`, `Root`, `CA`, `Trust`, `Disallowed`, `TrustedPeople`, `TrustedPublisher`, `AuthRoot`, `AddressBook`, but any custom store name can also be used.
*/
@JvmName("xntuomxaeqmcugfu")
public suspend fun storeName(`value`: Output) {
this.storeName = value
}
/**
* @param value Which user accounts on the compute node should have access to the private data of the certificate. Possible values are `StartTask`, `Task` and `RemoteUser`.
*/
@JvmName("ofvykjegkmqevuqu")
public suspend fun visibilities(`value`: Output>) {
this.visibilities = value
}
@JvmName("vfafdjjapkypjqcc")
public suspend fun visibilities(vararg values: Output) {
this.visibilities = Output.all(values.asList())
}
/**
* @param values Which user accounts on the compute node should have access to the private data of the certificate. Possible values are `StartTask`, `Task` and `RemoteUser`.
*/
@JvmName("wbatudwbdtixcixj")
public suspend fun visibilities(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy