import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Container Repository resource in Oracle Cloud Infrastructure Artifacts service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/registry/latest/ContainerRepository * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/artifacts * * Create a new empty container repository. Avoid entering confidential information. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testContainerRepository = new oci.artifacts.ContainerRepository("test_container_repository", { * compartmentId: compartmentId, * displayName: containerRepositoryDisplayName, * definedTags: { * "Operations.CostCenter": "42", * }, * freeformTags: { * Department: "Finance", * }, * isImmutable: containerRepositoryIsImmutable === "true", * isPublic: containerRepositoryIsPublic === "true", * readme: { * content: containerRepositoryReadmeContent, * format: containerRepositoryReadmeFormat, * }, * }); * ``` * * ## Import * * ContainerRepositories can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Artifacts/containerRepository:ContainerRepository test_container_repository "{repositoryId}" * ``` */ export declare class ContainerRepository extends pulumi.CustomResource { /** * Get an existing ContainerRepository resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ContainerRepositoryState, opts?: pulumi.CustomResourceOptions): ContainerRepository; /** * Returns true if the given object is an instance of ContainerRepository. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ContainerRepository; /** * Total storage size in GBs that will be charged. */ readonly billableSizeInGbs: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to create the resource. */ readonly compartmentId: pulumi.Output; /** * The id of the user or principal that created the resource. */ readonly createdBy: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The container repository name. */ readonly displayName: pulumi.Output; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Total number of images. */ readonly imageCount: pulumi.Output; /** * (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository. */ readonly isImmutable: pulumi.Output; /** * (Updatable) Whether the repository is public. A public repository allows unauthenticated access. */ readonly isPublic: pulumi.Output; /** * Total number of layers. */ readonly layerCount: pulumi.Output; /** * Total storage in bytes consumed by layers. */ readonly layersSizeInBytes: pulumi.Output; /** * The tenancy namespace used in the container repository path. */ readonly namespace: pulumi.Output; /** * (Updatable) Container repository readme. */ readonly readme: pulumi.Output; /** * The current state of the container repository. */ readonly state: pulumi.Output; /** * The system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * An RFC 3339 timestamp indicating when the repository was created. */ readonly timeCreated: pulumi.Output; /** * An RFC 3339 timestamp indicating when an image was last pushed to the repository. */ readonly timeLastPushed: pulumi.Output; /** * Create a ContainerRepository resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ContainerRepositoryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ContainerRepository resources. */ export interface ContainerRepositoryState { /** * Total storage size in GBs that will be charged. */ billableSizeInGbs?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to create the resource. */ compartmentId?: pulumi.Input; /** * The id of the user or principal that created the resource. */ createdBy?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The container repository name. */ displayName?: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Total number of images. */ imageCount?: pulumi.Input; /** * (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository. */ isImmutable?: pulumi.Input; /** * (Updatable) Whether the repository is public. A public repository allows unauthenticated access. */ isPublic?: pulumi.Input; /** * Total number of layers. */ layerCount?: pulumi.Input; /** * Total storage in bytes consumed by layers. */ layersSizeInBytes?: pulumi.Input; /** * The tenancy namespace used in the container repository path. */ namespace?: pulumi.Input; /** * (Updatable) Container repository readme. */ readme?: pulumi.Input; /** * The current state of the container repository. */ state?: pulumi.Input; /** * The system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * An RFC 3339 timestamp indicating when the repository was created. */ timeCreated?: pulumi.Input; /** * An RFC 3339 timestamp indicating when an image was last pushed to the repository. */ timeLastPushed?: pulumi.Input; } /** * The set of arguments for constructing a ContainerRepository resource. */ export interface ContainerRepositoryArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to create the resource. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The container repository name. */ displayName: pulumi.Input; /** * (Updatable) 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository. */ isImmutable?: pulumi.Input; /** * (Updatable) Whether the repository is public. A public repository allows unauthenticated access. */ isPublic?: pulumi.Input; /** * (Updatable) Container repository readme. */ readme?: pulumi.Input; } //# sourceMappingURL=containerRepository.d.ts.map