DeployedCodePackageInfo

Information about code package deployed on a Service Fabric node.

Properties

Name Type Required
Name string No
Version string No
ServiceManifestName string No
ServicePackageActivationId string No
HostType string (enum) No
HostIsolationMode string (enum) No
Status string (enum) No
RunFrequencyInterval string No
SetupEntryPoint CodePackageEntryPoint No
MainEntryPoint CodePackageEntryPoint No

Name

Type: string
Required: No

The name of the code package.


Version

Type: string
Required: No

The version of the code package specified in service manifest.


ServiceManifestName

Type: string
Required: No

The name of service manifest that specified this code package.


ServicePackageActivationId

Type: string
Required: No

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.


HostType

Type: string (enum)
Required: No

Specifies the type of host for main entry point of a code package as specified in service manifest.

Possible values are:

  • Invalid - Indicates the type of host is not known or invalid. The value is 0.
  • ExeHost - Indicates the host is an executable. The value is 1.
  • ContainerHost - Indicates the host is a container. The value is 2.

HostIsolationMode

Type: string (enum)
Required: No

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 are:

  • None - Indicates the isolation mode is not applicable for given HostType. The value is 0.
  • Process - This is the default isolation mode for a ContainerHost. The value is 1.
  • HyperV - Indicates the ContainerHost is a Hyper-V container. This applies to only Windows containers. The value is 2.

Status

Type: string (enum)
Required: No

Specifies the status of a deployed application or service package on a Service Fabric node.

Possible values are:

  • Invalid - Indicates status of the application or service package is not known or invalid. The value is 0.
  • Downloading - Indicates the application or service package is being downloaded to the node from the ImageStore. The value is 1.
  • Activating - Indicates the application or service package is being activated. The value is 2.
  • Active - Indicates the application or service package is active the node. The value is 3.
  • Upgrading - Indicates the application or service package is being upgraded. The value is 4.
  • Deactivating - Indicates the application or service package is being deactivated. The value is 5.
  • RanToCompletion - Indicates the application or service package has ran to completion successfully. The value is 6.
  • Failed - Indicates the application or service package has failed to run to completion. The value is 7.

RunFrequencyInterval

Type: string
Required: No

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


SetupEntryPoint

Type: CodePackageEntryPoint
Required: No

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


MainEntryPoint

Type: CodePackageEntryPoint
Required: No

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