TargetRuntime Class

Represents properties, runtime type, and other settings used in an Image.

This class is DEPRECATED.

Some TargetRuntime properties are specified during configuration of an image. For examples, see the image_configuration method of the ContainerImage class.

Initialize the TargetRuntime object.

Inheritance
builtins.object
TargetRuntime

Constructor

TargetRuntime(properties, runtime_type, targetArchitecture)

Parameters

Name Description
properties
Required

A dictionary of properties associated with the target runtime.

runtime_type
Required
str

A string representation of the runtime type.

properties
Required

A dictionary of properties associated with the target runtime.

runtime_type
Required
str

A string representation of the runtime type.

targetArchitecture
Required

Methods

deserialize

Convert a JSON object into a TargetRuntime object.

serialize

Convert this TargetRuntime into a JSON serialized dictionary.

deserialize

Convert a JSON object into a TargetRuntime object.

static deserialize(payload_obj)

Parameters

Name Description
payload_obj
Required

A JSON object to convert to a TargetRuntime object.

Returns

Type Description

The TargetRuntime representation of the provided JSON object.

Exceptions

Type Description

serialize

Convert this TargetRuntime into a JSON serialized dictionary.

serialize()

Returns

Type Description

The JSON representation of this TargetRuntime object.

Exceptions

Type Description