AccelImageConfiguration Class

Container image configuration object for accel services.

Create image configuration object.

Inheritance
AccelImageConfiguration

Constructor

AccelImageConfiguration(tags=None, properties=None, description=None)

Parameters

tags
dict[str, str]
default value: None

Dictionary of key value tags to give this image

properties
dict[str, str]
default value: None

Dictionary of key value properties to give this image. These properties cannot be changed after deployment, however new key value pairs can be added

description
str
default value: None

A description to give this image

Methods

build_create_payload

Build the creation payload associated with this configuration object.

validate_configuration

Check that the specified configuration values are valid.

Will raise a WebserviceException if validation fails.

build_create_payload

Build the creation payload associated with this configuration object.

build_create_payload(workspace, name, model_ids)

Parameters

workspace
Workspace
Required

The workspace associated with the image

name
str
Required

The name of the image

model_ids
list[str]
Required

A list of model IDs to be packaged with the image

Returns

The creation payload to use for Image creation

Return type

validate_configuration

Check that the specified configuration values are valid.

Will raise a WebserviceException if validation fails.

validate_configuration()