![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.apimanagement.kotlin.outputs.GetWorkspaceBackendResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apimanagement.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Backend details.
* @property circuitBreaker Backend Circuit Breaker Configuration
* @property credentials Backend Credentials Contract Properties
* @property description Backend Description.
* @property id Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* @property name The name of the resource
* @property pool
* @property properties Backend Properties contract
* @property protocol Backend communication protocol.
* @property proxy Backend gateway Contract Properties
* @property resourceId Management Uri of the Resource in External System. This URL can be the Arm Resource Id of Logic Apps, Function Apps or API Apps.
* @property title Backend Title.
* @property tls Backend TLS Properties
* @property type The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
* @property url Runtime Url of the Backend.
*/
public data class GetWorkspaceBackendResult(
public val circuitBreaker: BackendCircuitBreakerResponse? = null,
public val credentials: BackendCredentialsContractResponse? = null,
public val description: String? = null,
public val id: String,
public val name: String,
public val pool: BackendBaseParametersResponsePool? = null,
public val properties: BackendPropertiesResponse,
public val protocol: String,
public val proxy: BackendProxyContractResponse? = null,
public val resourceId: String? = null,
public val title: String? = null,
public val tls: BackendTlsPropertiesResponse? = null,
public val type: String,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.apimanagement.outputs.GetWorkspaceBackendResult): GetWorkspaceBackendResult = GetWorkspaceBackendResult(
circuitBreaker = javaType.circuitBreaker().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.BackendCircuitBreakerResponse.Companion.toKotlin(args0)
})
}).orElse(null),
credentials = javaType.credentials().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.BackendCredentialsContractResponse.Companion.toKotlin(args0)
})
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
name = javaType.name(),
pool = javaType.pool().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.BackendBaseParametersResponsePool.Companion.toKotlin(args0)
})
}).orElse(null),
properties = javaType.properties().let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.BackendPropertiesResponse.Companion.toKotlin(args0)
}),
protocol = javaType.protocol(),
proxy = javaType.proxy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.BackendProxyContractResponse.Companion.toKotlin(args0)
})
}).orElse(null),
resourceId = javaType.resourceId().map({ args0 -> args0 }).orElse(null),
title = javaType.title().map({ args0 -> args0 }).orElse(null),
tls = javaType.tls().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.apimanagement.kotlin.outputs.BackendTlsPropertiesResponse.Companion.toKotlin(args0)
})
}).orElse(null),
type = javaType.type(),
url = javaType.url(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy