src.index.Datastream.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class Datastream private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
active: besom.types.Output[Boolean],
azureConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamAzureConnector]],
collectMidgress: besom.types.Output[scala.Option[Boolean]],
contractId: besom.types.Output[String],
createdBy: besom.types.Output[String],
createdDate: besom.types.Output[String],
datadogConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamDatadogConnector]],
datasetFields: besom.types.Output[scala.collection.immutable.List[Int]],
deliveryConfiguration: besom.types.Output[besom.api.akamai.outputs.DatastreamDeliveryConfiguration],
elasticsearchConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamElasticsearchConnector]],
gcsConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamGcsConnector]],
groupId: besom.types.Output[String],
httpsConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamHttpsConnector]],
latestVersion: besom.types.Output[Int],
logglyConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamLogglyConnector]],
modifiedBy: besom.types.Output[String],
modifiedDate: besom.types.Output[String],
newRelicConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamNewRelicConnector]],
notificationEmails: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
oracleConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamOracleConnector]],
papiJson: besom.types.Output[String],
productId: besom.types.Output[String],
properties: besom.types.Output[scala.collection.immutable.List[String]],
s3Connector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamS3Connector]],
splunkConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamSplunkConnector]],
streamName: besom.types.Output[String],
streamVersion: besom.types.Output[Int],
sumologicConnector: besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamSumologicConnector]]
) extends besom.CustomResource
object Datastream extends besom.ResourceCompanion[Datastream]:
/** Resource constructor for Datastream.
*
* @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 [[DatastreamArgs]] 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 = Datastream(
* "my-resource",
* DatastreamArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: DatastreamArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[Datastream] =
ctx.readOrRegisterResource[Datastream, DatastreamArgs]("akamai:index/datastream:Datastream", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "akamai:index/datastream:Datastream"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[Datastream] =
besom.internal.ResourceDecoder.derived[Datastream]
given decoder(using besom.types.Context): besom.types.Decoder[Datastream] =
besom.internal.Decoder.customResourceDecoder[Datastream]
given outputOps: {} with
extension(output: besom.types.Output[Datastream])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def active : besom.types.Output[Boolean] = output.flatMap(_.active)
def azureConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamAzureConnector]] = output.flatMap(_.azureConnector)
def collectMidgress : besom.types.Output[scala.Option[Boolean]] = output.flatMap(_.collectMidgress)
def contractId : besom.types.Output[String] = output.flatMap(_.contractId)
def createdBy : besom.types.Output[String] = output.flatMap(_.createdBy)
def createdDate : besom.types.Output[String] = output.flatMap(_.createdDate)
def datadogConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamDatadogConnector]] = output.flatMap(_.datadogConnector)
def datasetFields : besom.types.Output[scala.collection.immutable.List[Int]] = output.flatMap(_.datasetFields)
def deliveryConfiguration : besom.types.Output[besom.api.akamai.outputs.DatastreamDeliveryConfiguration] = output.flatMap(_.deliveryConfiguration)
def elasticsearchConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamElasticsearchConnector]] = output.flatMap(_.elasticsearchConnector)
def gcsConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamGcsConnector]] = output.flatMap(_.gcsConnector)
def groupId : besom.types.Output[String] = output.flatMap(_.groupId)
def httpsConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamHttpsConnector]] = output.flatMap(_.httpsConnector)
def latestVersion : besom.types.Output[Int] = output.flatMap(_.latestVersion)
def logglyConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamLogglyConnector]] = output.flatMap(_.logglyConnector)
def modifiedBy : besom.types.Output[String] = output.flatMap(_.modifiedBy)
def modifiedDate : besom.types.Output[String] = output.flatMap(_.modifiedDate)
def newRelicConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamNewRelicConnector]] = output.flatMap(_.newRelicConnector)
def notificationEmails : besom.types.Output[scala.Option[scala.collection.immutable.List[String]]] = output.flatMap(_.notificationEmails)
def oracleConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamOracleConnector]] = output.flatMap(_.oracleConnector)
def papiJson : besom.types.Output[String] = output.flatMap(_.papiJson)
def productId : besom.types.Output[String] = output.flatMap(_.productId)
def properties : besom.types.Output[scala.collection.immutable.List[String]] = output.flatMap(_.properties)
def s3Connector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamS3Connector]] = output.flatMap(_.s3Connector)
def splunkConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamSplunkConnector]] = output.flatMap(_.splunkConnector)
def streamName : besom.types.Output[String] = output.flatMap(_.streamName)
def streamVersion : besom.types.Output[Int] = output.flatMap(_.streamVersion)
def sumologicConnector : besom.types.Output[scala.Option[besom.api.akamai.outputs.DatastreamSumologicConnector]] = output.flatMap(_.sumologicConnector)