All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.databricks.kotlin.outputs.WorkspaceCustomParameters.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.databricks.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property machineLearningWorkspaceId The ID of a Azure Machine Learning workspace to link with Databricks workspace. Changing this forces a new resource to be created.
 * @property natGatewayName Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets (only for workspace with managed virtual network). Defaults to `nat-gateway`. Changing this forces a new resource to be created.
 * @property noPublicIp Are public IP Addresses not allowed? Possible values are `true` or `false`. Defaults to `false`.
 * > **Note:** Updating `no_public_ip` parameter is only allowed if the value is changing from `false` to `true` and only for VNet-injected workspaces.
 * > **Note:** In `v3.104.0` and higher of the provider the `no_public_ip` parameter will now default to `true` instead of `false`.
 * @property privateSubnetName The name of the Private Subnet within the Virtual Network. Required if `virtual_network_id` is set. Changing this forces a new resource to be created.
 * @property privateSubnetNetworkSecurityGroupAssociationId The resource ID of the `azure.network.SubnetNetworkSecurityGroupAssociation` resource which is referred to by the `private_subnet_name` field. This is the same as the ID of the subnet referred to by the `private_subnet_name` field. Required if `virtual_network_id` is set.
 * @property publicIpName Name of the Public IP for No Public IP workspace with managed virtual network. Defaults to `nat-gw-public-ip`. Changing this forces a new resource to be created.
 * @property publicSubnetName The name of the Public Subnet within the Virtual Network. Required if `virtual_network_id` is set. Changing this forces a new resource to be created.
 * @property publicSubnetNetworkSecurityGroupAssociationId The resource ID of the `azure.network.SubnetNetworkSecurityGroupAssociation` resource which is referred to by the `public_subnet_name` field. This is the same as the ID of the subnet referred to by the `public_subnet_name` field. Required if `virtual_network_id` is set.
 * @property storageAccountName Default Databricks File Storage account name. Defaults to a randomized name(e.g. `dbstoragel6mfeghoe5kxu`). Changing this forces a new resource to be created.
 * @property storageAccountSkuName Storage account SKU name. Possible values include `Standard_LRS`, `Standard_GRS`, `Standard_RAGRS`, `Standard_GZRS`, `Standard_RAGZRS`, `Standard_ZRS`, `Premium_LRS` or `Premium_ZRS`. Defaults to `Standard_GRS`.
 * @property virtualNetworkId The ID of a Virtual Network where this Databricks Cluster should be created. Changing this forces a new resource to be created.
 * @property vnetAddressPrefix Address prefix for Managed virtual network. Defaults to `10.139`. Changing this forces a new resource to be created.
 * > **Note:** Databricks requires that a network security group is associated with the `public` and `private` subnets when a `virtual_network_id` has been defined. Both `public` and `private` subnets must be delegated to `Microsoft.Databricks/workspaces`. For more information about subnet delegation see the [product documentation](https://docs.microsoft.com/azure/virtual-network/subnet-delegation-overview).
 */
public data class WorkspaceCustomParameters(
    public val machineLearningWorkspaceId: String? = null,
    public val natGatewayName: String? = null,
    public val noPublicIp: Boolean? = null,
    public val privateSubnetName: String? = null,
    public val privateSubnetNetworkSecurityGroupAssociationId: String? = null,
    public val publicIpName: String? = null,
    public val publicSubnetName: String? = null,
    public val publicSubnetNetworkSecurityGroupAssociationId: String? = null,
    public val storageAccountName: String? = null,
    public val storageAccountSkuName: String? = null,
    public val virtualNetworkId: String? = null,
    public val vnetAddressPrefix: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.databricks.outputs.WorkspaceCustomParameters): WorkspaceCustomParameters = WorkspaceCustomParameters(
            machineLearningWorkspaceId = javaType.machineLearningWorkspaceId().map({ args0 ->
                args0
            }).orElse(null),
            natGatewayName = javaType.natGatewayName().map({ args0 -> args0 }).orElse(null),
            noPublicIp = javaType.noPublicIp().map({ args0 -> args0 }).orElse(null),
            privateSubnetName = javaType.privateSubnetName().map({ args0 -> args0 }).orElse(null),
            privateSubnetNetworkSecurityGroupAssociationId = javaType.privateSubnetNetworkSecurityGroupAssociationId().map({ args0 ->
                args0
            }).orElse(null),
            publicIpName = javaType.publicIpName().map({ args0 -> args0 }).orElse(null),
            publicSubnetName = javaType.publicSubnetName().map({ args0 -> args0 }).orElse(null),
            publicSubnetNetworkSecurityGroupAssociationId = javaType.publicSubnetNetworkSecurityGroupAssociationId().map({ args0 ->
                args0
            }).orElse(null),
            storageAccountName = javaType.storageAccountName().map({ args0 -> args0 }).orElse(null),
            storageAccountSkuName = javaType.storageAccountSkuName().map({ args0 -> args0 }).orElse(null),
            virtualNetworkId = javaType.virtualNetworkId().map({ args0 -> args0 }).orElse(null),
            vnetAddressPrefix = javaType.vnetAddressPrefix().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy