ContainerConfiguration¶
- class oci.artifacts.models.ContainerConfiguration(**kwargs)¶
Bases:
objectContainer configuration.
Methods:
__init__(**kwargs)Initializes a new ContainerConfiguration object with values from keyword arguments.
Attributes:
[Required] Gets the is_repository_created_on_first_push of this ContainerConfiguration.
[Required] Gets the namespace of this ContainerConfiguration.
- __init__(**kwargs)¶
Initializes a new ContainerConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_repository_created_on_first_push (bool) – The value to assign to the is_repository_created_on_first_push property of this ContainerConfiguration.
namespace (str) – The value to assign to the namespace property of this ContainerConfiguration.
- property is_repository_created_on_first_push¶
[Required] Gets the is_repository_created_on_first_push of this ContainerConfiguration. Whether to create a new container repository when a container is pushed to a new repository path. Repositories created in this way belong to the root compartment.
- Returns
The is_repository_created_on_first_push of this ContainerConfiguration.
- Return type
bool
- property namespace¶
[Required] Gets the namespace of this ContainerConfiguration. The tenancy namespace used in the container repository path.
- Returns
The namespace of this ContainerConfiguration.
- Return type
str