ContainerRepositoryCollection¶
- class oci.artifacts.models.ContainerRepositoryCollection(**kwargs)¶
Bases:
objectList of container repository results.
Methods:
__init__(**kwargs)Initializes a new ContainerRepositoryCollection object with values from keyword arguments.
Attributes:
[Required] Gets the image_count of this ContainerRepositoryCollection.
[Required] Gets the items of this ContainerRepositoryCollection.
[Required] Gets the layer_count of this ContainerRepositoryCollection.
[Required] Gets the layers_size_in_bytes of this ContainerRepositoryCollection.
[Required] Gets the remaining_items_count of this ContainerRepositoryCollection.
[Required] Gets the repository_count of this ContainerRepositoryCollection.
- __init__(**kwargs)¶
Initializes a new ContainerRepositoryCollection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
layer_count (int) – The value to assign to the layer_count property of this ContainerRepositoryCollection.
layers_size_in_bytes (int) – The value to assign to the layers_size_in_bytes property of this ContainerRepositoryCollection.
image_count (int) – The value to assign to the image_count property of this ContainerRepositoryCollection.
items (list[oci.artifacts.models.ContainerRepositorySummary]) – The value to assign to the items property of this ContainerRepositoryCollection.
remaining_items_count (int) – The value to assign to the remaining_items_count property of this ContainerRepositoryCollection.
repository_count (int) – The value to assign to the repository_count property of this ContainerRepositoryCollection.
- property image_count¶
[Required] Gets the image_count of this ContainerRepositoryCollection. Total number of images.
- Returns
The image_count of this ContainerRepositoryCollection.
- Return type
int
- property items¶
[Required] Gets the items of this ContainerRepositoryCollection. Collection of container repositories.
- Returns
The items of this ContainerRepositoryCollection.
- Return type
- property layer_count¶
[Required] Gets the layer_count of this ContainerRepositoryCollection. Total number of layers.
- Returns
The layer_count of this ContainerRepositoryCollection.
- Return type
int
- property layers_size_in_bytes¶
[Required] Gets the layers_size_in_bytes of this ContainerRepositoryCollection. Total storage in bytes consumed by layers.
- Returns
The layers_size_in_bytes of this ContainerRepositoryCollection.
- Return type
int
- property remaining_items_count¶
[Required] Gets the remaining_items_count of this ContainerRepositoryCollection. Estimated number of remaining results.
- Returns
The remaining_items_count of this ContainerRepositoryCollection.
- Return type
int
- property repository_count¶
[Required] Gets the repository_count of this ContainerRepositoryCollection. Total number of repositories.
- Returns
The repository_count of this ContainerRepositoryCollection.
- Return type
int