
src.bigtableadmin.v2.AppProfile.scala Maven / Gradle / Ivy
package besom.api.googlenative.bigtableadmin.v2
final case class AppProfile private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
appProfileId: besom.types.Output[String],
description: besom.types.Output[String],
etag: besom.types.Output[String],
ignoreWarnings: besom.types.Output[scala.Option[Boolean]],
instanceId: besom.types.Output[String],
multiClusterRoutingUseAny: besom.types.Output[besom.api.googlenative.bigtableadmin.v2.outputs.MultiClusterRoutingUseAnyResponse],
name: besom.types.Output[String],
priority: besom.types.Output[String],
project: besom.types.Output[String],
singleClusterRouting: besom.types.Output[besom.api.googlenative.bigtableadmin.v2.outputs.SingleClusterRoutingResponse],
standardIsolation: besom.types.Output[besom.api.googlenative.bigtableadmin.v2.outputs.StandardIsolationResponse]
) extends besom.CustomResource
object AppProfile extends besom.ResourceCompanion[AppProfile]:
/** Resource constructor for AppProfile.
*
* @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 [[AppProfileArgs]] 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 = AppProfile(
* "my-resource",
* AppProfileArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: AppProfileArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[AppProfile] =
ctx.readOrRegisterResource[AppProfile, AppProfileArgs]("google-native:bigtableadmin/v2:AppProfile", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:bigtableadmin/v2:AppProfile"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[AppProfile] =
besom.internal.ResourceDecoder.derived[AppProfile]
given decoder(using besom.types.Context): besom.types.Decoder[AppProfile] =
besom.internal.Decoder.customResourceDecoder[AppProfile]
given outputOps: {} with
extension(output: besom.types.Output[AppProfile])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def appProfileId : besom.types.Output[String] = output.flatMap(_.appProfileId)
def description : besom.types.Output[String] = output.flatMap(_.description)
def etag : besom.types.Output[String] = output.flatMap(_.etag)
def ignoreWarnings : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.ignoreWarnings)
def instanceId : besom.types.Output[String] = output.flatMap(_.instanceId)
def multiClusterRoutingUseAny : besom.types.Output[besom.api.googlenative.bigtableadmin.v2.outputs.MultiClusterRoutingUseAnyResponse] = output.flatMap(_.multiClusterRoutingUseAny)
def name : besom.types.Output[String] = output.flatMap(_.name)
def priority : besom.types.Output[String] = output.flatMap(_.priority)
def project : besom.types.Output[String] = output.flatMap(_.project)
def singleClusterRouting : besom.types.Output[besom.api.googlenative.bigtableadmin.v2.outputs.SingleClusterRoutingResponse] = output.flatMap(_.singleClusterRouting)
def standardIsolation : besom.types.Output[besom.api.googlenative.bigtableadmin.v2.outputs.StandardIsolationResponse] = output.flatMap(_.standardIsolation)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy