CreateListingDetails¶
-
class
oci.marketplace_publisher.models.CreateListingDetails(**kwargs)¶ Bases:
objectDetails to create a new listing.
Attributes
LISTING_TYPE_LEAD_GENERATIONA constant which can be used with the listing_type property of a CreateListingDetails. LISTING_TYPE_OCI_APPLICATIONA constant which can be used with the listing_type property of a CreateListingDetails. LISTING_TYPE_SERVICEA constant which can be used with the listing_type property of a CreateListingDetails. PACKAGE_TYPE_CONTAINER_IMAGEA constant which can be used with the package_type property of a CreateListingDetails. PACKAGE_TYPE_HELM_CHARTA constant which can be used with the package_type property of a CreateListingDetails. PACKAGE_TYPE_MACHINE_IMAGEA constant which can be used with the package_type property of a CreateListingDetails. PACKAGE_TYPE_NONEA constant which can be used with the package_type property of a CreateListingDetails. PACKAGE_TYPE_STACKA constant which can be used with the package_type property of a CreateListingDetails. compartment_id[Required] Gets the compartment_id of this CreateListingDetails. defined_tagsGets the defined_tags of this CreateListingDetails. freeform_tagsGets 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_LEAD_GENERATION= 'LEAD_GENERATION'¶ A constant which can be used with the listing_type property of a CreateListingDetails. This constant has a value of “LEAD_GENERATION”
-
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”
-
LISTING_TYPE_SERVICE= 'SERVICE'¶ A constant which can be used with the listing_type property of a CreateListingDetails. This constant has a value of “SERVICE”
-
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”
-
PACKAGE_TYPE_MACHINE_IMAGE= 'MACHINE_IMAGE'¶ A constant which can be used with the package_type property of a CreateListingDetails. This constant has a value of “MACHINE_IMAGE”
-
PACKAGE_TYPE_NONE= 'NONE'¶ A constant which can be used with the package_type property of a CreateListingDetails. This constant has a value of “NONE”
-
PACKAGE_TYPE_STACK= 'STACK'¶ A constant which can be used with the package_type property of a CreateListingDetails. This constant has a value of “STACK”
-
__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”, “LEAD_GENERATION”, “SERVICE”
- 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”, “MACHINE_IMAGE”, “STACK”, “NONE”
- 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”, “LEAD_GENERATION”, “SERVICE”
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”, “MACHINE_IMAGE”, “STACK”, “NONE”
Returns: The package_type of this CreateListingDetails. Return type: str
-