src.index.GetCloudletsSharedPolicyArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetCloudletsSharedPolicyArgs private(
activations: besom.types.Output[scala.Option[besom.api.akamai.inputs.GetCloudletsSharedPolicyActivationsArgs]],
policyId: besom.types.Output[Int],
version: besom.types.Output[scala.Option[Int]]
)
object GetCloudletsSharedPolicyArgs:
def apply(
activations: besom.types.Input.Optional[besom.api.akamai.inputs.GetCloudletsSharedPolicyActivationsArgs] = scala.None,
policyId: besom.types.Input[Int],
version: besom.types.Input.Optional[Int] = scala.None
)(using besom.types.Context): GetCloudletsSharedPolicyArgs =
new GetCloudletsSharedPolicyArgs(
activations = activations.asOptionOutput(isSecret = false),
policyId = policyId.asOutput(isSecret = false),
version = version.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetCloudletsSharedPolicyArgs] =
besom.internal.Encoder.derived[GetCloudletsSharedPolicyArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetCloudletsSharedPolicyArgs] =
besom.internal.ArgsEncoder.derived[GetCloudletsSharedPolicyArgs]