ServiceReplicaDescription

This type describes a replica of a service resource.

Properties

Name Type Required
osType string (enum) Yes
codePackages array of ContainerCodePackageProperties Yes
networkRefs array of NetworkRef No
diagnostics DiagnosticsRef No
replicaName string No

osType

Type: string (enum)
Required: Yes

The Operating system type required by the code in service.


codePackages

Type: array of ContainerCodePackageProperties
Required: Yes

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.).


networkRefs

Type: array of NetworkRef
Required: No

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


diagnostics

Type: DiagnosticsRef
Required: No

Reference to sinks in DiagnosticsDescription.


replicaName

Type: string
Required: No

Name of the replica.