ComputeImageCapabilitySchema¶
- class oci.core.models.ComputeImageCapabilitySchema(**kwargs)¶
Bases:
objectCompute Image Capability Schema is a set of capabilities that filter the compute global capability schema version for an image.
Attributes:
A constant which can be used with the lifecycle_state property of a ComputeImageCapabilitySchema.
A constant which can be used with the lifecycle_state property of a ComputeImageCapabilitySchema.
A constant which can be used with the lifecycle_state property of a ComputeImageCapabilitySchema.
Gets the compartment_id of this ComputeImageCapabilitySchema.
[Required] Gets the compute_global_image_capability_schema_id of this ComputeImageCapabilitySchema.
[Required] Gets the compute_global_image_capability_schema_version_name of this ComputeImageCapabilitySchema.
Gets the defined_tags of this ComputeImageCapabilitySchema.
[Required] Gets the display_name of this ComputeImageCapabilitySchema.
Gets the freeform_tags of this ComputeImageCapabilitySchema.
[Required] Gets the id of this ComputeImageCapabilitySchema.
[Required] Gets the image_id of this ComputeImageCapabilitySchema.
Gets the lifecycle_state of this ComputeImageCapabilitySchema.
[Required] Gets the schema_data of this ComputeImageCapabilitySchema.
[Required] Gets the time_created of this ComputeImageCapabilitySchema.
Methods:
__init__(**kwargs)Initializes a new ComputeImageCapabilitySchema object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a ComputeImageCapabilitySchema. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a ComputeImageCapabilitySchema. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a ComputeImageCapabilitySchema. This constant has a value of “DELETED”
- __init__(**kwargs)¶
Initializes a new ComputeImageCapabilitySchema object with values from keyword arguments. 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 ComputeImageCapabilitySchema.
compartment_id (str) – The value to assign to the compartment_id property of this ComputeImageCapabilitySchema.
compute_global_image_capability_schema_id (str) – The value to assign to the compute_global_image_capability_schema_id property of this ComputeImageCapabilitySchema.
compute_global_image_capability_schema_version_name (str) – The value to assign to the compute_global_image_capability_schema_version_name property of this ComputeImageCapabilitySchema.
image_id (str) – The value to assign to the image_id property of this ComputeImageCapabilitySchema.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeImageCapabilitySchema. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ComputeImageCapabilitySchema.
display_name (str) – The value to assign to the display_name property of this ComputeImageCapabilitySchema.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ComputeImageCapabilitySchema.
schema_data (dict(str, ImageCapabilitySchemaDescriptor)) – The value to assign to the schema_data property of this ComputeImageCapabilitySchema.
time_created (datetime) – The value to assign to the time_created property of this ComputeImageCapabilitySchema.
- property compartment_id¶
Gets the compartment_id of this ComputeImageCapabilitySchema. The OCID of the compartment that contains the resource.
- Returns
The compartment_id of this ComputeImageCapabilitySchema.
- Return type
str
- property compute_global_image_capability_schema_id¶
[Required] Gets the compute_global_image_capability_schema_id of this ComputeImageCapabilitySchema. The ocid of the compute global image capability schema
- Returns
The compute_global_image_capability_schema_id of this ComputeImageCapabilitySchema.
- Return type
str
- property compute_global_image_capability_schema_version_name¶
[Required] Gets the compute_global_image_capability_schema_version_name of this ComputeImageCapabilitySchema. The name of the compute global image capability schema version
- Returns
The compute_global_image_capability_schema_version_name of this ComputeImageCapabilitySchema.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this ComputeImageCapabilitySchema. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this ComputeImageCapabilitySchema.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this ComputeImageCapabilitySchema. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this ComputeImageCapabilitySchema.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this ComputeImageCapabilitySchema. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this ComputeImageCapabilitySchema.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this ComputeImageCapabilitySchema. The id of the compute global image capability schema version
- Returns
The id of this ComputeImageCapabilitySchema.
- Return type
str
- property image_id¶
[Required] Gets the image_id of this ComputeImageCapabilitySchema. The OCID of the image associated with this compute image capability schema
- Returns
The image_id of this ComputeImageCapabilitySchema.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this ComputeImageCapabilitySchema. The ComputeImageCapabilitySchema current lifecycle state.
Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this ComputeImageCapabilitySchema.
- Return type
str
- property schema_data¶
[Required] Gets the schema_data of this ComputeImageCapabilitySchema. The map of each capability name to its ImageCapabilityDescriptor.
- Returns
The schema_data of this ComputeImageCapabilitySchema.
- Return type
dict(str, ImageCapabilitySchemaDescriptor)
- property time_created¶
[Required] Gets the time_created of this ComputeImageCapabilitySchema. The date and time the compute image capability schema was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
- Returns
The time_created of this ComputeImageCapabilitySchema.
- Return type
datetime