StackArtifactDetails¶
- class oci.marketplace_publisher.models.StackArtifactDetails(**kwargs)¶
Bases:
objectStack details required to create a Stack artifact.
Attributes:
A constant which can be used with the validation_status property of a StackArtifactDetails.
A constant which can be used with the validation_status property of a StackArtifactDetails.
A constant which can be used with the validation_status property of a StackArtifactDetails.
Gets the image_listing_ids of this StackArtifactDetails.
[Required] Gets the source_stack_id of this StackArtifactDetails.
Gets the validation_error of this StackArtifactDetails.
[Required] Gets the validation_status of this StackArtifactDetails.
Methods:
__init__(**kwargs)Initializes a new StackArtifactDetails object with values from keyword arguments.
- VALIDATION_STATUS_VALIDATION_COMPLETED = 'VALIDATION_COMPLETED'¶
A constant which can be used with the validation_status property of a StackArtifactDetails. This constant has a value of “VALIDATION_COMPLETED”
- VALIDATION_STATUS_VALIDATION_FAILED = 'VALIDATION_FAILED'¶
A constant which can be used with the validation_status property of a StackArtifactDetails. This constant has a value of “VALIDATION_FAILED”
- VALIDATION_STATUS_VALIDATION_IN_PROGRESS = 'VALIDATION_IN_PROGRESS'¶
A constant which can be used with the validation_status property of a StackArtifactDetails. This constant has a value of “VALIDATION_IN_PROGRESS”
- __init__(**kwargs)¶
Initializes a new StackArtifactDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
source_stack_id (str) – The value to assign to the source_stack_id property of this StackArtifactDetails.
image_listing_ids (list[str]) – The value to assign to the image_listing_ids property of this StackArtifactDetails.
validation_status (str) – The value to assign to the validation_status property of this StackArtifactDetails. Allowed values for this property are: “VALIDATION_IN_PROGRESS”, “VALIDATION_FAILED”, “VALIDATION_COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
validation_error (str) – The value to assign to the validation_error property of this StackArtifactDetails.
- property image_listing_ids¶
Gets the image_listing_ids of this StackArtifactDetails. Image listing OCIDs that are referred in the Stack.
- Returns
The image_listing_ids of this StackArtifactDetails.
- Return type
list[str]
- property source_stack_id¶
[Required] Gets the source_stack_id of this StackArtifactDetails. The source stack OCID.
- Returns
The source_stack_id of this StackArtifactDetails.
- Return type
str
- property validation_error¶
Gets the validation_error of this StackArtifactDetails. The description of the stack validation failure errors.
- Returns
The validation_error of this StackArtifactDetails.
- Return type
str
- property validation_status¶
[Required] Gets the validation_status of this StackArtifactDetails. Stack validation status.
Allowed values for this property are: “VALIDATION_IN_PROGRESS”, “VALIDATION_FAILED”, “VALIDATION_COMPLETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The validation_status of this StackArtifactDetails.
- Return type
str