ContainerRepositorySummary

class oci.artifacts.models.ContainerRepositorySummary(**kwargs)

Bases: object

Container repository summary.

Methods:

__init__(**kwargs)

Initializes a new ContainerRepositorySummary object with values from keyword arguments.

Attributes:

billable_size_in_gbs

[Required] Gets the billable_size_in_gbs of this ContainerRepositorySummary.

compartment_id

[Required] Gets the compartment_id of this ContainerRepositorySummary.

defined_tags

[Required] Gets the defined_tags of this ContainerRepositorySummary.

display_name

[Required] Gets the display_name of this ContainerRepositorySummary.

freeform_tags

[Required] Gets the freeform_tags of this ContainerRepositorySummary.

id

[Required] Gets the id of this ContainerRepositorySummary.

image_count

[Required] Gets the image_count of this ContainerRepositorySummary.

is_public

[Required] Gets the is_public of this ContainerRepositorySummary.

is_top_level

Gets the is_top_level of this ContainerRepositorySummary.

layer_count

[Required] Gets the layer_count of this ContainerRepositorySummary.

layers_size_in_bytes

[Required] Gets the layers_size_in_bytes of this ContainerRepositorySummary.

lifecycle_state

[Required] Gets the lifecycle_state of this ContainerRepositorySummary.

namespace

[Required] Gets the namespace of this ContainerRepositorySummary.

repository_type

Gets the repository_type of this ContainerRepositorySummary.

system_tags

[Required] Gets the system_tags of this ContainerRepositorySummary.

time_created

[Required] Gets the time_created of this ContainerRepositorySummary.

__init__(**kwargs)

Initializes a new ContainerRepositorySummary 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 ContainerRepositorySummary.

  • display_name (str) – The value to assign to the display_name property of this ContainerRepositorySummary.

  • id (str) – The value to assign to the id property of this ContainerRepositorySummary.

  • repository_type (str) – The value to assign to the repository_type property of this ContainerRepositorySummary.

  • is_top_level (bool) – The value to assign to the is_top_level property of this ContainerRepositorySummary.

  • image_count (int) – The value to assign to the image_count property of this ContainerRepositorySummary.

  • is_public (bool) – The value to assign to the is_public property of this ContainerRepositorySummary.

  • layer_count (int) – The value to assign to the layer_count property of this ContainerRepositorySummary.

  • layers_size_in_bytes (int) – The value to assign to the layers_size_in_bytes property of this ContainerRepositorySummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ContainerRepositorySummary.

  • time_created (datetime) – The value to assign to the time_created property of this ContainerRepositorySummary.

  • billable_size_in_gbs (int) – The value to assign to the billable_size_in_gbs property of this ContainerRepositorySummary.

  • namespace (str) – The value to assign to the namespace property of this ContainerRepositorySummary.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ContainerRepositorySummary.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ContainerRepositorySummary.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ContainerRepositorySummary.

property billable_size_in_gbs

[Required] Gets the billable_size_in_gbs of this ContainerRepositorySummary. Total storage size in GBs that will be charged.

Returns

The billable_size_in_gbs of this ContainerRepositorySummary.

Return type

int

property compartment_id

[Required] Gets the compartment_id of this ContainerRepositorySummary. The OCID of the compartment in which the container repository exists.

Returns

The compartment_id of this ContainerRepositorySummary.

Return type

str

property defined_tags

[Required] Gets the defined_tags of this ContainerRepositorySummary. 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 ContainerRepositorySummary.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this ContainerRepositorySummary. The container repository name.

Returns

The display_name of this ContainerRepositorySummary.

Return type

str

property freeform_tags

[Required] Gets the freeform_tags of this ContainerRepositorySummary. 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 ContainerRepositorySummary.

Return type

dict(str, str)

property id

[Required] Gets the id of this ContainerRepositorySummary. The OCID of the container repository.

Example: ocid1.containerrepo.oc1..exampleuniqueID

Returns

The id of this ContainerRepositorySummary.

Return type

str

property image_count

[Required] Gets the image_count of this ContainerRepositorySummary. Total number of images.

Returns

The image_count of this ContainerRepositorySummary.

Return type

int

property is_public

[Required] Gets the is_public of this ContainerRepositorySummary. Whether the repository is public. A public repository allows unauthenticated access.

Returns

The is_public of this ContainerRepositorySummary.

Return type

bool

property is_top_level

Gets the is_top_level of this ContainerRepositorySummary. Whether the repository is top-level. A top-level repository reserves its name in namespace as a prefix and allows images to be hosted under child paths of that prefix.

Returns

The is_top_level of this ContainerRepositorySummary.

Return type

bool

property layer_count

[Required] Gets the layer_count of this ContainerRepositorySummary. Total number of layers.

Returns

The layer_count of this ContainerRepositorySummary.

Return type

int

property layers_size_in_bytes

[Required] Gets the layers_size_in_bytes of this ContainerRepositorySummary. Total storage in bytes consumed by layers.

Returns

The layers_size_in_bytes of this ContainerRepositorySummary.

Return type

int

property lifecycle_state

[Required] Gets the lifecycle_state of this ContainerRepositorySummary. The current state of the container repository.

Returns

The lifecycle_state of this ContainerRepositorySummary.

Return type

str

property namespace

[Required] Gets the namespace of this ContainerRepositorySummary. The tenancy namespace used in the container repository path.

Returns

The namespace of this ContainerRepositorySummary.

Return type

str

property repository_type

Gets the repository_type of this ContainerRepositorySummary. The type of container repository. This determines the repository behavior and required settings.

Returns

The repository_type of this ContainerRepositorySummary.

Return type

str

property system_tags

[Required] Gets the system_tags of this ContainerRepositorySummary. The 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 ContainerRepositorySummary.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this ContainerRepositorySummary. An RFC 3339 timestamp indicating when the repository was created.

Returns

The time_created of this ContainerRepositorySummary.

Return type

datetime