src.compute.alpha.Interconnect.scala Maven / Gradle / Ivy
The newest version!
package besom.api.googlenative.compute.alpha
final case class Interconnect private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
adminEnabled: besom.types.Output[Boolean],
availableFeatures: besom.types.Output[scala.collection.immutable.List[String]],
circuitInfos: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.outputs.InterconnectCircuitInfoResponse]],
creationTimestamp: besom.types.Output[String],
customerName: besom.types.Output[String],
description: besom.types.Output[String],
expectedOutages: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.outputs.InterconnectOutageNotificationResponse]],
googleIpAddress: besom.types.Output[String],
googleReferenceId: besom.types.Output[String],
interconnectAttachments: besom.types.Output[scala.collection.immutable.List[String]],
interconnectType: besom.types.Output[String],
kind: besom.types.Output[String],
labelFingerprint: besom.types.Output[String],
labels: besom.types.Output[scala.Predef.Map[String, String]],
linkType: besom.types.Output[String],
location: besom.types.Output[String],
macsec: besom.types.Output[besom.api.googlenative.compute.alpha.outputs.InterconnectMacsecResponse],
macsecEnabled: besom.types.Output[Boolean],
name: besom.types.Output[String],
nocContactEmail: besom.types.Output[String],
operationalStatus: besom.types.Output[String],
peerIpAddress: besom.types.Output[String],
project: besom.types.Output[String],
provisionedLinkCount: besom.types.Output[Int],
remoteLocation: besom.types.Output[String],
requestId: besom.types.Output[scala.Option[String]],
requestedFeatures: besom.types.Output[scala.collection.immutable.List[String]],
requestedLinkCount: besom.types.Output[Int],
satisfiesPzs: besom.types.Output[Boolean],
selfLink: besom.types.Output[String],
selfLinkWithId: besom.types.Output[String],
state: besom.types.Output[String]
) extends besom.CustomResource
object Interconnect extends besom.ResourceCompanion[Interconnect]:
/** Resource constructor for Interconnect.
*
* @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 [[InterconnectArgs]] The configuration to use to create this resource. This resource has a default configuration.
*
* @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 = Interconnect(
* "my-resource",
* InterconnectArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: InterconnectArgs = InterconnectArgs(),
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Interconnect] =
ctx.readOrRegisterResource[Interconnect, InterconnectArgs]("google-native:compute/alpha:Interconnect", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:compute/alpha:Interconnect"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Interconnect] =
besom.internal.ResourceDecoder.derived[Interconnect]
given decoder(using besom.types.Context): besom.types.Decoder[Interconnect] =
besom.internal.Decoder.customResourceDecoder[Interconnect]
given outputOps: {} with
extension(output: besom.types.Output[Interconnect])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def adminEnabled : besom.types.Output[Boolean] = output.flatMap(_.adminEnabled)
def availableFeatures : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.availableFeatures)
def circuitInfos : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.outputs.InterconnectCircuitInfoResponse]] = output.flatMap(_.circuitInfos)
def creationTimestamp : besom.types.Output[String] = output.flatMap(_.creationTimestamp)
def customerName : besom.types.Output[String] = output.flatMap(_.customerName)
def description : besom.types.Output[String] = output.flatMap(_.description)
def expectedOutages : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.compute.alpha.outputs.InterconnectOutageNotificationResponse]] = output.flatMap(_.expectedOutages)
def googleIpAddress : besom.types.Output[String] = output.flatMap(_.googleIpAddress)
def googleReferenceId : besom.types.Output[String] = output.flatMap(_.googleReferenceId)
def interconnectAttachments : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.interconnectAttachments)
def interconnectType : besom.types.Output[String] = output.flatMap(_.interconnectType)
def kind : besom.types.Output[String] = output.flatMap(_.kind)
def labelFingerprint : besom.types.Output[String] = output.flatMap(_.labelFingerprint)
def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
def linkType : besom.types.Output[String] = output.flatMap(_.linkType)
def location : besom.types.Output[String] = output.flatMap(_.location)
def macsec : besom.types.Output[besom.api.googlenative.compute.alpha.outputs.InterconnectMacsecResponse] = output.flatMap(_.macsec)
def macsecEnabled : besom.types.Output[Boolean] = output.flatMap(_.macsecEnabled)
def name : besom.types.Output[String] = output.flatMap(_.name)
def nocContactEmail : besom.types.Output[String] = output.flatMap(_.nocContactEmail)
def operationalStatus : besom.types.Output[String] = output.flatMap(_.operationalStatus)
def peerIpAddress : besom.types.Output[String] = output.flatMap(_.peerIpAddress)
def project : besom.types.Output[String] = output.flatMap(_.project)
def provisionedLinkCount : besom.types.Output[Int] = output.flatMap(_.provisionedLinkCount)
def remoteLocation : besom.types.Output[String] = output.flatMap(_.remoteLocation)
def requestId : besom.types.Output[scala.Option[String]] = output.flatMap(_.requestId)
def requestedFeatures : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.requestedFeatures)
def requestedLinkCount : besom.types.Output[Int] = output.flatMap(_.requestedLinkCount)
def satisfiesPzs : besom.types.Output[Boolean] = output.flatMap(_.satisfiesPzs)
def selfLink : besom.types.Output[String] = output.flatMap(_.selfLink)
def selfLinkWithId : besom.types.Output[String] = output.flatMap(_.selfLinkWithId)
def state : besom.types.Output[String] = output.flatMap(_.state)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy