ContainerConfiguration¶
-
class
oci.artifacts.models.
ContainerConfiguration
(**kwargs)¶ Bases:
object
Container configuration.
Methods
__init__
(**kwargs)Initializes a new ContainerConfiguration object with values from keyword arguments. Attributes
is_repository_created_on_first_push
[Required] Gets the is_repository_created_on_first_push of this ContainerConfiguration. namespace
[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.
-
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
-
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
-