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

Name Description
workspace
Required

The workspace object containing the Image to retrieve

name
str

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

default value: None
id
str

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

default value: None
tags

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

default value: None
properties

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

default value: None
version
str

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

default value: None

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

Type Description

run

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

Note

Not implemented.

run()

Exceptions

Type Description