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

com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineAgentConfiguration.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hybrid.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property extensionsAllowLists A `extensions_allow_list` block as defined below.
 * @property extensionsBlockLists A `extensions_block_list` block as defined below.
 * @property extensionsEnabled Specifies whether the extension service is enabled or disabled.
 * @property guestConfigurationEnabled Specified whether the guest configuration service is enabled or disabled.
 * @property incomingConnectionsPorts Specifies the list of ports that the agent will be able to listen on.
 * @property proxyBypasses List of service names which should not use the specified proxy server.
 * @property proxyUrl Specifies the URL of the proxy to be used.
 */
public data class GetComputeMachineAgentConfiguration(
    public val extensionsAllowLists: List,
    public val extensionsBlockLists: List,
    public val extensionsEnabled: Boolean,
    public val guestConfigurationEnabled: Boolean,
    public val incomingConnectionsPorts: List,
    public val proxyBypasses: List,
    public val proxyUrl: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.hybrid.outputs.GetComputeMachineAgentConfiguration):
            GetComputeMachineAgentConfiguration = GetComputeMachineAgentConfiguration(
            extensionsAllowLists = javaType.extensionsAllowLists().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineAgentConfigurationExtensionsAllowList.Companion.toKotlin(args0)
                })
            }),
            extensionsBlockLists = javaType.extensionsBlockLists().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.hybrid.kotlin.outputs.GetComputeMachineAgentConfigurationExtensionsBlockList.Companion.toKotlin(args0)
                })
            }),
            extensionsEnabled = javaType.extensionsEnabled(),
            guestConfigurationEnabled = javaType.guestConfigurationEnabled(),
            incomingConnectionsPorts = javaType.incomingConnectionsPorts().map({ args0 -> args0 }),
            proxyBypasses = javaType.proxyBypasses().map({ args0 -> args0 }),
            proxyUrl = javaType.proxyUrl(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy