PbfListingVersion

class oci.functions.models.PbfListingVersion(**kwargs)

Bases: object

This represents a version of a PbfListing. Each new update from the publisher or the change in the image will result in the creation of new PbfListingVersion resource creation. This is a sub-resource of a PbfListing.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a PbfListingVersion.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a PbfListingVersion.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a PbfListingVersion.

change_summary

[Required] Gets the change_summary of this PbfListingVersion.

config

Gets the config of this PbfListingVersion.

defined_tags

Gets the defined_tags of this PbfListingVersion.

freeform_tags

Gets the freeform_tags of this PbfListingVersion.

id

[Required] Gets the id of this PbfListingVersion.

lifecycle_state

[Required] Gets the lifecycle_state of this PbfListingVersion.

name

[Required] Gets the name of this PbfListingVersion.

pbf_listing_id

[Required] Gets the pbf_listing_id of this PbfListingVersion.

requirements

[Required] Gets the requirements of this PbfListingVersion.

system_tags

Gets the system_tags of this PbfListingVersion.

time_created

[Required] Gets the time_created of this PbfListingVersion.

time_updated

[Required] Gets the time_updated of this PbfListingVersion.

triggers

[Required] Gets the triggers of this PbfListingVersion.

Methods:

__init__(**kwargs)

Initializes a new PbfListingVersion object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a PbfListingVersion. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a PbfListingVersion. This constant has a value of “DELETED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a PbfListingVersion. This constant has a value of “INACTIVE”

__init__(**kwargs)

Initializes a new PbfListingVersion object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • id (str) – The value to assign to the id property of this PbfListingVersion.

  • pbf_listing_id (str) – The value to assign to the pbf_listing_id property of this PbfListingVersion.

  • name (str) – The value to assign to the name property of this PbfListingVersion.

  • config (list[oci.functions.models.ConfigDetails]) – The value to assign to the config property of this PbfListingVersion.

  • requirements (oci.functions.models.RequirementDetails) – The value to assign to the requirements property of this PbfListingVersion.

  • change_summary (str) – The value to assign to the change_summary property of this PbfListingVersion.

  • triggers (list[oci.functions.models.Trigger]) – The value to assign to the triggers property of this PbfListingVersion.

  • time_created (datetime) – The value to assign to the time_created property of this PbfListingVersion.

  • time_updated (datetime) – The value to assign to the time_updated property of this PbfListingVersion.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PbfListingVersion. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PbfListingVersion.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PbfListingVersion.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PbfListingVersion.

property change_summary

[Required] Gets the change_summary of this PbfListingVersion. Details changes are included in this version.

Returns

The change_summary of this PbfListingVersion.

Return type

str

property config

Gets the config of this PbfListingVersion. Details about the required and optional Function configurations needed for proper performance of the PBF.

Returns

The config of this PbfListingVersion.

Return type

list[oci.functions.models.ConfigDetails]

property defined_tags

Gets the defined_tags of this PbfListingVersion. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this PbfListingVersion.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this PbfListingVersion. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this PbfListingVersion.

Return type

dict(str, str)

property id

[Required] Gets the id of this PbfListingVersion. Unique identifier that is immutable on creation

Returns

The id of this PbfListingVersion.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this PbfListingVersion. The current state of the PBF resource.

Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this PbfListingVersion.

Return type

str

property name

[Required] Gets the name of this PbfListingVersion. Semantic version

Returns

The name of this PbfListingVersion.

Return type

str

property pbf_listing_id

[Required] Gets the pbf_listing_id of this PbfListingVersion. The OCID of the PbfListing this resource version belongs to.

Returns

The pbf_listing_id of this PbfListingVersion.

Return type

str

property requirements

[Required] Gets the requirements of this PbfListingVersion.

Returns

The requirements of this PbfListingVersion.

Return type

oci.functions.models.RequirementDetails

property system_tags

Gets the system_tags of this PbfListingVersion. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this PbfListingVersion.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this PbfListingVersion. The time the PbfListingVersion was created. An RFC3339 formatted datetime string.

Returns

The time_created of this PbfListingVersion.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this PbfListingVersion. The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this PbfListingVersion.

Return type

datetime

property triggers

[Required] Gets the triggers of this PbfListingVersion. An array of Trigger. A list of triggers that may activate the PBF.

Returns

The triggers of this PbfListingVersion.

Return type

list[oci.functions.models.Trigger]