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

com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppResult.kt Maven / Gradle / Ivy

@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 getWindowsWebApp.
 * @property appSettings A map of key-value pairs of App Settings.
 * @property authSettings A `auth_settings` block as defined below.
 * @property authSettingsV2s An `auth_settings_v2` block as defined below.
 * @property backups A `backup` block as defined below.
 * @property clientAffinityEnabled Is Client Affinity enabled?
 * @property clientCertificateEnabled Are Client Certificates enabled?
 * @property clientCertificateExclusionPaths Paths to exclude when using client certificates, separated by ;
 * @property clientCertificateMode The Client Certificate mode.
 * @property connectionStrings A `connection_string` block as defined below.
 * @property customDomainVerificationId The identifier used by App Service to perform domain ownership verification via DNS TXT record.
 * @property defaultHostname The Default Hostname of the Windows Web App.
 * @property enabled Is the Backup enabled?
 * @property ftpPublishBasicAuthenticationEnabled Are the default FTP Basic Authentication publishing credentials enabled.
 * @property hostingEnvironmentId The ID of the App Service Environment used by App Service.
 * @property httpsOnly Does the Windows Web App require HTTPS connections.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities A `identity` block as defined below.
 * @property kind The string representation of the Windows Web App Kind.
 * @property location The Azure Region where the Windows Web App exists.
 * @property logs A `logs` block as defined below.
 * @property name The name of this Storage Account.
 * @property outboundIpAddressLists The list of Outbound IP Addresses for this Windows Web App.
 * @property outboundIpAddresses A string representation of the list of Outbound IP Addresses for this Windows Web App.
 * @property possibleOutboundIpAddressLists The list of Possible Outbound IP Addresses that could be used by this Windows Web App.
 * @property possibleOutboundIpAddresses The string representation of the list of Possible Outbound IP Addresses that could be used by this Windows Web App.
 * @property publicNetworkAccessEnabled Is Public Network Access enabled for the Windows Web App.
 * @property resourceGroupName
 * @property servicePlanId The ID of the Service Plan in which this Windows Web App resides.
 * @property siteConfigs A `site_config` block as defined below.
 * @property siteCredentials A `site_credential` block as defined below.
 * @property stickySettings A `sticky_settings` block as defined below.
 * @property storageAccounts A `storage_account` block as defined below.
 * @property tags A mapping of tags assigned to the Windows Web App.
 * @property virtualNetworkSubnetId The subnet id which the Windows Web App is vNet Integrated with.
 * @property webdeployPublishBasicAuthenticationEnabled Are the default WebDeploy Basic Authentication publishing credentials enabled.
 */
public data class GetWindowsWebAppResult(
    public val appSettings: Map,
    public val authSettings: List,
    public val authSettingsV2s: List,
    public val backups: List,
    public val clientAffinityEnabled: Boolean,
    public val clientCertificateEnabled: Boolean,
    public val clientCertificateExclusionPaths: String,
    public val clientCertificateMode: String,
    public val connectionStrings: List,
    public val customDomainVerificationId: String,
    public val defaultHostname: String,
    public val enabled: Boolean,
    public val ftpPublishBasicAuthenticationEnabled: Boolean,
    public val hostingEnvironmentId: String,
    public val httpsOnly: Boolean,
    public val id: String,
    public val identities: List,
    public val kind: String,
    public val location: String,
    public val logs: List,
    public val name: String,
    public val outboundIpAddressLists: List,
    public val outboundIpAddresses: String,
    public val possibleOutboundIpAddressLists: List,
    public val possibleOutboundIpAddresses: String,
    public val publicNetworkAccessEnabled: Boolean,
    public val resourceGroupName: String,
    public val servicePlanId: String,
    public val siteConfigs: List,
    public val siteCredentials: List,
    public val stickySettings: List,
    public val storageAccounts: List,
    public val tags: Map,
    public val virtualNetworkSubnetId: String,
    public val webdeployPublishBasicAuthenticationEnabled: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetWindowsWebAppResult): GetWindowsWebAppResult = GetWindowsWebAppResult(
            appSettings = javaType.appSettings().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            authSettings = javaType.authSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppAuthSetting.Companion.toKotlin(args0)
                })
            }),
            authSettingsV2s = javaType.authSettingsV2s().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppAuthSettingsV2.Companion.toKotlin(args0)
                })
            }),
            backups = javaType.backups().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppBackup.Companion.toKotlin(args0)
                })
            }),
            clientAffinityEnabled = javaType.clientAffinityEnabled(),
            clientCertificateEnabled = javaType.clientCertificateEnabled(),
            clientCertificateExclusionPaths = javaType.clientCertificateExclusionPaths(),
            clientCertificateMode = javaType.clientCertificateMode(),
            connectionStrings = javaType.connectionStrings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppConnectionString.Companion.toKotlin(args0)
                })
            }),
            customDomainVerificationId = javaType.customDomainVerificationId(),
            defaultHostname = javaType.defaultHostname(),
            enabled = javaType.enabled(),
            ftpPublishBasicAuthenticationEnabled = javaType.ftpPublishBasicAuthenticationEnabled(),
            hostingEnvironmentId = javaType.hostingEnvironmentId(),
            httpsOnly = javaType.httpsOnly(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppIdentity.Companion.toKotlin(args0)
                })
            }),
            kind = javaType.kind(),
            location = javaType.location(),
            logs = javaType.logs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppLog.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            outboundIpAddressLists = javaType.outboundIpAddressLists().map({ args0 -> args0 }),
            outboundIpAddresses = javaType.outboundIpAddresses(),
            possibleOutboundIpAddressLists = javaType.possibleOutboundIpAddressLists().map({ args0 -> args0 }),
            possibleOutboundIpAddresses = javaType.possibleOutboundIpAddresses(),
            publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
            resourceGroupName = javaType.resourceGroupName(),
            servicePlanId = javaType.servicePlanId(),
            siteConfigs = javaType.siteConfigs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppSiteConfig.Companion.toKotlin(args0)
                })
            }),
            siteCredentials = javaType.siteCredentials().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppSiteCredential.Companion.toKotlin(args0)
                })
            }),
            stickySettings = javaType.stickySettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppStickySetting.Companion.toKotlin(args0)
                })
            }),
            storageAccounts = javaType.storageAccounts().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetWindowsWebAppStorageAccount.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            virtualNetworkSubnetId = javaType.virtualNetworkSubnetId(),
            webdeployPublishBasicAuthenticationEnabled = javaType.webdeployPublishBasicAuthenticationEnabled(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy