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.azure.hdinsight.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property autoscale A `autoscale` block as defined below.
* @property password The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.
* > **NOTE:** If specified, this password must be at least 10 characters in length and must contain at least one digit, one uppercase and one lower case letter, one non-alphanumeric character (except characters ' " ` \).
* @property scriptActions The script action which will run on the cluster. One or more `script_actions` blocks as defined above.
* @property sshKeys A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.
* > **NOTE:** Either a `password` or one or more `ssh_keys` must be specified - but not both.
* @property subnetId The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.
* @property targetInstanceCount The number of instances which should be run for the Worker Nodes.
* @property username The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.
* @property virtualNetworkId The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.
* @property vmSize The Size of the Virtual Machine which should be used as the Worker Nodes. Possible values are `ExtraSmall`, `Small`, `Medium`, `Large`, `ExtraLarge`, `A5`, `A6`, `A7`, `A8`, `A9`, `A10`, `A11`, `Standard_A1_V2`, `Standard_A2_V2`, `Standard_A2m_V2`, `Standard_A3`, `Standard_A4_V2`, `Standard_A4m_V2`, `Standard_A8_V2`, `Standard_A8m_V2`, `Standard_D1`, `Standard_D2`, `Standard_D3`, `Standard_D4`, `Standard_D11`, `Standard_D12`, `Standard_D13`, `Standard_D14`, `Standard_D1_V2`, `Standard_D2_V2`, `Standard_D3_V2`, `Standard_D4_V2`, `Standard_D5_V2`, `Standard_D11_V2`, `Standard_D12_V2`, `Standard_D13_V2`, `Standard_D14_V2`, `Standard_DS1_V2`, `Standard_DS2_V2`, `Standard_DS3_V2`, `Standard_DS4_V2`, `Standard_DS5_V2`, `Standard_DS11_V2`, `Standard_DS12_V2`, `Standard_DS13_V2`, `Standard_DS14_V2`, `Standard_E2_V3`, `Standard_E4_V3`, `Standard_E8_V3`, `Standard_E16_V3`, `Standard_E20_V3`, `Standard_E32_V3`, `Standard_E64_V3`, `Standard_E64i_V3`, `Standard_E2s_V3`, `Standard_E4s_V3`, `Standard_E8s_V3`, `Standard_E16s_V3`, `Standard_E20s_V3`, `Standard_E32s_V3`, `Standard_E64s_V3`, `Standard_E64is_V3`, `Standard_D2a_V4`, `Standard_D4a_V4`, `Standard_D8a_V4`, `Standard_D16a_V4`, `Standard_D32a_V4`, `Standard_D48a_V4`, `Standard_D64a_V4`, `Standard_D96a_V4`, `Standard_E2a_V4`, `Standard_E4a_V4`, `Standard_E8a_V4`, `Standard_E16a_V4`, `Standard_E20a_V4`, `Standard_E32a_V4`, `Standard_E48a_V4`, `Standard_E64a_V4`, `Standard_E96a_V4`, `Standard_G1`, `Standard_G2`, `Standard_G3`, `Standard_G4`, `Standard_G5`, `Standard_F2s_V2`, `Standard_F4s_V2`, `Standard_F8s_V2`, `Standard_F16s_V2`, `Standard_F32s_V2`, `Standard_F64s_V2`, `Standard_F72s_V2`, `Standard_GS1`, `Standard_GS2`, `Standard_GS3`, `Standard_GS4`, `Standard_GS5` and `Standard_NC24`. Changing this forces a new resource to be created.
*/
public data class HadoopClusterRolesWorkerNode(
public val autoscale: HadoopClusterRolesWorkerNodeAutoscale? = null,
public val password: String? = null,
public val scriptActions: List? = null,
public val sshKeys: List? = null,
public val subnetId: String? = null,
public val targetInstanceCount: Int,
public val username: String,
public val virtualNetworkId: String? = null,
public val vmSize: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.HadoopClusterRolesWorkerNode): HadoopClusterRolesWorkerNode = HadoopClusterRolesWorkerNode(
autoscale = javaType.autoscale().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.HadoopClusterRolesWorkerNodeAutoscale.Companion.toKotlin(args0)
})
}).orElse(null),
password = javaType.password().map({ args0 -> args0 }).orElse(null),
scriptActions = javaType.scriptActions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.hdinsight.kotlin.outputs.HadoopClusterRolesWorkerNodeScriptAction.Companion.toKotlin(args0)
})
}),
sshKeys = javaType.sshKeys().map({ args0 -> args0 }),
subnetId = javaType.subnetId().map({ args0 -> args0 }).orElse(null),
targetInstanceCount = javaType.targetInstanceCount(),
username = javaType.username(),
virtualNetworkId = javaType.virtualNetworkId().map({ args0 -> args0 }).orElse(null),
vmSize = javaType.vmSize(),
)
}
}