Service Replica Properties

Describes the properties of a service replica.

Properties

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

osType

Type: string (enum)
Required: Yes

The operation system required by the code in service.

Possible values are:

  • Linux - The required operating system is Linux.
  • Windows - The required operating system is Windows.

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.