DeployedCodePackageInfo Class

Information about code package deployed on a Service Fabric node.

Inheritance
DeployedCodePackageInfo

Constructor

DeployedCodePackageInfo(*, name: Optional[str] = None, version: Optional[str] = None, service_manifest_name: Optional[str] = None, service_package_activation_id: Optional[str] = None, host_type=None, host_isolation_mode=None, status=None, run_frequency_interval: Optional[str] = None, setup_entry_point=None, main_entry_point=None, **kwargs)

Parameters

name
str
Required

The name of the code package.

version
str
Required

The version of the code package specified in service manifest.

service_manifest_name
str
Required

The name of service manifest that specified this code package.

service_package_activation_id
str
Required

The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId is always an empty string.

host_type
str or HostType
Required

Specifies the type of host for main entry point of a code package as specified in service manifest. Possible values include: 'Invalid', 'ExeHost', 'ContainerHost'

host_isolation_mode
str or HostIsolationMode
Required

Specifies the isolation mode of main entry point of a code package when it's host type is ContainerHost. This is specified as part of container host policies in application manifest while importing service manifest. Possible values include: 'None', 'Process', 'HyperV'

status
str or DeploymentStatus
Required

Specifies the status of a deployed application or service package on a Service Fabric node. Possible values include: 'Invalid', 'Downloading', 'Activating', 'Active', 'Upgrading', 'Deactivating', 'RanToCompletion', 'Failed'

run_frequency_interval
str
Required

The interval at which code package is run. This is used for periodic code package.

setup_entry_point
CodePackageEntryPoint
Required

Information about setup or main entry point of a code package deployed on a Service Fabric node.

main_entry_point
CodePackageEntryPoint
Required

Information about setup or main entry point of a code package deployed on a Service Fabric node.