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

com.pulumi.azure.appplatform.kotlin.outputs.GetSpringCloudServiceResult.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.appplatform.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getSpringCloudService.
 * @property configServerGitSettings A `config_server_git_setting` block as defined below.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The location of Spring Cloud Service.
 * @property name The name to identify on the Git repository.
 * @property outboundPublicIpAddresses A list of the outbound Public IP Addresses used by this Spring Cloud Service.
 * @property requiredNetworkTrafficRules A list of `required_network_traffic_rules` blocks as defined below.
 * @property resourceGroupName
 * @property tags A mapping of tags assigned to Spring Cloud Service.
 */
public data class GetSpringCloudServiceResult(
    public val configServerGitSettings: List,
    public val id: String,
    public val location: String,
    public val name: String,
    public val outboundPublicIpAddresses: List,
    public val requiredNetworkTrafficRules: List,
    public val resourceGroupName: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appplatform.outputs.GetSpringCloudServiceResult): GetSpringCloudServiceResult = GetSpringCloudServiceResult(
            configServerGitSettings = javaType.configServerGitSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appplatform.kotlin.outputs.GetSpringCloudServiceConfigServerGitSetting.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            outboundPublicIpAddresses = javaType.outboundPublicIpAddresses().map({ args0 -> args0 }),
            requiredNetworkTrafficRules = javaType.requiredNetworkTrafficRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appplatform.kotlin.outputs.GetSpringCloudServiceRequiredNetworkTrafficRule.Companion.toKotlin(args0)
                })
            }),
            resourceGroupName = javaType.resourceGroupName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy