
com.pulumi.azure.network.kotlin.outputs.GetExpressRouteCircuitResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.network.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getExpressRouteCircuit.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure location where the ExpressRoute circuit exists
* @property name
* @property peerings A `peerings` block for the ExpressRoute circuit as documented below
* @property resourceGroupName
* @property serviceKey The string needed by the service provider to provision the ExpressRoute circuit.
* @property serviceProviderProperties A `service_provider_properties` block for the ExpressRoute circuit as documented below
* @property serviceProviderProvisioningState The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are `NotProvisioned`, `Provisioning`, `Provisioned`, and `Deprovisioning`.
* @property sku A `sku` block for the ExpressRoute circuit as documented below.
*/
public data class GetExpressRouteCircuitResult(
public val id: String,
public val location: String,
public val name: String,
public val peerings: List,
public val resourceGroupName: String,
public val serviceKey: String,
public val serviceProviderProperties: List,
public val serviceProviderProvisioningState: String,
public val sku: GetExpressRouteCircuitSku,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.network.outputs.GetExpressRouteCircuitResult):
GetExpressRouteCircuitResult = GetExpressRouteCircuitResult(
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
peerings = javaType.peerings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetExpressRouteCircuitPeering.Companion.toKotlin(args0)
})
}),
resourceGroupName = javaType.resourceGroupName(),
serviceKey = javaType.serviceKey(),
serviceProviderProperties = javaType.serviceProviderProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetExpressRouteCircuitServiceProviderProperty.Companion.toKotlin(args0)
})
}),
serviceProviderProvisioningState = javaType.serviceProviderProvisioningState(),
sku = javaType.sku().let({ args0 ->
com.pulumi.azure.network.kotlin.outputs.GetExpressRouteCircuitSku.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy