UnknownImage Class

Used internally to represent an unknown Image type.

This class is DEPRECATED.

This class is used by Image during a list operation to represent images that were created by classes that are not imported at the time the list operation is executed.

Image constructor.

This class is DEPRECATED. Use the Environment class instead.

Image constructor is used to retrieve a cloud representation of a Image object associated with the provided workspace. Will return an instance of a child class corresponding to the specific type of the retrieved Image object.

Inheritance
UnknownImage

Constructor

UnknownImage(workspace, name=None, id=None, tags=None, properties=None, version=None)

Parameters

workspace
Workspace
Required

The workspace object containing the Image to retrieve

name
str
default value: None

The name of the Image to retrieve. Will return the latest version, if it exists

id
str
default value: None

The specific ID of the Image to retrieve. (ID is ":")

tags
list
default value: None

Will filter Image results based on the provided list, by either 'key' or '[key, value]'. Ex. ['key', ['key2', 'key2 value']]

properties
list
default value: None

Will filter Image results based on the provided list, by either 'key' or '[key, value]'. Ex. ['key', ['key2', 'key2 value']]

version
str
default value: None

When version and name are both specified, will return the specific version of the Image.

Methods

image_configuration

Cannot return image configuration since image type is unknown.

Note

Not implemented.

run

Test an image locally. This does not apply to unknown image types.

Note

Not implemented.

image_configuration

Cannot return image configuration since image type is unknown.

Note

Not implemented.

static image_configuration()

Exceptions

run

Test an image locally. This does not apply to unknown image types.

Note

Not implemented.

run()

Exceptions