UpdateContainerRepositoryDetails¶
- class oci.artifacts.models.UpdateContainerRepositoryDetails(**kwargs)¶
Bases:
objectUpdate container repository request details.
Methods:
__init__(**kwargs)Initializes a new UpdateContainerRepositoryDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateContainerRepositoryDetails.
Gets the freeform_tags of this UpdateContainerRepositoryDetails.
Gets the is_immutable of this UpdateContainerRepositoryDetails.
Gets the is_public of this UpdateContainerRepositoryDetails.
Gets the readme of this UpdateContainerRepositoryDetails.
Gets the upstream_secret_id of this UpdateContainerRepositoryDetails.
Gets the upstream_username of this UpdateContainerRepositoryDetails.
- __init__(**kwargs)¶
Initializes a new UpdateContainerRepositoryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_immutable (bool) – The value to assign to the is_immutable property of this UpdateContainerRepositoryDetails.
is_public (bool) – The value to assign to the is_public property of this UpdateContainerRepositoryDetails.
upstream_username (str) – The value to assign to the upstream_username property of this UpdateContainerRepositoryDetails.
upstream_secret_id (str) – The value to assign to the upstream_secret_id property of this UpdateContainerRepositoryDetails.
readme (oci.artifacts.models.ContainerRepositoryReadme) – The value to assign to the readme property of this UpdateContainerRepositoryDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateContainerRepositoryDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateContainerRepositoryDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateContainerRepositoryDetails. 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 UpdateContainerRepositoryDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this UpdateContainerRepositoryDetails. 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 UpdateContainerRepositoryDetails.
- Return type
dict(str, str)
- property is_immutable¶
Gets the is_immutable of this UpdateContainerRepositoryDetails. Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- Returns
The is_immutable of this UpdateContainerRepositoryDetails.
- Return type
bool
- property is_public¶
Gets the is_public of this UpdateContainerRepositoryDetails. Whether the repository is public. A public repository allows unauthenticated access.
- Returns
The is_public of this UpdateContainerRepositoryDetails.
- Return type
bool
- property readme¶
Gets the readme of this UpdateContainerRepositoryDetails.
- Returns
The readme of this UpdateContainerRepositoryDetails.
- Return type
- property upstream_secret_id¶
Gets the upstream_secret_id of this UpdateContainerRepositoryDetails. The OCID of the OCI Vault secret that contains the upstream registry password as base64 encoded string for a pull-through cache repository
- Returns
The upstream_secret_id of this UpdateContainerRepositoryDetails.
- Return type
str
- property upstream_username¶
Gets the upstream_username of this UpdateContainerRepositoryDetails. The upstream registry username for a pull-through cache repository.
- Returns
The upstream_username of this UpdateContainerRepositoryDetails.
- Return type
str