AdminKubernetesImageArtifact¶
-
class
oci.marketplace_publisher.models.AdminKubernetesImageArtifact(**kwargs)¶ Bases:
oci.marketplace_publisher.models.admin_artifact.AdminArtifactKubernetes HelmChart Image artifact details.
Attributes
ARTIFACT_TYPE_CONTAINER_IMAGEstr(object=’’) -> str ARTIFACT_TYPE_HELM_CHARTstr(object=’’) -> str ARTIFACT_TYPE_MACHINE_IMAGEstr(object=’’) -> str ARTIFACT_TYPE_STACKstr(object=’’) -> str artifact_type[Required] Gets the artifact_type of this AdminArtifact. compartment_id[Required] Gets the compartment_id of this AdminArtifact. container_image_artifact_idsGets the container_image_artifact_ids of this AdminKubernetesImageArtifact. defined_tagsGets the defined_tags of this AdminArtifact. display_name[Required] Gets the display_name of this AdminArtifact. freeform_tagsGets the freeform_tags of this AdminArtifact. helm_chart[Required] Gets the helm_chart of this AdminKubernetesImageArtifact. id[Required] Gets the id of this AdminArtifact. legacy_idGets the legacy_id of this AdminArtifact. lifecycle_state[Required] Gets the lifecycle_state of this AdminArtifact. publisher_id[Required] Gets the publisher_id of this AdminArtifact. status[Required] Gets the status of this AdminArtifact. status_notesGets the status_notes of this AdminArtifact. system_tagsGets the system_tags of this AdminArtifact. time_created[Required] Gets the time_created of this AdminArtifact. time_updated[Required] Gets the time_updated of this AdminArtifact. Methods
__init__(**kwargs)Initializes a new AdminKubernetesImageArtifact 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. -
ARTIFACT_TYPE_CONTAINER_IMAGE= 'CONTAINER_IMAGE'¶
-
ARTIFACT_TYPE_HELM_CHART= 'HELM_CHART'¶
-
ARTIFACT_TYPE_MACHINE_IMAGE= 'MACHINE_IMAGE'¶
-
ARTIFACT_TYPE_STACK= 'STACK'¶
-
__init__(**kwargs)¶ Initializes a new AdminKubernetesImageArtifact object with values from keyword arguments. The default value of the
artifact_typeattribute of this class isHELM_CHARTand 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 AdminKubernetesImageArtifact.
- legacy_id (str) – The value to assign to the legacy_id property of this AdminKubernetesImageArtifact.
- display_name (str) – The value to assign to the display_name property of this AdminKubernetesImageArtifact.
- artifact_type (str) – The value to assign to the artifact_type property of this AdminKubernetesImageArtifact. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”
- status (str) – The value to assign to the status property of this AdminKubernetesImageArtifact.
- status_notes (str) – The value to assign to the status_notes property of this AdminKubernetesImageArtifact.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdminKubernetesImageArtifact.
- time_created (datetime) – The value to assign to the time_created property of this AdminKubernetesImageArtifact.
- compartment_id (str) – The value to assign to the compartment_id property of this AdminKubernetesImageArtifact.
- publisher_id (str) – The value to assign to the publisher_id property of this AdminKubernetesImageArtifact.
- time_updated (datetime) – The value to assign to the time_updated property of this AdminKubernetesImageArtifact.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdminKubernetesImageArtifact.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdminKubernetesImageArtifact.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdminKubernetesImageArtifact.
- helm_chart (oci.marketplace_publisher.models.HelmChartImageDetails) – The value to assign to the helm_chart property of this AdminKubernetesImageArtifact.
- container_image_artifact_ids (list[str]) – The value to assign to the container_image_artifact_ids property of this AdminKubernetesImageArtifact.
-
artifact_type¶ [Required] Gets the artifact_type of this AdminArtifact. Artifact type for the artifact.
Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The artifact_type of this AdminArtifact. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this AdminArtifact. The unique identifier for the compartment.
Returns: The compartment_id of this AdminArtifact. Return type: str
-
container_image_artifact_ids¶ Gets the container_image_artifact_ids of this AdminKubernetesImageArtifact. List of container image artifact unique identifiers included in the helm chart.
Returns: The container_image_artifact_ids of this AdminKubernetesImageArtifact. Return type: list[str]
Gets the defined_tags of this AdminArtifact. 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 AdminArtifact. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this AdminArtifact. A display name for the artifact.
Returns: The display_name of this AdminArtifact. Return type: str
Gets the freeform_tags of this AdminArtifact. 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 AdminArtifact. Return type: dict(str, 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.
-
helm_chart¶ [Required] Gets the helm_chart of this AdminKubernetesImageArtifact.
Returns: The helm_chart of this AdminKubernetesImageArtifact. Return type: oci.marketplace_publisher.models.HelmChartImageDetails
-
id¶ [Required] Gets the id of this AdminArtifact. Unique OCID identifier for the artifact.
Returns: The id of this AdminArtifact. Return type: str
-
legacy_id¶ Gets the legacy_id of this AdminArtifact. The unique legacy identifier for the listing.
Returns: The legacy_id of this AdminArtifact. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this AdminArtifact. The current state for the Artifact.
Returns: The lifecycle_state of this AdminArtifact. Return type: str
-
publisher_id¶ [Required] Gets the publisher_id of this AdminArtifact. The unique identifier for the publisher.
Returns: The publisher_id of this AdminArtifact. Return type: str
-
status¶ [Required] Gets the status of this AdminArtifact. The current status for the Artifact.
Returns: The status of this AdminArtifact. Return type: str
-
status_notes¶ Gets the status_notes of this AdminArtifact. Status notes for the Artifact.
Returns: The status_notes of this AdminArtifact. Return type: str
Gets the system_tags of this AdminArtifact. 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 AdminArtifact. Return type: dict(str, dict(str, object))
-