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

com.pulumi.azurenative.apimanagement.kotlin.outputs.GetApiGatewayResult.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.apimanagement.kotlin.outputs

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

/**
 * A single API Management gateway resource in List or Get response.
 * @property backend Information regarding how the gateway should integrate with backend systems.
 * @property configurationApi Information regarding the Configuration API of the API Management gateway. This is only applicable for API gateway with Standard SKU.
 * @property createdAtUtc Creation UTC date of the API Management gateway.The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
 * @property etag ETag of the resource.
 * @property frontend Information regarding how the gateway should be exposed.
 * @property id Resource ID.
 * @property location Resource location.
 * @property name Resource name.
 * @property provisioningState The current provisioning state of the API Management gateway which can be one of the following: Created/Activating/Succeeded/Updating/Failed/Stopped/Terminating/TerminationFailed/Deleted.
 * @property sku SKU properties of the API Management gateway.
 * @property systemData Metadata pertaining to creation and last modification of the resource.
 * @property tags Resource tags.
 * @property targetProvisioningState The provisioning state of the API Management gateway, which is targeted by the long running operation started on the gateway.
 * @property type Resource type for API Management resource is set to Microsoft.ApiManagement.
 * @property virtualNetworkType The type of VPN in which API Management gateway needs to be configured in.
 */
public data class GetApiGatewayResult(
    public val backend: BackendConfigurationResponse? = null,
    public val configurationApi: GatewayConfigurationApiResponse? = null,
    public val createdAtUtc: String,
    public val etag: String,
    public val frontend: FrontendConfigurationResponse? = null,
    public val id: String,
    public val location: String,
    public val name: String,
    public val provisioningState: String,
    public val sku: ApiManagementGatewaySkuPropertiesResponse,
    public val systemData: SystemDataResponse,
    public val tags: Map? = null,
    public val targetProvisioningState: String,
    public val type: String,
    public val virtualNetworkType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.apimanagement.outputs.GetApiGatewayResult): GetApiGatewayResult = GetApiGatewayResult(
            backend = javaType.backend().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.apimanagement.kotlin.outputs.BackendConfigurationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            configurationApi = javaType.configurationApi().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.apimanagement.kotlin.outputs.GatewayConfigurationApiResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            createdAtUtc = javaType.createdAtUtc(),
            etag = javaType.etag(),
            frontend = javaType.frontend().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.apimanagement.kotlin.outputs.FrontendConfigurationResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            provisioningState = javaType.provisioningState(),
            sku = javaType.sku().let({ args0 ->
                com.pulumi.azurenative.apimanagement.kotlin.outputs.ApiManagementGatewaySkuPropertiesResponse.Companion.toKotlin(args0)
            }),
            systemData = javaType.systemData().let({ args0 ->
                com.pulumi.azurenative.apimanagement.kotlin.outputs.SystemDataResponse.Companion.toKotlin(args0)
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            targetProvisioningState = javaType.targetProvisioningState(),
            type = javaType.type(),
            virtualNetworkType = javaType.virtualNetworkType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy