Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.redis.kotlin.outputs
import kotlin.Boolean
import kotlin.Deprecated
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getCache.
* @property capacity The size of the Redis Cache deployed.
* @property enableNonSslPort Whether the SSL port is enabled.
* @property family The SKU family/pricing group used. Possible values are `C` (for Basic/Standard SKU family) and `P` (for `Premium`)
* @property hostname The Hostname of the Redis Instance
* @property id The provider-assigned unique ID for this managed resource.
* @property location The location of the Redis Cache.
* @property minimumTlsVersion The minimum TLS version.
* @property name
* @property nonSslPortEnabled
* @property patchSchedules A list of `patch_schedule` blocks as defined below.
* @property port The non-SSL Port of the Redis Instance
* @property primaryAccessKey The Primary Access Key for the Redis Instance
* @property primaryConnectionString The primary connection string of the Redis Instance.
* @property privateStaticIpAddress The Static IP Address assigned to the Redis Cache when hosted inside the Virtual Network.
* @property redisConfigurations A `redis_configuration` block as defined below.
* @property resourceGroupName
* @property secondaryAccessKey The Secondary Access Key for the Redis Instance
* @property secondaryConnectionString The secondary connection string of the Redis Instance.
* @property shardCount
* @property skuName The SKU of Redis used. Possible values are `Basic`, `Standard` and `Premium`.
* @property sslPort The SSL Port of the Redis Instance
* @property subnetId
* @property tags
* @property zones A list of Availability Zones in which this Redis Cache is located.
*/
public data class GetCacheResult(
public val capacity: Int,
@Deprecated(
message = """
`enable_non_ssl_port` will be removed in favour of the property `non_ssl_port_enabled` in version
4.0 of the AzureRM Provider.
""",
)
public val enableNonSslPort: Boolean,
public val family: String,
public val hostname: String,
public val id: String,
public val location: String,
public val minimumTlsVersion: String,
public val name: String,
public val nonSslPortEnabled: Boolean,
public val patchSchedules: List,
public val port: Int,
public val primaryAccessKey: String,
public val primaryConnectionString: String,
public val privateStaticIpAddress: String,
public val redisConfigurations: List,
public val resourceGroupName: String,
public val secondaryAccessKey: String,
public val secondaryConnectionString: String,
public val shardCount: Int,
public val skuName: String,
public val sslPort: Int,
public val subnetId: String,
public val tags: Map,
public val zones: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.redis.outputs.GetCacheResult): GetCacheResult =
GetCacheResult(
capacity = javaType.capacity(),
enableNonSslPort = javaType.enableNonSslPort(),
family = javaType.family(),
hostname = javaType.hostname(),
id = javaType.id(),
location = javaType.location(),
minimumTlsVersion = javaType.minimumTlsVersion(),
name = javaType.name(),
nonSslPortEnabled = javaType.nonSslPortEnabled(),
patchSchedules = javaType.patchSchedules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.redis.kotlin.outputs.GetCachePatchSchedule.Companion.toKotlin(args0)
})
}),
port = javaType.port(),
primaryAccessKey = javaType.primaryAccessKey(),
primaryConnectionString = javaType.primaryConnectionString(),
privateStaticIpAddress = javaType.privateStaticIpAddress(),
redisConfigurations = javaType.redisConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.redis.kotlin.outputs.GetCacheRedisConfiguration.Companion.toKotlin(args0)
})
}),
resourceGroupName = javaType.resourceGroupName(),
secondaryAccessKey = javaType.secondaryAccessKey(),
secondaryConnectionString = javaType.secondaryConnectionString(),
shardCount = javaType.shardCount(),
skuName = javaType.skuName(),
sslPort = javaType.sslPort(),
subnetId = javaType.subnetId(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
zones = javaType.zones().map({ args0 -> args0 }),
)
}
}