
src.cloudiot.v1.RegistryArgs.scala Maven / Gradle / Ivy
package besom.api.googlenative.cloudiot.v1
final case class RegistryArgs private(
credentials: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.inputs.RegistryCredentialArgs]]],
eventNotificationConfigs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.googlenative.cloudiot.v1.inputs.EventNotificationConfigArgs]]],
httpConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudiot.v1.inputs.HttpConfigArgs]],
id: besom.types.Output[scala.Option[String]],
location: besom.types.Output[scala.Option[String]],
logLevel: besom.types.Output[scala.Option[besom.api.googlenative.cloudiot.v1.enums.RegistryLogLevel]],
mqttConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudiot.v1.inputs.MqttConfigArgs]],
name: besom.types.Output[scala.Option[String]],
project: besom.types.Output[scala.Option[String]],
stateNotificationConfig: besom.types.Output[scala.Option[besom.api.googlenative.cloudiot.v1.inputs.StateNotificationConfigArgs]]
)
object RegistryArgs:
def apply(
credentials: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudiot.v1.inputs.RegistryCredentialArgs]]] = scala.None,
eventNotificationConfigs: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.googlenative.cloudiot.v1.inputs.EventNotificationConfigArgs]]] = scala.None,
httpConfig: besom.types.Input.Optional[besom.api.googlenative.cloudiot.v1.inputs.HttpConfigArgs] = scala.None,
id: besom.types.Input.Optional[String] = scala.None,
location: besom.types.Input.Optional[String] = scala.None,
logLevel: besom.types.Input.Optional[besom.api.googlenative.cloudiot.v1.enums.RegistryLogLevel] = scala.None,
mqttConfig: besom.types.Input.Optional[besom.api.googlenative.cloudiot.v1.inputs.MqttConfigArgs] = scala.None,
name: besom.types.Input.Optional[String] = scala.None,
project: besom.types.Input.Optional[String] = scala.None,
stateNotificationConfig: besom.types.Input.Optional[besom.api.googlenative.cloudiot.v1.inputs.StateNotificationConfigArgs] = scala.None
)(using besom.types.Context): RegistryArgs =
new RegistryArgs(
credentials = credentials.asOptionOutput(isSecret = false),
eventNotificationConfigs = eventNotificationConfigs.asOptionOutput(isSecret = false),
httpConfig = httpConfig.asOptionOutput(isSecret = false),
id = id.asOptionOutput(isSecret = false),
location = location.asOptionOutput(isSecret = false),
logLevel = logLevel.asOptionOutput(isSecret = false),
mqttConfig = mqttConfig.asOptionOutput(isSecret = false),
name = name.asOptionOutput(isSecret = false),
project = project.asOptionOutput(isSecret = false),
stateNotificationConfig = stateNotificationConfig.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[RegistryArgs] =
besom.internal.Encoder.derived[RegistryArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[RegistryArgs] =
besom.internal.ArgsEncoder.derived[RegistryArgs]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy