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

com.pulumi.azure.apimanagement.kotlin.outputs.ServiceHostnameConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.apimanagement.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property developerPortals One or more `developer_portal` blocks as documented below.
 * @property managements One or more `management` blocks as documented below.
 * @property portals One or more `portal` blocks as documented below.
 * @property proxies One or more `proxy` blocks as documented below.
 * @property scms One or more `scm` blocks as documented below.
 */
public data class ServiceHostnameConfiguration(
    public val developerPortals: List? = null,
    public val managements: List? = null,
    public val portals: List? = null,
    public val proxies: List? = null,
    public val scms: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.ServiceHostnameConfiguration): ServiceHostnameConfiguration = ServiceHostnameConfiguration(
            developerPortals = javaType.developerPortals().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.ServiceHostnameConfigurationDeveloperPortal.Companion.toKotlin(args0)
                })
            }),
            managements = javaType.managements().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.ServiceHostnameConfigurationManagement.Companion.toKotlin(args0)
                })
            }),
            portals = javaType.portals().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.ServiceHostnameConfigurationPortal.Companion.toKotlin(args0)
                })
            }),
            proxies = javaType.proxies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.ServiceHostnameConfigurationProxy.Companion.toKotlin(args0)
                })
            }),
            scms = javaType.scms().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.ServiceHostnameConfigurationScm.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy