
src.apigee.v1.RatePlan.scala Maven / Gradle / Ivy
package besom.api.googlenative.apigee.v1
final case class RatePlan private(
urn: besom.types.Output[besom.types.URN],
id: besom.types.Output[besom.types.ResourceId],
apiproduct: besom.types.Output[String],
apiproductId: besom.types.Output[String],
billingPeriod: besom.types.Output[String],
consumptionPricingRates: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.apigee.v1.outputs.GoogleCloudApigeeV1RateRangeResponse]],
consumptionPricingType: besom.types.Output[String],
createdAt: besom.types.Output[String],
currencyCode: besom.types.Output[String],
description: besom.types.Output[String],
displayName: besom.types.Output[String],
endTime: besom.types.Output[String],
fixedFeeFrequency: besom.types.Output[Int],
fixedRecurringFee: besom.types.Output[besom.api.googlenative.apigee.v1.outputs.GoogleTypeMoneyResponse],
lastModifiedAt: besom.types.Output[String],
name: besom.types.Output[String],
organizationId: besom.types.Output[String],
paymentFundingModel: besom.types.Output[String],
revenueShareRates: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.apigee.v1.outputs.GoogleCloudApigeeV1RevenueShareRangeResponse]],
revenueShareType: besom.types.Output[String],
setupFee: besom.types.Output[besom.api.googlenative.apigee.v1.outputs.GoogleTypeMoneyResponse],
startTime: besom.types.Output[String],
state: besom.types.Output[String]
) extends besom.CustomResource
object RatePlan extends besom.ResourceCompanion[RatePlan]:
/** Resource constructor for RatePlan.
*
* @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 [[RatePlanArgs]] 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 = RatePlan(
* "my-resource",
* RatePlanArgs(...), // your args
* opts(provider = myProvider)
* )
* }}}
*/
def apply(using ctx: besom.types.Context)(
name: besom.util.NonEmptyString,
args: RatePlanArgs,
opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
): besom.types.Output[RatePlan] =
ctx.readOrRegisterResource[RatePlan, RatePlanArgs]("google-native:apigee/v1:RatePlan", name, args, opts(using besom.ResourceOptsVariant.Custom))
private[besom] def typeToken: besom.types.ResourceType = "google-native:apigee/v1:RatePlan"
given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[RatePlan] =
besom.internal.ResourceDecoder.derived[RatePlan]
given decoder(using besom.types.Context): besom.types.Decoder[RatePlan] =
besom.internal.Decoder.customResourceDecoder[RatePlan]
given outputOps: {} with
extension(output: besom.types.Output[RatePlan])
def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
def apiproduct : besom.types.Output[String] = output.flatMap(_.apiproduct)
def apiproductId : besom.types.Output[String] = output.flatMap(_.apiproductId)
def billingPeriod : besom.types.Output[String] = output.flatMap(_.billingPeriod)
def consumptionPricingRates : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.apigee.v1.outputs.GoogleCloudApigeeV1RateRangeResponse]] = output.flatMap(_.consumptionPricingRates)
def consumptionPricingType : besom.types.Output[String] = output.flatMap(_.consumptionPricingType)
def createdAt : besom.types.Output[String] = output.flatMap(_.createdAt)
def currencyCode : besom.types.Output[String] = output.flatMap(_.currencyCode)
def description : besom.types.Output[String] = output.flatMap(_.description)
def displayName : besom.types.Output[String] = output.flatMap(_.displayName)
def endTime : besom.types.Output[String] = output.flatMap(_.endTime)
def fixedFeeFrequency : besom.types.Output[Int] = output.flatMap(_.fixedFeeFrequency)
def fixedRecurringFee : besom.types.Output[besom.api.googlenative.apigee.v1.outputs.GoogleTypeMoneyResponse] = output.flatMap(_.fixedRecurringFee)
def lastModifiedAt : besom.types.Output[String] = output.flatMap(_.lastModifiedAt)
def name : besom.types.Output[String] = output.flatMap(_.name)
def organizationId : besom.types.Output[String] = output.flatMap(_.organizationId)
def paymentFundingModel : besom.types.Output[String] = output.flatMap(_.paymentFundingModel)
def revenueShareRates : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.apigee.v1.outputs.GoogleCloudApigeeV1RevenueShareRangeResponse]] = output.flatMap(_.revenueShareRates)
def revenueShareType : besom.types.Output[String] = output.flatMap(_.revenueShareType)
def setupFee : besom.types.Output[besom.api.googlenative.apigee.v1.outputs.GoogleTypeMoneyResponse] = output.flatMap(_.setupFee)
def startTime : besom.types.Output[String] = output.flatMap(_.startTime)
def state : besom.types.Output[String] = output.flatMap(_.state)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy