oci.Artifacts.ContainerRepository
Explore with Pulumi AI
This resource provides the Container Repository resource in Oracle Cloud Infrastructure Artifacts service.
Create a new empty container repository. Avoid entering confidential information.
Example Usage
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,
isPublic: containerRepositoryIsPublic,
readme: {
content: containerRepositoryReadmeContent,
format: containerRepositoryReadmeFormat,
},
});
import pulumi
import pulumi_oci as oci
test_container_repository = oci.artifacts.ContainerRepository("test_container_repository",
compartment_id=compartment_id,
display_name=container_repository_display_name,
defined_tags={
"Operations.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
is_immutable=container_repository_is_immutable,
is_public=container_repository_is_public,
readme={
"content": container_repository_readme_content,
"format": container_repository_readme_format,
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Artifacts"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Artifacts.NewContainerRepository(ctx, "test_container_repository", &Artifacts.ContainerRepositoryArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(containerRepositoryDisplayName),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
IsImmutable: pulumi.Any(containerRepositoryIsImmutable),
IsPublic: pulumi.Any(containerRepositoryIsPublic),
Readme: &artifacts.ContainerRepositoryReadmeArgs{
Content: pulumi.Any(containerRepositoryReadmeContent),
Format: pulumi.Any(containerRepositoryReadmeFormat),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testContainerRepository = new Oci.Artifacts.ContainerRepository("test_container_repository", new()
{
CompartmentId = compartmentId,
DisplayName = containerRepositoryDisplayName,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
FreeformTags =
{
{ "Department", "Finance" },
},
IsImmutable = containerRepositoryIsImmutable,
IsPublic = containerRepositoryIsPublic,
Readme = new Oci.Artifacts.Inputs.ContainerRepositoryReadmeArgs
{
Content = containerRepositoryReadmeContent,
Format = containerRepositoryReadmeFormat,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Artifacts.ContainerRepository;
import com.pulumi.oci.Artifacts.ContainerRepositoryArgs;
import com.pulumi.oci.Artifacts.inputs.ContainerRepositoryReadmeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testContainerRepository = new ContainerRepository("testContainerRepository", ContainerRepositoryArgs.builder()
.compartmentId(compartmentId)
.displayName(containerRepositoryDisplayName)
.definedTags(Map.of("Operations.CostCenter", "42"))
.freeformTags(Map.of("Department", "Finance"))
.isImmutable(containerRepositoryIsImmutable)
.isPublic(containerRepositoryIsPublic)
.readme(ContainerRepositoryReadmeArgs.builder()
.content(containerRepositoryReadmeContent)
.format(containerRepositoryReadmeFormat)
.build())
.build());
}
}
resources:
testContainerRepository:
type: oci:Artifacts:ContainerRepository
name: test_container_repository
properties:
compartmentId: ${compartmentId}
displayName: ${containerRepositoryDisplayName}
definedTags:
Operations.CostCenter: '42'
freeformTags:
Department: Finance
isImmutable: ${containerRepositoryIsImmutable}
isPublic: ${containerRepositoryIsPublic}
readme:
content: ${containerRepositoryReadmeContent}
format: ${containerRepositoryReadmeFormat}
Create ContainerRepository Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerRepository(name: string, args: ContainerRepositoryArgs, opts?: CustomResourceOptions);
@overload
def ContainerRepository(resource_name: str,
args: ContainerRepositoryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerRepository(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_immutable: Optional[bool] = None,
is_public: Optional[bool] = None,
readme: Optional[_artifacts.ContainerRepositoryReadmeArgs] = None)
func NewContainerRepository(ctx *Context, name string, args ContainerRepositoryArgs, opts ...ResourceOption) (*ContainerRepository, error)
public ContainerRepository(string name, ContainerRepositoryArgs args, CustomResourceOptions? opts = null)
public ContainerRepository(String name, ContainerRepositoryArgs args)
public ContainerRepository(String name, ContainerRepositoryArgs args, CustomResourceOptions options)
type: oci:Artifacts:ContainerRepository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ContainerRepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ContainerRepositoryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ContainerRepositoryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerRepositoryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerRepositoryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var containerRepositoryResource = new Oci.Artifacts.ContainerRepository("containerRepositoryResource", new()
{
CompartmentId = "string",
DisplayName = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
IsImmutable = false,
IsPublic = false,
Readme = new Oci.Artifacts.Inputs.ContainerRepositoryReadmeArgs
{
Content = "string",
Format = "string",
},
});
example, err := Artifacts.NewContainerRepository(ctx, "containerRepositoryResource", &Artifacts.ContainerRepositoryArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsImmutable: pulumi.Bool(false),
IsPublic: pulumi.Bool(false),
Readme: &artifacts.ContainerRepositoryReadmeArgs{
Content: pulumi.String("string"),
Format: pulumi.String("string"),
},
})
var containerRepositoryResource = new ContainerRepository("containerRepositoryResource", ContainerRepositoryArgs.builder()
.compartmentId("string")
.displayName("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.isImmutable(false)
.isPublic(false)
.readme(ContainerRepositoryReadmeArgs.builder()
.content("string")
.format("string")
.build())
.build());
container_repository_resource = oci.artifacts.ContainerRepository("containerRepositoryResource",
compartment_id="string",
display_name="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
is_immutable=False,
is_public=False,
readme=oci.artifacts.ContainerRepositoryReadmeArgs(
content="string",
format="string",
))
const containerRepositoryResource = new oci.artifacts.ContainerRepository("containerRepositoryResource", {
compartmentId: "string",
displayName: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
isImmutable: false,
isPublic: false,
readme: {
content: "string",
format: "string",
},
});
type: oci:Artifacts:ContainerRepository
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
isImmutable: false
isPublic: false
readme:
content: string
format: string
ContainerRepository Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ContainerRepository resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the resource.
- Display
Name string - The container repository name.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, string>
- (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. Example:
{"Department": "Finance"}
- Is
Immutable bool - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- Is
Public bool - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- Readme
Container
Repository Readme - (Updatable) Container repository readme.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the resource.
- Display
Name string - The container repository name.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]string
- (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. Example:
{"Department": "Finance"}
- Is
Immutable bool - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- Is
Public bool - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- Readme
Container
Repository Readme Args - (Updatable) Container repository readme.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the resource.
- display
Name String - The container repository name.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,String>
- (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. Example:
{"Department": "Finance"}
- is
Immutable Boolean - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is
Public Boolean - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- readme
Container
Repository Readme - (Updatable) Container repository readme.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the resource.
- display
Name string - The container repository name.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: string}
- (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. Example:
{"Department": "Finance"}
- is
Immutable boolean - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is
Public boolean - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- readme
Container
Repository Readme - (Updatable) Container repository readme.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the resource.
- display_
name str - The container repository name.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, str]
- (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. Example:
{"Department": "Finance"}
- is_
immutable bool - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is_
public bool - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- readme
artifacts.
Container Repository Readme Args - (Updatable) Container repository readme.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the resource.
- display
Name String - The container repository name.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String>
- (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. Example:
{"Department": "Finance"}
- is
Immutable Boolean - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is
Public Boolean - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- readme Property Map
- (Updatable) Container repository readme.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerRepository resource produces the following output properties:
- Billable
Size stringIn Gbs - Total storage size in GBs that will be charged.
- Created
By string - The id of the user or principal that created the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Count int - Total number of images.
- Layer
Count int - Total number of layers.
- Layers
Size stringIn Bytes - Total storage in bytes consumed by layers.
- Namespace string
- The tenancy namespace used in the container repository path.
- State string
- The current state of the container repository.
- Dictionary<string, string>
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- Time
Last stringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- Billable
Size stringIn Gbs - Total storage size in GBs that will be charged.
- Created
By string - The id of the user or principal that created the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Count int - Total number of images.
- Layer
Count int - Total number of layers.
- Layers
Size stringIn Bytes - Total storage in bytes consumed by layers.
- Namespace string
- The tenancy namespace used in the container repository path.
- State string
- The current state of the container repository.
- map[string]string
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- Time
Last stringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable
Size StringIn Gbs - Total storage size in GBs that will be charged.
- created
By String - The id of the user or principal that created the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Count Integer - Total number of images.
- layer
Count Integer - Total number of layers.
- layers
Size StringIn Bytes - Total storage in bytes consumed by layers.
- namespace String
- The tenancy namespace used in the container repository path.
- state String
- The current state of the container repository.
- Map<String,String>
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - An RFC 3339 timestamp indicating when the repository was created.
- time
Last StringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable
Size stringIn Gbs - Total storage size in GBs that will be charged.
- created
By string - The id of the user or principal that created the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- image
Count number - Total number of images.
- layer
Count number - Total number of layers.
- layers
Size stringIn Bytes - Total storage in bytes consumed by layers.
- namespace string
- The tenancy namespace used in the container repository path.
- state string
- The current state of the container repository.
- {[key: string]: string}
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- time
Last stringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable_
size_ strin_ gbs - Total storage size in GBs that will be charged.
- created_
by str - The id of the user or principal that created the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- image_
count int - Total number of images.
- layer_
count int - Total number of layers.
- layers_
size_ strin_ bytes - Total storage in bytes consumed by layers.
- namespace str
- The tenancy namespace used in the container repository path.
- state str
- The current state of the container repository.
- Mapping[str, str]
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - An RFC 3339 timestamp indicating when the repository was created.
- time_
last_ strpushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable
Size StringIn Gbs - Total storage size in GBs that will be charged.
- created
By String - The id of the user or principal that created the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Count Number - Total number of images.
- layer
Count Number - Total number of layers.
- layers
Size StringIn Bytes - Total storage in bytes consumed by layers.
- namespace String
- The tenancy namespace used in the container repository path.
- state String
- The current state of the container repository.
- Map<String>
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - An RFC 3339 timestamp indicating when the repository was created.
- time
Last StringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
Look up Existing ContainerRepository Resource
Get an existing ContainerRepository resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ContainerRepositoryState, opts?: CustomResourceOptions): ContainerRepository
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
billable_size_in_gbs: Optional[str] = None,
compartment_id: Optional[str] = None,
created_by: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
image_count: Optional[int] = None,
is_immutable: Optional[bool] = None,
is_public: Optional[bool] = None,
layer_count: Optional[int] = None,
layers_size_in_bytes: Optional[str] = None,
namespace: Optional[str] = None,
readme: Optional[_artifacts.ContainerRepositoryReadmeArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_last_pushed: Optional[str] = None) -> ContainerRepository
func GetContainerRepository(ctx *Context, name string, id IDInput, state *ContainerRepositoryState, opts ...ResourceOption) (*ContainerRepository, error)
public static ContainerRepository Get(string name, Input<string> id, ContainerRepositoryState? state, CustomResourceOptions? opts = null)
public static ContainerRepository get(String name, Output<String> id, ContainerRepositoryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Billable
Size stringIn Gbs - Total storage size in GBs that will be charged.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the resource.
- Created
By string - The id of the user or principal that created the resource.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - The container repository name.
- Dictionary<string, string>
- (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. Example:
{"Department": "Finance"}
- Image
Count int - Total number of images.
- Is
Immutable bool - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- Is
Public bool - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- Layer
Count int - Total number of layers.
- Layers
Size stringIn Bytes - Total storage in bytes consumed by layers.
- Namespace string
- The tenancy namespace used in the container repository path.
- Readme
Container
Repository Readme - (Updatable) Container repository readme.
- State string
- The current state of the container repository.
- Dictionary<string, string>
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- Time
Last stringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- Billable
Size stringIn Gbs - Total storage size in GBs that will be charged.
- Compartment
Id string - (Updatable) The OCID of the compartment in which to create the resource.
- Created
By string - The id of the user or principal that created the resource.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - The container repository name.
- map[string]string
- (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. Example:
{"Department": "Finance"}
- Image
Count int - Total number of images.
- Is
Immutable bool - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- Is
Public bool - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- Layer
Count int - Total number of layers.
- Layers
Size stringIn Bytes - Total storage in bytes consumed by layers.
- Namespace string
- The tenancy namespace used in the container repository path.
- Readme
Container
Repository Readme Args - (Updatable) Container repository readme.
- State string
- The current state of the container repository.
- map[string]string
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- Time
Last stringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable
Size StringIn Gbs - Total storage size in GBs that will be charged.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the resource.
- created
By String - The id of the user or principal that created the resource.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - The container repository name.
- Map<String,String>
- (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. Example:
{"Department": "Finance"}
- image
Count Integer - Total number of images.
- is
Immutable Boolean - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is
Public Boolean - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- layer
Count Integer - Total number of layers.
- layers
Size StringIn Bytes - Total storage in bytes consumed by layers.
- namespace String
- The tenancy namespace used in the container repository path.
- readme
Container
Repository Readme - (Updatable) Container repository readme.
- state String
- The current state of the container repository.
- Map<String,String>
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - An RFC 3339 timestamp indicating when the repository was created.
- time
Last StringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable
Size stringIn Gbs - Total storage size in GBs that will be charged.
- compartment
Id string - (Updatable) The OCID of the compartment in which to create the resource.
- created
By string - The id of the user or principal that created the resource.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - The container repository name.
- {[key: string]: string}
- (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. Example:
{"Department": "Finance"}
- image
Count number - Total number of images.
- is
Immutable boolean - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is
Public boolean - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- layer
Count number - Total number of layers.
- layers
Size stringIn Bytes - Total storage in bytes consumed by layers.
- namespace string
- The tenancy namespace used in the container repository path.
- readme
Container
Repository Readme - (Updatable) Container repository readme.
- state string
- The current state of the container repository.
- {[key: string]: string}
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - An RFC 3339 timestamp indicating when the repository was created.
- time
Last stringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable_
size_ strin_ gbs - Total storage size in GBs that will be charged.
- compartment_
id str - (Updatable) The OCID of the compartment in which to create the resource.
- created_
by str - The id of the user or principal that created the resource.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - The container repository name.
- Mapping[str, str]
- (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. Example:
{"Department": "Finance"}
- image_
count int - Total number of images.
- is_
immutable bool - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is_
public bool - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- layer_
count int - Total number of layers.
- layers_
size_ strin_ bytes - Total storage in bytes consumed by layers.
- namespace str
- The tenancy namespace used in the container repository path.
- readme
artifacts.
Container Repository Readme Args - (Updatable) Container repository readme.
- state str
- The current state of the container repository.
- Mapping[str, str]
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - An RFC 3339 timestamp indicating when the repository was created.
- time_
last_ strpushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
- billable
Size StringIn Gbs - Total storage size in GBs that will be charged.
- compartment
Id String - (Updatable) The OCID of the compartment in which to create the resource.
- created
By String - The id of the user or principal that created the resource.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - The container repository name.
- Map<String>
- (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. Example:
{"Department": "Finance"}
- image
Count Number - Total number of images.
- is
Immutable Boolean - (Updatable) Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
- is
Public Boolean - (Updatable) Whether the repository is public. A public repository allows unauthenticated access.
- layer
Count Number - Total number of layers.
- layers
Size StringIn Bytes - Total storage in bytes consumed by layers.
- namespace String
- The tenancy namespace used in the container repository path.
- readme Property Map
- (Updatable) Container repository readme.
- state String
- The current state of the container repository.
- Map<String>
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - An RFC 3339 timestamp indicating when the repository was created.
- time
Last StringPushed - An RFC 3339 timestamp indicating when an image was last pushed to the repository.
Supporting Types
ContainerRepositoryReadme, ContainerRepositoryReadmeArgs
- Content string
- (Updatable) Readme content. Avoid entering confidential information.
- Format string
(Updatable) Readme format. Supported formats are text/plain and text/markdown.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Content string
- (Updatable) Readme content. Avoid entering confidential information.
- Format string
(Updatable) Readme format. Supported formats are text/plain and text/markdown.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- content String
- (Updatable) Readme content. Avoid entering confidential information.
- format String
(Updatable) Readme format. Supported formats are text/plain and text/markdown.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- content string
- (Updatable) Readme content. Avoid entering confidential information.
- format string
(Updatable) Readme format. Supported formats are text/plain and text/markdown.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- content str
- (Updatable) Readme content. Avoid entering confidential information.
- format str
(Updatable) Readme format. Supported formats are text/plain and text/markdown.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- content String
- (Updatable) Readme content. Avoid entering confidential information.
- format String
(Updatable) Readme format. Supported formats are text/plain and text/markdown.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
ContainerRepositories can be imported using the id
, e.g.
$ pulumi import oci:Artifacts/containerRepository:ContainerRepository test_container_repository "container/repositories/{repositoryId}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.