
src.alloydb.v1beta.ClusterArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.alloydb.v1beta
final case class ClusterArgs private(
annotations: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
automatedBackupPolicy: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.inputs.AutomatedBackupPolicyArgs]],
clusterId: besom.types.Output[String],
continuousBackupConfig: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.inputs.ContinuousBackupConfigArgs]],
databaseVersion: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.enums.ClusterDatabaseVersion]],
displayName: besom.types.Output[scala.Option[String]],
encryptionConfig: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.inputs.EncryptionConfigArgs]],
etag: besom.types.Output[scala.Option[String]],
initialUser: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.inputs.UserPasswordArgs]],
labels: besom.types.Output[scala.Option[scala.Predef.Map[String, String]]],
location: besom.types.Output[scala.Option[String]],
network: besom.types.Output[String],
networkConfig: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.inputs.NetworkConfigArgs]],
project: besom.types.Output[scala.Option[String]],
requestId: besom.types.Output[scala.Option[String]],
secondaryConfig: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.inputs.SecondaryConfigArgs]],
sslConfig: besom.types.Output[scala.Option[besom.api.googlenative.alloydb.v1beta.inputs.SslConfigArgs]]
)
object ClusterArgs:
def apply(
annotations: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
automatedBackupPolicy: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.inputs.AutomatedBackupPolicyArgs] = scala.None,
clusterId: besom.types.Input[String],
continuousBackupConfig: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.inputs.ContinuousBackupConfigArgs] = scala.None,
databaseVersion: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.enums.ClusterDatabaseVersion] = scala.None,
displayName: besom.types.Input.Optional[String] = scala.None,
encryptionConfig: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.inputs.EncryptionConfigArgs] = scala.None,
etag: besom.types.Input.Optional[String] = scala.None,
initialUser: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.inputs.UserPasswordArgs] = scala.None,
labels: besom.types.Input.Optional[scala.Predef.Map[String, besom.types.Input[String]]] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
network: besom.types.Input[String],
networkConfig: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.inputs.NetworkConfigArgs] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
requestId: besom.types.Input.Optional[String] = scala.None,
secondaryConfig: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.inputs.SecondaryConfigArgs] = scala.None,
sslConfig: besom.types.Input.Optional[besom.api.googlenative.alloydb.v1beta.inputs.SslConfigArgs] = scala.None
)(using besom.types.Context): ClusterArgs =
new ClusterArgs(
annotations = annotations.asOptionOutput(isSecret = false),
automatedBackupPolicy = automatedBackupPolicy.asOptionOutput(isSecret = false),
clusterId = clusterId.asOutput(isSecret = false),
continuousBackupConfig = continuousBackupConfig.asOptionOutput(isSecret = false),
databaseVersion = databaseVersion.asOptionOutput(isSecret = false),
displayName = displayName.asOptionOutput(isSecret = false),
encryptionConfig = encryptionConfig.asOptionOutput(isSecret = false),
etag = etag.asOptionOutput(isSecret = false),
initialUser = initialUser.asOptionOutput(isSecret = false),
labels = labels.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
network = network.asOutput(isSecret = false),
networkConfig = networkConfig.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
requestId = requestId.asOptionOutput(isSecret = false),
secondaryConfig = secondaryConfig.asOptionOutput(isSecret = false),
sslConfig = sslConfig.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[ClusterArgs] =
besom.internal.Encoder.derived[ClusterArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[ClusterArgs] =
besom.internal.ArgsEncoder.derived[ClusterArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy