All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.backupdr.v1.ManagementServer.scala Maven / Gradle / Ivy

package besom.api.googlenative.backupdr.v1

final case class ManagementServer private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  createTime: besom.types.Output[String],
  description: besom.types.Output[String],
  etag: besom.types.Output[String],
  labels: besom.types.Output[scala.Predef.Map[String, String]],
  location: besom.types.Output[String],
  managementServerId: besom.types.Output[String],
  managementUri: besom.types.Output[besom.api.googlenative.backupdr.v1.outputs.ManagementUriResponse],
  name: besom.types.Output[String],
  networks: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.backupdr.v1.outputs.NetworkConfigResponse]],
  oauth2ClientId: besom.types.Output[String],
  project: besom.types.Output[String],
  requestId: besom.types.Output[scala.Option[String]],
  state: besom.types.Output[String],
  `type`: besom.types.Output[String],
  updateTime: besom.types.Output[String],
  workforceIdentityBasedManagementUri: besom.types.Output[besom.api.googlenative.backupdr.v1.outputs.WorkforceIdentityBasedManagementUriResponse],
  workforceIdentityBasedOauth2ClientId: besom.types.Output[besom.api.googlenative.backupdr.v1.outputs.WorkforceIdentityBasedOAuth2ClientIdResponse]
) extends besom.CustomResource

object ManagementServer extends besom.ResourceCompanion[ManagementServer]:
  /** Resource constructor for ManagementServer. 
    * 
    * @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 [[ManagementServerArgs]] 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 = ManagementServer(
    *          "my-resource",
    *          ManagementServerArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: ManagementServerArgs,
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[ManagementServer] =
    ctx.readOrRegisterResource[ManagementServer, ManagementServerArgs]("google-native:backupdr/v1:ManagementServer", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:backupdr/v1:ManagementServer"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[ManagementServer] =
    besom.internal.ResourceDecoder.derived[ManagementServer]

  given decoder(using besom.types.Context): besom.types.Decoder[ManagementServer] =
    besom.internal.Decoder.customResourceDecoder[ManagementServer]


  given outputOps: {} with
    extension(output: besom.types.Output[ManagementServer])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def createTime : besom.types.Output[String] = output.flatMap(_.createTime)
      def description : besom.types.Output[String] = output.flatMap(_.description)
      def etag : besom.types.Output[String] = output.flatMap(_.etag)
      def labels : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.labels)
      def location : besom.types.Output[String] = output.flatMap(_.location)
      def managementServerId : besom.types.Output[String] = output.flatMap(_.managementServerId)
      def managementUri : besom.types.Output[besom.api.googlenative.backupdr.v1.outputs.ManagementUriResponse] = output.flatMap(_.managementUri)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def networks : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.backupdr.v1.outputs.NetworkConfigResponse]] = output.flatMap(_.networks)
      def oauth2ClientId : besom.types.Output[String] = output.flatMap(_.oauth2ClientId)
      def project : besom.types.Output[String] = output.flatMap(_.project)
      def requestId : besom.types.Output[scala.Option[String]] = output.flatMap(_.requestId)
      def state : besom.types.Output[String] = output.flatMap(_.state)
      def `type` : besom.types.Output[String] = output.flatMap(_.`type`)
      def updateTime : besom.types.Output[String] = output.flatMap(_.updateTime)
      def workforceIdentityBasedManagementUri : besom.types.Output[besom.api.googlenative.backupdr.v1.outputs.WorkforceIdentityBasedManagementUriResponse] = output.flatMap(_.workforceIdentityBasedManagementUri)
      def workforceIdentityBasedOauth2ClientId : besom.types.Output[besom.api.googlenative.backupdr.v1.outputs.WorkforceIdentityBasedOAuth2ClientIdResponse] = output.flatMap(_.workforceIdentityBasedOauth2ClientId)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy