The heat.objects.software_deployment Module

SoftwareDeployment object.

class heat.objects.software_deployment.SoftwareDeployment(context=None, **kwargs)[source]

Bases: heat.objects.base.HeatObject, oslo_versionedobjects.base.VersionedObjectDictCompat, oslo_versionedobjects.base.ComparableVersionedObject

classmethod create(context, values)[source]
classmethod delete(context, deployment_id)[source]
fields = {‘input_values’: Json(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘updated_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘status’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘status_reason’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘tenant’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘stack_user_project_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘server_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘action’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘config_id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘output_values’: Json(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=True), ‘created_at’: DateTime(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘config’: Object(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False), ‘id’: String(default=<class ‘oslo_versionedobjects.fields.UnspecifiedDefault’>,nullable=False)}
classmethod get_all(context, server_id=None)[source]
classmethod get_by_id(context, deployment_id)[source]
classmethod update_by_id(context, deployment_id, values)[source]

Note this is a bit unusual as it returns the object.

Other update_by_id methods return a bool (was it updated).