Show / Hide Table of Contents

Class ContainerRepository

Container repository metadata.

Inheritance
object
ContainerRepository
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ArtifactsService.Models
Assembly: OCI.DotNetSDK.Artifacts.dll
Syntax
public class ContainerRepository

Properties

BillableSizeInGBs

Declaration
[Required(ErrorMessage = "BillableSizeInGBs is required.")]
[JsonProperty(PropertyName = "billableSizeInGBs")]
public long? BillableSizeInGBs { get; set; }
Property Value
Type Description
long?

Total storage size in GBs that will be charged.

Remarks

Required

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment in which the container repository exists.

Remarks

Required

CreatedBy

Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type Description
string

The id of the user or principal that created the resource.

Remarks

Required

DefinedTags

Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

Remarks

Required

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The container repository name.

Remarks

Required

FreeformTags

Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the container repository.
Example: ocid1.containerrepo.oc1..exampleuniqueID

Remarks

Required

ImageCount

Declaration
[Required(ErrorMessage = "ImageCount is required.")]
[JsonProperty(PropertyName = "imageCount")]
public int? ImageCount { get; set; }
Property Value
Type Description
int?

Total number of images.

Remarks

Required

IsImmutable

Declaration
[Required(ErrorMessage = "IsImmutable is required.")]
[JsonProperty(PropertyName = "isImmutable")]
public bool? IsImmutable { get; set; }
Property Value
Type Description
bool?

Whether the repository is immutable. Images cannot be overwritten in an immutable repository.

Remarks

Required

IsPublic

Declaration
[Required(ErrorMessage = "IsPublic is required.")]
[JsonProperty(PropertyName = "isPublic")]
public bool? IsPublic { get; set; }
Property Value
Type Description
bool?

Whether the repository is public. A public repository allows unauthenticated access.

Remarks

Required

LayerCount

Declaration
[Required(ErrorMessage = "LayerCount is required.")]
[JsonProperty(PropertyName = "layerCount")]
public int? LayerCount { get; set; }
Property Value
Type Description
int?

Total number of layers.

Remarks

Required

LayersSizeInBytes

Declaration
[Required(ErrorMessage = "LayersSizeInBytes is required.")]
[JsonProperty(PropertyName = "layersSizeInBytes")]
public long? LayersSizeInBytes { get; set; }
Property Value
Type Description
long?

Total storage in bytes consumed by layers.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ContainerRepository.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
ContainerRepository.LifecycleStateEnum?

The current state of the container repository.

Remarks

Required

Namespace

Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
public string Namespace { get; set; }
Property Value
Type Description
string

The tenancy namespace used in the container repository path.

Remarks

Required

Readme

Declaration
[JsonProperty(PropertyName = "readme")]
public ContainerRepositoryReadme Readme { get; set; }
Property Value
Type Description
ContainerRepositoryReadme

SystemTags

Declaration
[Required(ErrorMessage = "SystemTags is required.")]
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

An RFC 3339 timestamp indicating when the repository was created.

Remarks

Required

TimeLastPushed

Declaration
[JsonProperty(PropertyName = "timeLastPushed")]
public DateTime? TimeLastPushed { get; set; }
Property Value
Type Description
DateTime?

An RFC 3339 timestamp indicating when an image was last pushed to the repository.

In this article
Back to top