Oracle Cloud Infrastructure

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

getContainerConfiguration

This data source provides details about a specific Container Configuration resource in Oracle Cloud Infrastructure Artifacts service.

Get container configuration.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testContainerConfiguration = Output.Create(Oci.Artifacts.GetContainerConfiguration.InvokeAsync(new Oci.Artifacts.GetContainerConfigurationArgs
        {
            CompartmentId = @var.Compartment_id,
        }));
    }

}
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.GetContainerConfiguration(ctx, &artifacts.GetContainerConfigurationArgs{
			CompartmentId: _var.Compartment_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_container_configuration = oci.Artifacts.get_container_configuration(compartment_id=var["compartment_id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testContainerConfiguration = oci.Artifacts.getContainerConfiguration({
    compartmentId: _var.compartment_id,
});

Coming soon!

Using getContainerConfiguration

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getContainerConfiguration(args: GetContainerConfigurationArgs, opts?: InvokeOptions): Promise<GetContainerConfigurationResult>
function getContainerConfigurationOutput(args: GetContainerConfigurationOutputArgs, opts?: InvokeOptions): Output<GetContainerConfigurationResult>
def get_container_configuration(compartment_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetContainerConfigurationResult
def get_container_configuration_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetContainerConfigurationResult]
func GetContainerConfiguration(ctx *Context, args *GetContainerConfigurationArgs, opts ...InvokeOption) (*GetContainerConfigurationResult, error)
func GetContainerConfigurationOutput(ctx *Context, args *GetContainerConfigurationOutputArgs, opts ...InvokeOption) GetContainerConfigurationResultOutput

> Note: This function is named GetContainerConfiguration in the Go SDK.

public static class GetContainerConfiguration 
{
    public static Task<GetContainerConfigurationResult> InvokeAsync(GetContainerConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetContainerConfigurationResult> Invoke(GetContainerConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContainerConfigurationResult> getContainerConfiguration(GetContainerConfigurationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Artifacts/getContainerConfiguration:getContainerConfiguration
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

The OCID of the compartment.

CompartmentId string

The OCID of the compartment.

compartmentId String

The OCID of the compartment.

compartmentId string

The OCID of the compartment.

compartment_id str

The OCID of the compartment.

compartmentId String

The OCID of the compartment.

getContainerConfiguration Result

The following output properties are available:

CompartmentId string
Id 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
Id 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
id 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
id 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
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
id 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.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.