Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

ContainerConfiguration

This resource provides the Container Configuration resource in Oracle Cloud Infrastructure Artifacts service.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testContainerConfiguration = new Oci.Artifacts.ContainerConfiguration("testContainerConfiguration", new Oci.Artifacts.ContainerConfigurationArgs
        {
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Artifacts"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Artifacts.NewContainerConfiguration(ctx, "testContainerConfiguration", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_container_configuration = oci.artifacts.ContainerConfiguration("testContainerConfiguration")
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testContainerConfiguration = new oci.Artifacts.ContainerConfiguration("test_container_configuration", {});

Coming soon!

Create a ContainerConfiguration Resource

new ContainerConfiguration(name: string, args: ContainerConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ContainerConfiguration(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           compartment_id: Optional[str] = None,
                           is_repository_created_on_first_push: Optional[bool] = None)
@overload
def ContainerConfiguration(resource_name: str,
                           args: ContainerConfigurationArgs,
                           opts: Optional[ResourceOptions] = None)
func NewContainerConfiguration(ctx *Context, name string, args ContainerConfigurationArgs, opts ...ResourceOption) (*ContainerConfiguration, error)
public ContainerConfiguration(string name, ContainerConfigurationArgs args, CustomResourceOptions? opts = null)
public ContainerConfiguration(String name, ContainerConfigurationArgs args)
public ContainerConfiguration(String name, ContainerConfigurationArgs args, CustomResourceOptions options)
type: oci:Artifacts:ContainerConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ContainerConfigurationArgs
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 ContainerConfigurationArgs
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 ContainerConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ContainerConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ContainerConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ContainerConfiguration 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 ContainerConfiguration resource accepts the following input properties:

CompartmentId string
IsRepositoryCreatedOnFirstPush bool

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.

CompartmentId string
IsRepositoryCreatedOnFirstPush bool

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.

compartmentId String
isRepositoryCreatedOnFirstPush Boolean

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.

compartmentId string
isRepositoryCreatedOnFirstPush boolean

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.

compartment_id str
is_repository_created_on_first_push bool

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.

compartmentId String
isRepositoryCreatedOnFirstPush Boolean

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.

Outputs

All input properties are implicitly available as output properties. Additionally, the ContainerConfiguration resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Namespace string

The tenancy namespace used in the container repository path.

Id string

The provider-assigned unique ID for this managed resource.

Namespace string

The tenancy namespace used in the container repository path.

id String

The provider-assigned unique ID for this managed resource.

namespace String

The tenancy namespace used in the container repository path.

id string

The provider-assigned unique ID for this managed resource.

namespace string

The tenancy namespace used in the container repository path.

id str

The provider-assigned unique ID for this managed resource.

namespace str

The tenancy namespace used in the container repository path.

id String

The provider-assigned unique ID for this managed resource.

namespace String

The tenancy namespace used in the container repository path.

Look up an Existing ContainerConfiguration Resource

Get an existing ContainerConfiguration 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?: ContainerConfigurationState, opts?: CustomResourceOptions): ContainerConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        is_repository_created_on_first_push: Optional[bool] = None,
        namespace: Optional[str] = None) -> ContainerConfiguration
func GetContainerConfiguration(ctx *Context, name string, id IDInput, state *ContainerConfigurationState, opts ...ResourceOption) (*ContainerConfiguration, error)
public static ContainerConfiguration Get(string name, Input<string> id, ContainerConfigurationState? state, CustomResourceOptions? opts = null)
public static ContainerConfiguration get(String name, Output<String> id, ContainerConfigurationState 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.
The following state arguments are supported:
CompartmentId string
IsRepositoryCreatedOnFirstPush bool

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.

Namespace string

The tenancy namespace used in the container repository path.

CompartmentId string
IsRepositoryCreatedOnFirstPush bool

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.

Namespace string

The tenancy namespace used in the container repository path.

compartmentId String
isRepositoryCreatedOnFirstPush Boolean

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.

namespace String

The tenancy namespace used in the container repository path.

compartmentId string
isRepositoryCreatedOnFirstPush boolean

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.

namespace string

The tenancy namespace used in the container repository path.

compartment_id str
is_repository_created_on_first_push bool

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.

namespace str

The tenancy namespace used in the container repository path.

compartmentId String
isRepositoryCreatedOnFirstPush Boolean

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.

namespace String

The tenancy namespace used in the container repository path.

Import

ContainerConfiguration can be imported using the id, e.g.

 $ pulumi import oci:Artifacts/containerConfiguration:ContainerConfiguration test_container_configuration "container/configuration/compartmentId/{compartmentId}"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.