CreateListingDetails¶
-
class
oci.marketplace_publisher.models.
CreateListingDetails
(**kwargs)¶ Bases:
object
Details to create a new listing.
Attributes
LISTING_TYPE_OCI_APPLICATION
A constant which can be used with the listing_type property of a CreateListingDetails. PACKAGE_TYPE_CONTAINER_IMAGE
A constant which can be used with the package_type property of a CreateListingDetails. PACKAGE_TYPE_HELM_CHART
A constant which can be used with the package_type property of a CreateListingDetails. compartment_id
[Required] Gets the compartment_id of this CreateListingDetails. defined_tags
Gets the defined_tags of this CreateListingDetails. freeform_tags
Gets the freeform_tags of this CreateListingDetails. listing_type
[Required] Gets the listing_type of this CreateListingDetails. name
[Required] Gets the name of this CreateListingDetails. package_type
[Required] Gets the package_type of this CreateListingDetails. Methods
__init__
(**kwargs)Initializes a new CreateListingDetails object with values from keyword arguments. -
LISTING_TYPE_OCI_APPLICATION
= 'OCI_APPLICATION'¶ A constant which can be used with the listing_type property of a CreateListingDetails. This constant has a value of “OCI_APPLICATION”
-
PACKAGE_TYPE_CONTAINER_IMAGE
= 'CONTAINER_IMAGE'¶ A constant which can be used with the package_type property of a CreateListingDetails. This constant has a value of “CONTAINER_IMAGE”
-
PACKAGE_TYPE_HELM_CHART
= 'HELM_CHART'¶ A constant which can be used with the package_type property of a CreateListingDetails. This constant has a value of “HELM_CHART”
-
__init__
(**kwargs)¶ Initializes a new CreateListingDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateListingDetails.
- name (str) – The value to assign to the name property of this CreateListingDetails.
- listing_type (str) – The value to assign to the listing_type property of this CreateListingDetails. Allowed values for this property are: “OCI_APPLICATION”
- package_type (str) – The value to assign to the package_type property of this CreateListingDetails. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateListingDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateListingDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateListingDetails. The unique identifier for the compartment.
Returns: The compartment_id of this CreateListingDetails. Return type: str
Gets the defined_tags of this CreateListingDetails. 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 CreateListingDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this CreateListingDetails. 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 CreateListingDetails. Return type: dict(str, str)
-
listing_type
¶ [Required] Gets the listing_type of this CreateListingDetails. The listing type for the listing.
Allowed values for this property are: “OCI_APPLICATION”
Returns: The listing_type of this CreateListingDetails. Return type: str
-
name
¶ [Required] Gets the name of this CreateListingDetails. The name for the listing.
Returns: The name of this CreateListingDetails. Return type: str
-
package_type
¶ [Required] Gets the package_type of this CreateListingDetails. The package type for the listing.
Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”
Returns: The package_type of this CreateListingDetails. Return type: str
-