
src.redis.v1.Instance.scala Maven / Gradle / Ivy
package besom.api.googlenative.redis.v1
final case class Instance private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
alternativeLocationId: besom.types.Output[String],
authEnabled: besom.types.Output[Boolean],
authorizedNetwork: besom.types.Output[String],
availableMaintenanceVersions: besom.types.Output[scala.collection.immutable.List[String]],
connectMode: besom.types.Output[String],
createTime: besom.types.Output[String],
currentLocationId: besom.types.Output[String],
customerManagedKey: besom.types.Output[String],
displayName: besom.types.Output[String],
host: besom.types.Output[String],
instanceId: besom.types.Output[String],
labels: besom.types.Output[scala.Predef.Map[String, String]],
location: besom.types.Output[String],
maintenancePolicy: besom.types.Output[besom.api.googlenative.redis.v1.outputs.MaintenancePolicyResponse],
maintenanceSchedule: besom.types.Output[besom.api.googlenative.redis.v1.outputs.MaintenanceScheduleResponse],
maintenanceVersion: besom.types.Output[String],
memorySizeGb: besom.types.Output[Int],
name: besom.types.Output[String],
nodes: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.NodeInfoResponse]],
persistenceConfig: besom.types.Output[besom.api.googlenative.redis.v1.outputs.PersistenceConfigResponse],
persistenceIamIdentity: besom.types.Output[String],
port: besom.types.Output[Int],
project: besom.types.Output[String],
readEndpoint: besom.types.Output[String],
readEndpointPort: besom.types.Output[Int],
readReplicasMode: besom.types.Output[String],
redisConfigs: besom.types.Output[scala.Predef.Map[String, String]],
redisVersion: besom.types.Output[String],
replicaCount: besom.types.Output[Int],
reservedIpRange: besom.types.Output[String],
satisfiesPzs: besom.types.Output[Boolean],
secondaryIpRange: besom.types.Output[String],
serverCaCerts: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.TlsCertificateResponse]],
state: besom.types.Output[String],
statusMessage: besom.types.Output[String],
suspensionReasons: besom.types.Output[scala.collection.immutable.List[String]],
tier: besom.types.Output[String],
transitEncryptionMode: besom.types.Output[String]
) extends besom.CustomResource
object Instance extends besom.ResourceCompanion[Instance]:
/** Resource constructor for Instance.
*
* @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
* NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
* issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
* string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
*
* @param args [[InstanceArgs]] The configuration to use to create this resource.
*
* @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource.
* Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
*
* {{{
* val res = Instance(
* "my-resource",
* InstanceArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: InstanceArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Instance] =
ctx.readOrRegisterResource[Instance, InstanceArgs]("google-native:redis/v1:Instance", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:redis/v1:Instance"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Instance] =
besom.internal.ResourceDecoder.derived[Instance]
given decoder(using besom.types.Context): besom.types.Decoder[Instance] =
besom.internal.Decoder.customResourceDecoder[Instance]
given outputOps: {} with
extension(output: besom.types.Output[Instance])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def alternativeLocationId : besom.types.Output[String] = output.flatMap(_.alternativeLocationId)
def authEnabled : besom.types.Output[Boolean] = output.flatMap(_.authEnabled)
def authorizedNetwork : besom.types.Output[String] = output.flatMap(_.authorizedNetwork)
def availableMaintenanceVersions : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.availableMaintenanceVersions)
def connectMode : besom.types.Output[String] = output.flatMap(_.connectMode)
def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
def currentLocationId : besom.types.Output[String] = output.flatMap(_.currentLocationId)
def customerManagedKey : besom.types.Output[String] = output.flatMap(_.customerManagedKey)
def displayName : besom.types.Output[String] = output.flatMap(_.displayName)
def host : besom.types.Output[String] = output.flatMap(_.host)
def instanceId : besom.types.Output[String] = output.flatMap(_.instanceId)
def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
def location : besom.types.Output[String] = output.flatMap(_.location)
def maintenancePolicy : besom.types.Output[besom.api.googlenative.redis.v1.outputs.MaintenancePolicyResponse] = output.flatMap(_.maintenancePolicy)
def maintenanceSchedule : besom.types.Output[besom.api.googlenative.redis.v1.outputs.MaintenanceScheduleResponse] = output.flatMap(_.maintenanceSchedule)
def maintenanceVersion : besom.types.Output[String] = output.flatMap(_.maintenanceVersion)
def memorySizeGb : besom.types.Output[Int] = output.flatMap(_.memorySizeGb)
def name : besom.types.Output[String] = output.flatMap(_.name)
def nodes : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.NodeInfoResponse]] = output.flatMap(_.nodes)
def persistenceConfig : besom.types.Output[besom.api.googlenative.redis.v1.outputs.PersistenceConfigResponse] = output.flatMap(_.persistenceConfig)
def persistenceIamIdentity : besom.types.Output[String] = output.flatMap(_.persistenceIamIdentity)
def port : besom.types.Output[Int] = output.flatMap(_.port)
def project : besom.types.Output[String] = output.flatMap(_.project)
def readEndpoint : besom.types.Output[String] = output.flatMap(_.readEndpoint)
def readEndpointPort : besom.types.Output[Int] = output.flatMap(_.readEndpointPort)
def readReplicasMode : besom.types.Output[String] = output.flatMap(_.readReplicasMode)
def redisConfigs : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.redisConfigs)
def redisVersion : besom.types.Output[String] = output.flatMap(_.redisVersion)
def replicaCount : besom.types.Output[Int] = output.flatMap(_.replicaCount)
def reservedIpRange : besom.types.Output[String] = output.flatMap(_.reservedIpRange)
def satisfiesPzs : besom.types.Output[Boolean] = output.flatMap(_.satisfiesPzs)
def secondaryIpRange : besom.types.Output[String] = output.flatMap(_.secondaryIpRange)
def serverCaCerts : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.redis.v1.outputs.TlsCertificateResponse]] = output.flatMap(_.serverCaCerts)
def state : besom.types.Output[String] = output.flatMap(_.state)
def statusMessage : besom.types.Output[String] = output.flatMap(_.statusMessage)
def suspensionReasons : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.suspensionReasons)
def tier : besom.types.Output[String] = output.flatMap(_.tier)
def transitEncryptionMode : besom.types.Output[String] = output.flatMap(_.transitEncryptionMode)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy