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.postgresql.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getFlexibleServer.
* @property administratorLogin The Administrator login for the PostgreSQL Flexible Server.
* @property autoGrowEnabled Is the storage auto grow for PostgreSQL Flexible Server enabled?
* @property backupRetentionDays The backup retention days for the PostgreSQL Flexible Server.
* @property delegatedSubnetId The ID of the virtual network subnet to create the PostgreSQL Flexible Server.
* @property fqdn The FQDN of the PostgreSQL Flexible Server.
* @property id The provider-assigned unique ID for this managed resource.
* @property location The Azure Region where the PostgreSQL Flexible Server exists.
* @property name
* @property publicNetworkAccessEnabled Is public network access enabled?
* @property resourceGroupName
* @property skuName The SKU Name for the PostgreSQL Flexible Server. The name of the SKU, follows the `tier` + `name` pattern (e.g. `B_Standard_B1ms`, `GP_Standard_D2s_v3`, `MO_Standard_E4s_v3`).
* @property storageMb The max storage allowed for the PostgreSQL Flexible Server.
* @property tags A mapping of tags assigned to the PostgreSQL Flexible Server.
* @property version The version of PostgreSQL Flexible Server to use.
*/
public data class GetFlexibleServerResult(
public val administratorLogin: String,
public val autoGrowEnabled: Boolean,
public val backupRetentionDays: Int,
public val delegatedSubnetId: String,
public val fqdn: String,
public val id: String,
public val location: String,
public val name: String,
public val publicNetworkAccessEnabled: Boolean,
public val resourceGroupName: String,
public val skuName: String,
public val storageMb: Int,
public val tags: Map,
public val version: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.postgresql.outputs.GetFlexibleServerResult): GetFlexibleServerResult = GetFlexibleServerResult(
administratorLogin = javaType.administratorLogin(),
autoGrowEnabled = javaType.autoGrowEnabled(),
backupRetentionDays = javaType.backupRetentionDays(),
delegatedSubnetId = javaType.delegatedSubnetId(),
fqdn = javaType.fqdn(),
id = javaType.id(),
location = javaType.location(),
name = javaType.name(),
publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
resourceGroupName = javaType.resourceGroupName(),
skuName = javaType.skuName(),
storageMb = javaType.storageMb(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
version = javaType.version(),
)
}
}