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

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

package com.pulumi.azure.appservice.kotlin.outputs

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

/**
 * A collection of values returned by getFunctionApp.
 * @property appServicePlanId The ID of the App Service Plan within which to create this Function App.
 * @property appSettings A key-value pair of App Settings.
 * @property clientCertMode The mode of the Function App's client certificates requirement for incoming requests.
 * @property connectionStrings An `connection_string` block as defined below.
 * @property customDomainVerificationId An identifier used by App Service to perform domain ownership verification via DNS TXT record.
 * @property defaultHostname The default hostname associated with the Function App.
 * @property enabled Is the Function App enabled?
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities A `identity` block as defined below.
 * @property location
 * @property name The name for this IP Restriction.
 * @property osType A string indicating the Operating System type for this function app.
 * @property outboundIpAddresses A comma separated list of outbound IP addresses.
 * @property possibleOutboundIpAddresses A comma separated list of outbound IP addresses, not all of which are necessarily in use. Superset of `outbound_ip_addresses`.
 * @property resourceGroupName
 * @property siteConfigs
 * @property siteCredentials A `site_credential` block as defined below, which contains the site-level credentials used to publish to this App Service.
 * @property sourceControls A `source_control` block as defined below.
 * @property tags
 */
public data class GetFunctionAppResult(
    public val appServicePlanId: String,
    public val appSettings: Map,
    public val clientCertMode: String,
    public val connectionStrings: List,
    public val customDomainVerificationId: String,
    public val defaultHostname: String,
    public val enabled: Boolean,
    public val id: String,
    public val identities: List,
    public val location: String,
    public val name: String,
    public val osType: String,
    public val outboundIpAddresses: String,
    public val possibleOutboundIpAddresses: String,
    public val resourceGroupName: String,
    public val siteConfigs: List,
    public val siteCredentials: List,
    public val sourceControls: List,
    public val tags: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetFunctionAppResult): GetFunctionAppResult = GetFunctionAppResult(
            appServicePlanId = javaType.appServicePlanId(),
            appSettings = javaType.appSettings().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            clientCertMode = javaType.clientCertMode(),
            connectionStrings = javaType.connectionStrings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetFunctionAppConnectionString.Companion.toKotlin(args0)
                })
            }),
            customDomainVerificationId = javaType.customDomainVerificationId(),
            defaultHostname = javaType.defaultHostname(),
            enabled = javaType.enabled(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetFunctionAppIdentity.Companion.toKotlin(args0)
                })
            }),
            location = javaType.location(),
            name = javaType.name(),
            osType = javaType.osType(),
            outboundIpAddresses = javaType.outboundIpAddresses(),
            possibleOutboundIpAddresses = javaType.possibleOutboundIpAddresses(),
            resourceGroupName = javaType.resourceGroupName(),
            siteConfigs = javaType.siteConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetFunctionAppSiteConfig.Companion.toKotlin(args0)
                })
            }),
            siteCredentials = javaType.siteCredentials().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetFunctionAppSiteCredential.Companion.toKotlin(args0)
                })
            }),
            sourceControls = javaType.sourceControls().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetFunctionAppSourceControl.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy