
src.apigee.v1.Instance.scala Maven / Gradle / Ivy
package besom.api.googlenative.apigee.v1
final case class Instance private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
consumerAcceptList: besom.types.Output[scala.collection.immutable.List[String]],
createdAt: besom.types.Output[String],
description: besom.types.Output[String],
diskEncryptionKeyName: besom.types.Output[String],
displayName: besom.types.Output[String],
host: besom.types.Output[String],
ipRange: besom.types.Output[String],
lastModifiedAt: besom.types.Output[String],
location: besom.types.Output[String],
name: besom.types.Output[String],
organizationId: besom.types.Output[String],
peeringCidrRange: besom.types.Output[String],
port: besom.types.Output[String],
runtimeVersion: besom.types.Output[String],
serviceAttachment: besom.types.Output[String],
state: 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:apigee/v1:Instance", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:apigee/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 consumerAcceptList : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.consumerAcceptList)
def createdAt : besom.types.Output[String] = output.flatMap(_.createdAt)
def description : besom.types.Output[String] = output.flatMap(_.description)
def diskEncryptionKeyName : besom.types.Output[String] = output.flatMap(_.diskEncryptionKeyName)
def displayName : besom.types.Output[String] = output.flatMap(_.displayName)
def host : besom.types.Output[String] = output.flatMap(_.host)
def ipRange : besom.types.Output[String] = output.flatMap(_.ipRange)
def lastModifiedAt : besom.types.Output[String] = output.flatMap(_.lastModifiedAt)
def location : besom.types.Output[String] = output.flatMap(_.location)
def name : besom.types.Output[String] = output.flatMap(_.name)
def organizationId : besom.types.Output[String] = output.flatMap(_.organizationId)
def peeringCidrRange : besom.types.Output[String] = output.flatMap(_.peeringCidrRange)
def port : besom.types.Output[String] = output.flatMap(_.port)
def runtimeVersion : besom.types.Output[String] = output.flatMap(_.runtimeVersion)
def serviceAttachment : besom.types.Output[String] = output.flatMap(_.serviceAttachment)
def state : besom.types.Output[String] = output.flatMap(_.state)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy