ServiceResourceDescriptionArgs

data class ServiceResourceDescriptionArgs(val autoScalingPolicies: Output<List<AutoScalingPolicyArgs>>? = null, val codePackages: Output<List<ContainerCodePackagePropertiesArgs>>, val description: Output<String>? = null, val diagnostics: Output<DiagnosticsRefArgs>? = null, val name: Output<String>? = null, val networkRefs: Output<List<NetworkRefArgs>>? = null, val osType: Output<Either<String, OperatingSystemType>>, val replicaCount: Output<Int>? = null) : ConvertibleToJava<ServiceResourceDescriptionArgs>

This type describes a service resource.

Constructors

Link copied to clipboard
constructor(autoScalingPolicies: Output<List<AutoScalingPolicyArgs>>? = null, codePackages: Output<List<ContainerCodePackagePropertiesArgs>>, description: Output<String>? = null, diagnostics: Output<DiagnosticsRefArgs>? = null, name: Output<String>? = null, networkRefs: Output<List<NetworkRefArgs>>? = null, osType: Output<Either<String, OperatingSystemType>>, replicaCount: Output<Int>? = null)

Properties

Link copied to clipboard

Auto scaling policies

Link copied to clipboard

Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).

Link copied to clipboard
val description: Output<String>? = null

User readable description of the service.

Link copied to clipboard
val diagnostics: Output<DiagnosticsRefArgs>? = null

Reference to sinks in DiagnosticsDescription.

Link copied to clipboard
val name: Output<String>? = null

The name of the resource

Link copied to clipboard
val networkRefs: Output<List<NetworkRefArgs>>? = null

The names of the private networks that this service needs to be part of.

Link copied to clipboard
val osType: Output<Either<String, OperatingSystemType>>

The operation system required by the code in service.

Link copied to clipboard
val replicaCount: Output<Int>? = null

The number of replicas of the service to create. Defaults to 1 if not specified.

Functions

Link copied to clipboard
open override fun toJava(): ServiceResourceDescriptionArgs