PrivateApplicationStackPackage

class oci.service_catalog.models.PrivateApplicationStackPackage(**kwargs)

Bases: PrivateApplicationPackage

A stack package for private applications.

Attributes:

PACKAGE_TYPE_IMAGE

A constant which can be used with the package_type property of a PrivateApplicationPackage.

PACKAGE_TYPE_STACK

A constant which can be used with the package_type property of a PrivateApplicationPackage.

content_url

Gets the content_url of this PrivateApplicationStackPackage.

display_name

Gets the display_name of this PrivateApplicationPackage.

id

[Required] Gets the id of this PrivateApplicationPackage.

mime_type

Gets the mime_type of this PrivateApplicationStackPackage.

package_type

[Required] Gets the package_type of this PrivateApplicationPackage.

private_application_id

[Required] Gets the private_application_id of this PrivateApplicationPackage.

time_created

[Required] Gets the time_created of this PrivateApplicationPackage.

version

[Required] Gets the version of this PrivateApplicationPackage.

Methods:

__init__(**kwargs)

Initializes a new PrivateApplicationStackPackage object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

PACKAGE_TYPE_IMAGE = 'IMAGE'

A constant which can be used with the package_type property of a PrivateApplicationPackage. This constant has a value of “IMAGE”

PACKAGE_TYPE_STACK = 'STACK'

A constant which can be used with the package_type property of a PrivateApplicationPackage. This constant has a value of “STACK”

__init__(**kwargs)

Initializes a new PrivateApplicationStackPackage object with values from keyword arguments. The default value of the package_type attribute of this class is STACK and it should not be changed. 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 PrivateApplicationStackPackage.

  • private_application_id (str) – The value to assign to the private_application_id property of this PrivateApplicationStackPackage.

  • display_name (str) – The value to assign to the display_name property of this PrivateApplicationStackPackage.

  • version (str) – The value to assign to the version property of this PrivateApplicationStackPackage.

  • package_type (str) – The value to assign to the package_type property of this PrivateApplicationStackPackage. Allowed values for this property are: “STACK”, “IMAGE”

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

  • content_url (str) – The value to assign to the content_url property of this PrivateApplicationStackPackage.

  • mime_type (str) – The value to assign to the mime_type property of this PrivateApplicationStackPackage.

property content_url

Gets the content_url of this PrivateApplicationStackPackage. The content URL of the terraform configuration.

Returns

The content_url of this PrivateApplicationStackPackage.

Return type

str

property display_name

Gets the display_name of this PrivateApplicationPackage. The display name of the package.

Returns

The display_name of this PrivateApplicationPackage.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property id

[Required] Gets the id of this PrivateApplicationPackage. The OCID of the private application package.

Returns

The id of this PrivateApplicationPackage.

Return type

str

property mime_type

Gets the mime_type of this PrivateApplicationStackPackage. The MIME type of the terraform configuration.

Returns

The mime_type of this PrivateApplicationStackPackage.

Return type

str

property package_type

[Required] Gets the package_type of this PrivateApplicationPackage. The specified package’s type.

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

Returns

The package_type of this PrivateApplicationPackage.

Return type

str

property private_application_id

[Required] Gets the private_application_id of this PrivateApplicationPackage. The OCID of the private application where the package is hosted.

Returns

The private_application_id of this PrivateApplicationPackage.

Return type

str

property time_created

[Required] Gets the time_created of this PrivateApplicationPackage. The date and time the private application package was created, expressed in RFC 3339 timestamp format.

Example: 2021-05-27T21:10:29.600Z

Returns

The time_created of this PrivateApplicationPackage.

Return type

datetime

property version

[Required] Gets the version of this PrivateApplicationPackage. The package version.

Returns

The version of this PrivateApplicationPackage.

Return type

str