CreatePrivateApplicationStackPackage¶
- class oci.service_catalog.models.CreatePrivateApplicationStackPackage(**kwargs)¶
Bases:
CreatePrivateApplicationPackageAn object for creating a private application stack package.
Attributes:
A constant which can be used with the package_type property of a CreatePrivateApplicationPackage.
A constant which can be used with the package_type property of a CreatePrivateApplicationPackage.
[Required] Gets the package_type of this CreatePrivateApplicationPackage.
[Required] Gets the version of this CreatePrivateApplicationPackage.
[Required] Gets the zip_file_base64_encoded of this CreatePrivateApplicationStackPackage.
Methods:
__init__(**kwargs)Initializes a new CreatePrivateApplicationStackPackage 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 CreatePrivateApplicationPackage. This constant has a value of “IMAGE”
- PACKAGE_TYPE_STACK = 'STACK'¶
A constant which can be used with the package_type property of a CreatePrivateApplicationPackage. This constant has a value of “STACK”
- __init__(**kwargs)¶
Initializes a new CreatePrivateApplicationStackPackage object with values from keyword arguments. The default value of the
package_typeattribute of this class isSTACKand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
package_type (str) – The value to assign to the package_type property of this CreatePrivateApplicationStackPackage. Allowed values for this property are: “STACK”, “IMAGE”
version (str) – The value to assign to the version property of this CreatePrivateApplicationStackPackage.
zip_file_base64_encoded (str) – The value to assign to the zip_file_base64_encoded property of this CreatePrivateApplicationStackPackage.
- 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 package_type¶
[Required] Gets the package_type of this CreatePrivateApplicationPackage. The package’s type.
Allowed values for this property are: “STACK”, “IMAGE”
- Returns
The package_type of this CreatePrivateApplicationPackage.
- Return type
str
- property version¶
[Required] Gets the version of this CreatePrivateApplicationPackage. The package version.
- Returns
The version of this CreatePrivateApplicationPackage.
- Return type
str
- property zip_file_base64_encoded¶
[Required] Gets the zip_file_base64_encoded of this CreatePrivateApplicationStackPackage. Base-64 payload of the Terraform zip package.
- Returns
The zip_file_base64_encoded of this CreatePrivateApplicationStackPackage.
- Return type
str