CreateComputeImageCapabilitySchemaDetails¶
- class oci.core.models.CreateComputeImageCapabilitySchemaDetails(**kwargs)¶
Bases:
objectCreate Image Capability Schema for an image.
Methods:
__init__(**kwargs)Initializes a new CreateComputeImageCapabilitySchemaDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateComputeImageCapabilitySchemaDetails.
[Required] Gets the compute_global_image_capability_schema_version_name of this CreateComputeImageCapabilitySchemaDetails.
Gets the defined_tags of this CreateComputeImageCapabilitySchemaDetails.
Gets the display_name of this CreateComputeImageCapabilitySchemaDetails.
Gets the freeform_tags of this CreateComputeImageCapabilitySchemaDetails.
[Required] Gets the image_id of this CreateComputeImageCapabilitySchemaDetails.
[Required] Gets the schema_data of this CreateComputeImageCapabilitySchemaDetails.
- __init__(**kwargs)¶
Initializes a new CreateComputeImageCapabilitySchemaDetails 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 CreateComputeImageCapabilitySchemaDetails.
compute_global_image_capability_schema_version_name (str) – The value to assign to the compute_global_image_capability_schema_version_name property of this CreateComputeImageCapabilitySchemaDetails.
image_id (str) – The value to assign to the image_id property of this CreateComputeImageCapabilitySchemaDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateComputeImageCapabilitySchemaDetails.
display_name (str) – The value to assign to the display_name property of this CreateComputeImageCapabilitySchemaDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateComputeImageCapabilitySchemaDetails.
schema_data (dict(str, ImageCapabilitySchemaDescriptor)) – The value to assign to the schema_data property of this CreateComputeImageCapabilitySchemaDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateComputeImageCapabilitySchemaDetails. The OCID of the compartment that contains the resource.
- Returns
The compartment_id of this CreateComputeImageCapabilitySchemaDetails.
- Return type
str
- property compute_global_image_capability_schema_version_name¶
[Required] Gets the compute_global_image_capability_schema_version_name of this CreateComputeImageCapabilitySchemaDetails. The name of the compute global image capability schema version
- Returns
The compute_global_image_capability_schema_version_name of this CreateComputeImageCapabilitySchemaDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateComputeImageCapabilitySchemaDetails. 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 CreateComputeImageCapabilitySchemaDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateComputeImageCapabilitySchemaDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CreateComputeImageCapabilitySchemaDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateComputeImageCapabilitySchemaDetails. 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 CreateComputeImageCapabilitySchemaDetails.
- Return type
dict(str, str)
- property image_id¶
[Required] Gets the image_id of this CreateComputeImageCapabilitySchemaDetails. The ocid of the image
- Returns
The image_id of this CreateComputeImageCapabilitySchemaDetails.
- Return type
str
- property schema_data¶
[Required] Gets the schema_data of this CreateComputeImageCapabilitySchemaDetails. The map of each capability name to its ImageCapabilitySchemaDescriptor.
- Returns
The schema_data of this CreateComputeImageCapabilitySchemaDetails.
- Return type
dict(str, ImageCapabilitySchemaDescriptor)