ServiceReplicaProperties Class

Describes the properties of a service replica.

All required parameters must be populated in order to send to Azure.

Inheritance
ServiceReplicaProperties

Constructor

ServiceReplicaProperties(*, os_type, code_packages, network_refs=None, diagnostics=None, **kwargs)

Parameters

os_type
str or OperatingSystemType
Required

Required. The operation system required by the code in service. Possible values include: 'Linux', 'Windows'

code_packages
list[ContainerCodePackageProperties]
Required

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

network_refs
list[NetworkRef]
Required

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

diagnostics
DiagnosticsRef
Required

Reference to sinks in DiagnosticsDescription.