Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.ContainerInstances.getContainerInstance
Explore with Pulumi AI
This data source provides details about a specific Container Instance resource in Oracle Cloud Infrastructure Container Instances service.
Gets information about the specified container instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testContainerInstance = oci.ContainerInstances.getContainerInstance({
containerInstanceId: testContainerInstanceOciContainerInstancesContainerInstance.id,
});
import pulumi
import pulumi_oci as oci
test_container_instance = oci.ContainerInstances.get_container_instance(container_instance_id=test_container_instance_oci_container_instances_container_instance["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ContainerInstances"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ContainerInstances.GetContainerInstance(ctx, &containerinstances.GetContainerInstanceArgs{
ContainerInstanceId: testContainerInstanceOciContainerInstancesContainerInstance.Id,
}, nil)
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 testContainerInstance = Oci.ContainerInstances.GetContainerInstance.Invoke(new()
{
ContainerInstanceId = testContainerInstanceOciContainerInstancesContainerInstance.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ContainerInstances.ContainerInstancesFunctions;
import com.pulumi.oci.ContainerInstances.inputs.GetContainerInstanceArgs;
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) {
final var testContainerInstance = ContainerInstancesFunctions.getContainerInstance(GetContainerInstanceArgs.builder()
.containerInstanceId(testContainerInstanceOciContainerInstancesContainerInstance.id())
.build());
}
}
variables:
testContainerInstance:
fn::invoke:
Function: oci:ContainerInstances:getContainerInstance
Arguments:
containerInstanceId: ${testContainerInstanceOciContainerInstancesContainerInstance.id}
Using getContainerInstance
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 getContainerInstance(args: GetContainerInstanceArgs, opts?: InvokeOptions): Promise<GetContainerInstanceResult>
function getContainerInstanceOutput(args: GetContainerInstanceOutputArgs, opts?: InvokeOptions): Output<GetContainerInstanceResult>
def get_container_instance(container_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContainerInstanceResult
def get_container_instance_output(container_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContainerInstanceResult]
func GetContainerInstance(ctx *Context, args *GetContainerInstanceArgs, opts ...InvokeOption) (*GetContainerInstanceResult, error)
func GetContainerInstanceOutput(ctx *Context, args *GetContainerInstanceOutputArgs, opts ...InvokeOption) GetContainerInstanceResultOutput
> Note: This function is named GetContainerInstance
in the Go SDK.
public static class GetContainerInstance
{
public static Task<GetContainerInstanceResult> InvokeAsync(GetContainerInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetContainerInstanceResult> Invoke(GetContainerInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContainerInstanceResult> getContainerInstance(GetContainerInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ContainerInstances/getContainerInstance:getContainerInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Container
Instance stringId - The OCID of the container instance.
- Container
Instance stringId - The OCID of the container instance.
- container
Instance StringId - The OCID of the container instance.
- container
Instance stringId - The OCID of the container instance.
- container_
instance_ strid - The OCID of the container instance.
- container
Instance StringId - The OCID of the container instance.
getContainerInstance Result
The following output properties are available:
- Availability
Domain string - The availability domain to place the container instance.
- Compartment
Id string - The OCID of the compartment.
- Container
Count int - The number of containers on the container instance.
- Container
Instance stringId - Container
Restart stringPolicy - The container restart policy is applied for all containers in container instance.
- Containers
List<Get
Container Instance Container> - The containers on the container instance.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dns
Configs List<GetContainer Instance Dns Config> - DNS settings for containers.
- Fault
Domain string - The fault domain to place the container instance.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Graceful
Shutdown stringTimeout In Seconds - The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted.
- Id string
- An OCID that cannot be changed.
- Image
Pull List<GetSecrets Container Instance Image Pull Secret> - The image pulls secrets so you can access private registry to pull container images.
- Lifecycle
Details string - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- Shape string
- The shape of the container instance. The shape determines the number of OCPUs, amount of memory, and other resources that are allocated to a container instance.
- Shape
Configs List<GetContainer Instance Shape Config> - The shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
- State string
- The current state of the container instance.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - Time
Created string - The time the container instance was created, in the format defined by RFC 3339.
- Time
Updated string - The time the container instance was updated, in the format defined by RFC 3339.
- Vnics
List<Get
Container Instance Vnic> - The virtual networks available to the containers in the container instance.
- Volume
Count int - The number of volumes that are attached to the container instance.
- Volumes
List<Get
Container Instance Volume> - A volume is a directory with data that is accessible across multiple containers in a container instance.
- Availability
Domain string - The availability domain to place the container instance.
- Compartment
Id string - The OCID of the compartment.
- Container
Count int - The number of containers on the container instance.
- Container
Instance stringId - Container
Restart stringPolicy - The container restart policy is applied for all containers in container instance.
- Containers
[]Get
Container Instance Container - The containers on the container instance.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dns
Configs []GetContainer Instance Dns Config - DNS settings for containers.
- Fault
Domain string - The fault domain to place the container instance.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Graceful
Shutdown stringTimeout In Seconds - The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted.
- Id string
- An OCID that cannot be changed.
- Image
Pull []GetSecrets Container Instance Image Pull Secret - The image pulls secrets so you can access private registry to pull container images.
- Lifecycle
Details string - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- Shape string
- The shape of the container instance. The shape determines the number of OCPUs, amount of memory, and other resources that are allocated to a container instance.
- Shape
Configs []GetContainer Instance Shape Config - The shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
- State string
- The current state of the container instance.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - Time
Created string - The time the container instance was created, in the format defined by RFC 3339.
- Time
Updated string - The time the container instance was updated, in the format defined by RFC 3339.
- Vnics
[]Get
Container Instance Vnic - The virtual networks available to the containers in the container instance.
- Volume
Count int - The number of volumes that are attached to the container instance.
- Volumes
[]Get
Container Instance Volume - A volume is a directory with data that is accessible across multiple containers in a container instance.
- availability
Domain String - The availability domain to place the container instance.
- compartment
Id String - The OCID of the compartment.
- container
Count Integer - The number of containers on the container instance.
- container
Instance StringId - container
Restart StringPolicy - The container restart policy is applied for all containers in container instance.
- containers
List<Get
Container Instance Container> - The containers on the container instance.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- dns
Configs List<GetContainer Instance Dns Config> - DNS settings for containers.
- fault
Domain String - The fault domain to place the container instance.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- graceful
Shutdown StringTimeout In Seconds - The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted.
- id String
- An OCID that cannot be changed.
- image
Pull List<GetSecrets Container Instance Image Pull Secret> - The image pulls secrets so you can access private registry to pull container images.
- lifecycle
Details String - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- shape String
- The shape of the container instance. The shape determines the number of OCPUs, amount of memory, and other resources that are allocated to a container instance.
- shape
Configs List<GetContainer Instance Shape Config> - The shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
- state String
- The current state of the container instance.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time
Created String - The time the container instance was created, in the format defined by RFC 3339.
- time
Updated String - The time the container instance was updated, in the format defined by RFC 3339.
- vnics
List<Get
Container Instance Vnic> - The virtual networks available to the containers in the container instance.
- volume
Count Integer - The number of volumes that are attached to the container instance.
- volumes
List<Get
Container Instance Volume> - A volume is a directory with data that is accessible across multiple containers in a container instance.
- availability
Domain string - The availability domain to place the container instance.
- compartment
Id string - The OCID of the compartment.
- container
Count number - The number of containers on the container instance.
- container
Instance stringId - container
Restart stringPolicy - The container restart policy is applied for all containers in container instance.
- containers
Get
Container Instance Container[] - The containers on the container instance.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- dns
Configs GetContainer Instance Dns Config[] - DNS settings for containers.
- fault
Domain string - The fault domain to place the container instance.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- graceful
Shutdown stringTimeout In Seconds - The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted.
- id string
- An OCID that cannot be changed.
- image
Pull GetSecrets Container Instance Image Pull Secret[] - The image pulls secrets so you can access private registry to pull container images.
- lifecycle
Details string - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- shape string
- The shape of the container instance. The shape determines the number of OCPUs, amount of memory, and other resources that are allocated to a container instance.
- shape
Configs GetContainer Instance Shape Config[] - The shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
- state string
- The current state of the container instance.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time
Created string - The time the container instance was created, in the format defined by RFC 3339.
- time
Updated string - The time the container instance was updated, in the format defined by RFC 3339.
- vnics
Get
Container Instance Vnic[] - The virtual networks available to the containers in the container instance.
- volume
Count number - The number of volumes that are attached to the container instance.
- volumes
Get
Container Instance Volume[] - A volume is a directory with data that is accessible across multiple containers in a container instance.
- availability_
domain str - The availability domain to place the container instance.
- compartment_
id str - The OCID of the compartment.
- container_
count int - The number of containers on the container instance.
- container_
instance_ strid - container_
restart_ strpolicy - The container restart policy is applied for all containers in container instance.
- containers
Sequence[containerinstances.
Get Container Instance Container] - The containers on the container instance.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- dns_
configs Sequence[containerinstances.Get Container Instance Dns Config] - DNS settings for containers.
- fault_
domain str - The fault domain to place the container instance.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- graceful_
shutdown_ strtimeout_ in_ seconds - The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted.
- id str
- An OCID that cannot be changed.
- image_
pull_ Sequence[containerinstances.secrets Get Container Instance Image Pull Secret] - The image pulls secrets so you can access private registry to pull container images.
- lifecycle_
details str - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- shape str
- The shape of the container instance. The shape determines the number of OCPUs, amount of memory, and other resources that are allocated to a container instance.
- shape_
configs Sequence[containerinstances.Get Container Instance Shape Config] - The shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
- state str
- The current state of the container instance.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time_
created str - The time the container instance was created, in the format defined by RFC 3339.
- time_
updated str - The time the container instance was updated, in the format defined by RFC 3339.
- vnics
Sequence[containerinstances.
Get Container Instance Vnic] - The virtual networks available to the containers in the container instance.
- volume_
count int - The number of volumes that are attached to the container instance.
- volumes
Sequence[containerinstances.
Get Container Instance Volume] - A volume is a directory with data that is accessible across multiple containers in a container instance.
- availability
Domain String - The availability domain to place the container instance.
- compartment
Id String - The OCID of the compartment.
- container
Count Number - The number of containers on the container instance.
- container
Instance StringId - container
Restart StringPolicy - The container restart policy is applied for all containers in container instance.
- containers List<Property Map>
- The containers on the container instance.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- dns
Configs List<Property Map> - DNS settings for containers.
- fault
Domain String - The fault domain to place the container instance.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- graceful
Shutdown StringTimeout In Seconds - The amount of time that processes in a container have to gracefully end when the container must be stopped. For example, when you delete a container instance. After the timeout is reached, the processes are sent a signal to be deleted.
- id String
- An OCID that cannot be changed.
- image
Pull List<Property Map>Secrets - The image pulls secrets so you can access private registry to pull container images.
- lifecycle
Details String - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- shape String
- The shape of the container instance. The shape determines the number of OCPUs, amount of memory, and other resources that are allocated to a container instance.
- shape
Configs List<Property Map> - The shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
- state String
- The current state of the container instance.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time
Created String - The time the container instance was created, in the format defined by RFC 3339.
- time
Updated String - The time the container instance was updated, in the format defined by RFC 3339.
- vnics List<Property Map>
- The virtual networks available to the containers in the container instance.
- volume
Count Number - The number of volumes that are attached to the container instance.
- volumes List<Property Map>
- A volume is a directory with data that is accessible across multiple containers in a container instance.
Supporting Types
GetContainerInstanceContainer
- Arguments List<string>
- Availability
Domain string - The availability domain to place the container instance.
- Commands List<string>
- Compartment
Id string - The OCID of the compartment.
- Container
Id string - The OCID of the container.
- Container
Instance stringId - The OCID of the container instance.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Environment
Variables Dictionary<string, string> - Exit
Code int - Fault
Domain string - The fault domain to place the container instance.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Health
Checks List<GetContainer Instance Container Health Check> - Image
Url string - Is
Resource boolPrincipal Disabled - Lifecycle
Details string - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- Resource
Configs List<GetContainer Instance Container Resource Config> - Security
Contexts List<GetContainer Instance Container Security Context> - State string
- The current state of the container instance.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - Time
Created string - The time the container instance was created, in the format defined by RFC 3339.
- Time
Terminated string - Time
Updated string - The time the container instance was updated, in the format defined by RFC 3339.
- Volume
Mounts List<GetContainer Instance Container Volume Mount> - Working
Directory string
- Arguments []string
- Availability
Domain string - The availability domain to place the container instance.
- Commands []string
- Compartment
Id string - The OCID of the compartment.
- Container
Id string - The OCID of the container.
- Container
Instance stringId - The OCID of the container instance.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Environment
Variables map[string]string - Exit
Code int - Fault
Domain string - The fault domain to place the container instance.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Health
Checks []GetContainer Instance Container Health Check - Image
Url string - Is
Resource boolPrincipal Disabled - Lifecycle
Details string - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- Resource
Configs []GetContainer Instance Container Resource Config - Security
Contexts []GetContainer Instance Container Security Context - State string
- The current state of the container instance.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - Time
Created string - The time the container instance was created, in the format defined by RFC 3339.
- Time
Terminated string - Time
Updated string - The time the container instance was updated, in the format defined by RFC 3339.
- Volume
Mounts []GetContainer Instance Container Volume Mount - Working
Directory string
- arguments List<String>
- availability
Domain String - The availability domain to place the container instance.
- commands List<String>
- compartment
Id String - The OCID of the compartment.
- container
Id String - The OCID of the container.
- container
Instance StringId - The OCID of the container instance.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- environment
Variables Map<String,String> - exit
Code Integer - fault
Domain String - The fault domain to place the container instance.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- health
Checks List<GetContainer Instance Container Health Check> - image
Url String - is
Resource BooleanPrincipal Disabled - lifecycle
Details String - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- resource
Configs List<GetContainer Instance Container Resource Config> - security
Contexts List<GetContainer Instance Container Security Context> - state String
- The current state of the container instance.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time
Created String - The time the container instance was created, in the format defined by RFC 3339.
- time
Terminated String - time
Updated String - The time the container instance was updated, in the format defined by RFC 3339.
- volume
Mounts List<GetContainer Instance Container Volume Mount> - working
Directory String
- arguments string[]
- availability
Domain string - The availability domain to place the container instance.
- commands string[]
- compartment
Id string - The OCID of the compartment.
- container
Id string - The OCID of the container.
- container
Instance stringId - The OCID of the container instance.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- environment
Variables {[key: string]: string} - exit
Code number - fault
Domain string - The fault domain to place the container instance.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- health
Checks GetContainer Instance Container Health Check[] - image
Url string - is
Resource booleanPrincipal Disabled - lifecycle
Details string - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- resource
Configs GetContainer Instance Container Resource Config[] - security
Contexts GetContainer Instance Container Security Context[] - state string
- The current state of the container instance.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time
Created string - The time the container instance was created, in the format defined by RFC 3339.
- time
Terminated string - time
Updated string - The time the container instance was updated, in the format defined by RFC 3339.
- volume
Mounts GetContainer Instance Container Volume Mount[] - working
Directory string
- arguments Sequence[str]
- availability_
domain str - The availability domain to place the container instance.
- commands Sequence[str]
- compartment_
id str - The OCID of the compartment.
- container_
id str - The OCID of the container.
- container_
instance_ strid - The OCID of the container instance.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- environment_
variables Mapping[str, str] - exit_
code int - fault_
domain str - The fault domain to place the container instance.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- health_
checks Sequence[containerinstances.Get Container Instance Container Health Check] - image_
url str - is_
resource_ boolprincipal_ disabled - lifecycle_
details str - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- resource_
configs Sequence[containerinstances.Get Container Instance Container Resource Config] - security_
contexts Sequence[containerinstances.Get Container Instance Container Security Context] - state str
- The current state of the container instance.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time_
created str - The time the container instance was created, in the format defined by RFC 3339.
- time_
terminated str - time_
updated str - The time the container instance was updated, in the format defined by RFC 3339.
- volume_
mounts Sequence[containerinstances.Get Container Instance Container Volume Mount] - working_
directory str
- arguments List<String>
- availability
Domain String - The availability domain to place the container instance.
- commands List<String>
- compartment
Id String - The OCID of the compartment.
- container
Id String - The OCID of the container.
- container
Instance StringId - The OCID of the container instance.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- environment
Variables Map<String> - exit
Code Number - fault
Domain String - The fault domain to place the container instance.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- health
Checks List<Property Map> - image
Url String - is
Resource BooleanPrincipal Disabled - lifecycle
Details String - A message that describes the current state of the container in more detail. Can be used to provide actionable information.
- resource
Configs List<Property Map> - security
Contexts List<Property Map> - state String
- The current state of the container instance.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
. - time
Created String - The time the container instance was created, in the format defined by RFC 3339.
- time
Terminated String - time
Updated String - The time the container instance was updated, in the format defined by RFC 3339.
- volume
Mounts List<Property Map> - working
Directory String
GetContainerInstanceContainerHealthCheck
- Commands List<string>
- Failure
Action string - Failure
Threshold int - Headers
List<Get
Container Instance Container Health Check Header> - Health
Check stringType - Initial
Delay intIn Seconds - Interval
In intSeconds - Name string
- The name of the volume. This must be unique within a single container instance.
- Path string
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- Port int
- Status string
- Status
Details string - Success
Threshold int - Timeout
In intSeconds
- Commands []string
- Failure
Action string - Failure
Threshold int - Headers
[]Get
Container Instance Container Health Check Header - Health
Check stringType - Initial
Delay intIn Seconds - Interval
In intSeconds - Name string
- The name of the volume. This must be unique within a single container instance.
- Path string
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- Port int
- Status string
- Status
Details string - Success
Threshold int - Timeout
In intSeconds
- commands List<String>
- failure
Action String - failure
Threshold Integer - headers
List<Get
Container Instance Container Health Check Header> - health
Check StringType - initial
Delay IntegerIn Seconds - interval
In IntegerSeconds - name String
- The name of the volume. This must be unique within a single container instance.
- path String
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- port Integer
- status String
- status
Details String - success
Threshold Integer - timeout
In IntegerSeconds
- commands string[]
- failure
Action string - failure
Threshold number - headers
Get
Container Instance Container Health Check Header[] - health
Check stringType - initial
Delay numberIn Seconds - interval
In numberSeconds - name string
- The name of the volume. This must be unique within a single container instance.
- path string
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- port number
- status string
- status
Details string - success
Threshold number - timeout
In numberSeconds
- commands Sequence[str]
- failure_
action str - failure_
threshold int - headers
Sequence[containerinstances.
Get Container Instance Container Health Check Header] - health_
check_ strtype - initial_
delay_ intin_ seconds - interval_
in_ intseconds - name str
- The name of the volume. This must be unique within a single container instance.
- path str
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- port int
- status str
- status_
details str - success_
threshold int - timeout_
in_ intseconds
- commands List<String>
- failure
Action String - failure
Threshold Number - headers List<Property Map>
- health
Check StringType - initial
Delay NumberIn Seconds - interval
In NumberSeconds - name String
- The name of the volume. This must be unique within a single container instance.
- path String
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- port Number
- status String
- status
Details String - success
Threshold Number - timeout
In NumberSeconds
GetContainerInstanceContainerHealthCheckHeader
GetContainerInstanceContainerResourceConfig
- Memory
Limit doubleIn Gbs - Vcpus
Limit double
- Memory
Limit float64In Gbs - Vcpus
Limit float64
- memory
Limit DoubleIn Gbs - vcpus
Limit Double
- memory
Limit numberIn Gbs - vcpus
Limit number
- memory_
limit_ floatin_ gbs - vcpus_
limit float
- memory
Limit NumberIn Gbs - vcpus
Limit Number
GetContainerInstanceContainerSecurityContext
- capabilities
List<Get
Container Instance Container Security Context Capability> - is
Non BooleanRoot User Check Enabled - is
Root BooleanFile System Readonly - run
As IntegerGroup - run
As IntegerUser - security
Context StringType
- capabilities List<Property Map>
- is
Non BooleanRoot User Check Enabled - is
Root BooleanFile System Readonly - run
As NumberGroup - run
As NumberUser - security
Context StringType
GetContainerInstanceContainerSecurityContextCapability
- Add
Capabilities List<string> - Drop
Capabilities List<string>
- Add
Capabilities []string - Drop
Capabilities []string
- add
Capabilities List<String> - drop
Capabilities List<String>
- add
Capabilities string[] - drop
Capabilities string[]
- add_
capabilities Sequence[str] - drop_
capabilities Sequence[str]
- add
Capabilities List<String> - drop
Capabilities List<String>
GetContainerInstanceContainerVolumeMount
- Is
Read boolOnly - Mount
Path string - Partition int
- Sub
Path string - Volume
Name string
- Is
Read boolOnly - Mount
Path string - Partition int
- Sub
Path string - Volume
Name string
- is
Read BooleanOnly - mount
Path String - partition Integer
- sub
Path String - volume
Name String
- is
Read booleanOnly - mount
Path string - partition number
- sub
Path string - volume
Name string
- is_
read_ boolonly - mount_
path str - partition int
- sub_
path str - volume_
name str
- is
Read BooleanOnly - mount
Path String - partition Number
- sub
Path String - volume
Name String
GetContainerInstanceDnsConfig
- Nameservers List<string>
- IP address of the name server..
- Options List<string>
- Options allows certain internal resolver variables to be modified.
- Searches List<string>
- Search list for hostname lookup.
- Nameservers []string
- IP address of the name server..
- Options []string
- Options allows certain internal resolver variables to be modified.
- Searches []string
- Search list for hostname lookup.
- nameservers List<String>
- IP address of the name server..
- options List<String>
- Options allows certain internal resolver variables to be modified.
- searches List<String>
- Search list for hostname lookup.
- nameservers string[]
- IP address of the name server..
- options string[]
- Options allows certain internal resolver variables to be modified.
- searches string[]
- Search list for hostname lookup.
- nameservers Sequence[str]
- IP address of the name server..
- options Sequence[str]
- Options allows certain internal resolver variables to be modified.
- searches Sequence[str]
- Search list for hostname lookup.
- nameservers List<String>
- IP address of the name server..
- options List<String>
- Options allows certain internal resolver variables to be modified.
- searches List<String>
- Search list for hostname lookup.
GetContainerInstanceImagePullSecret
- Password string
- Registry
Endpoint string - The registry endpoint of the container image.
- Secret
Id string - The OCID of the secret for registry credentials.
- Secret
Type string - The type of ImagePullSecret.
- Username string
- Password string
- Registry
Endpoint string - The registry endpoint of the container image.
- Secret
Id string - The OCID of the secret for registry credentials.
- Secret
Type string - The type of ImagePullSecret.
- Username string
- password String
- registry
Endpoint String - The registry endpoint of the container image.
- secret
Id String - The OCID of the secret for registry credentials.
- secret
Type String - The type of ImagePullSecret.
- username String
- password string
- registry
Endpoint string - The registry endpoint of the container image.
- secret
Id string - The OCID of the secret for registry credentials.
- secret
Type string - The type of ImagePullSecret.
- username string
- password str
- registry_
endpoint str - The registry endpoint of the container image.
- secret_
id str - The OCID of the secret for registry credentials.
- secret_
type str - The type of ImagePullSecret.
- username str
- password String
- registry
Endpoint String - The registry endpoint of the container image.
- secret
Id String - The OCID of the secret for registry credentials.
- secret
Type String - The type of ImagePullSecret.
- username String
GetContainerInstanceShapeConfig
- Memory
In doubleGbs - The total amount of memory available to the container instance, in gigabytes.
- Networking
Bandwidth doubleIn Gbps - The networking bandwidth available to the container instance, in gigabits per second.
- Ocpus double
- The total number of OCPUs available to the container instance.
- Processor
Description string - A short description of the container instance's processor (CPU).
- Memory
In float64Gbs - The total amount of memory available to the container instance, in gigabytes.
- Networking
Bandwidth float64In Gbps - The networking bandwidth available to the container instance, in gigabits per second.
- Ocpus float64
- The total number of OCPUs available to the container instance.
- Processor
Description string - A short description of the container instance's processor (CPU).
- memory
In DoubleGbs - The total amount of memory available to the container instance, in gigabytes.
- networking
Bandwidth DoubleIn Gbps - The networking bandwidth available to the container instance, in gigabits per second.
- ocpus Double
- The total number of OCPUs available to the container instance.
- processor
Description String - A short description of the container instance's processor (CPU).
- memory
In numberGbs - The total amount of memory available to the container instance, in gigabytes.
- networking
Bandwidth numberIn Gbps - The networking bandwidth available to the container instance, in gigabits per second.
- ocpus number
- The total number of OCPUs available to the container instance.
- processor
Description string - A short description of the container instance's processor (CPU).
- memory_
in_ floatgbs - The total amount of memory available to the container instance, in gigabytes.
- networking_
bandwidth_ floatin_ gbps - The networking bandwidth available to the container instance, in gigabits per second.
- ocpus float
- The total number of OCPUs available to the container instance.
- processor_
description str - A short description of the container instance's processor (CPU).
- memory
In NumberGbs - The total amount of memory available to the container instance, in gigabytes.
- networking
Bandwidth NumberIn Gbps - The networking bandwidth available to the container instance, in gigabits per second.
- ocpus Number
- The total number of OCPUs available to the container instance.
- processor
Description String - A short description of the container instance's processor (CPU).
GetContainerInstanceVnic
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Hostname
Label string - Is
Public boolIp Assigned - Nsg
Ids List<string> - Private
Ip string - Skip
Source boolDest Check - Subnet
Id string - Vnic
Id string - The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Hostname
Label string - Is
Public boolIp Assigned - Nsg
Ids []string - Private
Ip string - Skip
Source boolDest Check - Subnet
Id string - Vnic
Id string - The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname
Label String - is
Public BooleanIp Assigned - nsg
Ids List<String> - private
Ip String - skip
Source BooleanDest Check - subnet
Id String - vnic
Id String - The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname
Label string - is
Public booleanIp Assigned - nsg
Ids string[] - private
Ip string - skip
Source booleanDest Check - subnet
Id string - vnic
Id string - The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname_
label str - is_
public_ boolip_ assigned - nsg_
ids Sequence[str] - private_
ip str - skip_
source_ booldest_ check - subnet_
id str - vnic_
id str - The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
. - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- hostname
Label String - is
Public BooleanIp Assigned - nsg
Ids List<String> - private
Ip String - skip
Source BooleanDest Check - subnet
Id String - vnic
Id String - The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network.
GetContainerInstanceVolume
- Backing
Store string - The volume type of the empty directory, can be either File Storage or Memory.
- Configs
List<Get
Container Instance Volume Config> - Contains string key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount.
- Name string
- The name of the volume. This must be unique within a single container instance.
- Volume
Type string - The type of volume.
- Backing
Store string - The volume type of the empty directory, can be either File Storage or Memory.
- Configs
[]Get
Container Instance Volume Config - Contains string key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount.
- Name string
- The name of the volume. This must be unique within a single container instance.
- Volume
Type string - The type of volume.
- backing
Store String - The volume type of the empty directory, can be either File Storage or Memory.
- configs
List<Get
Container Instance Volume Config> - Contains string key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount.
- name String
- The name of the volume. This must be unique within a single container instance.
- volume
Type String - The type of volume.
- backing
Store string - The volume type of the empty directory, can be either File Storage or Memory.
- configs
Get
Container Instance Volume Config[] - Contains string key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount.
- name string
- The name of the volume. This must be unique within a single container instance.
- volume
Type string - The type of volume.
- backing_
store str - The volume type of the empty directory, can be either File Storage or Memory.
- configs
Sequence[containerinstances.
Get Container Instance Volume Config] - Contains string key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount.
- name str
- The name of the volume. This must be unique within a single container instance.
- volume_
type str - The type of volume.
- backing
Store String - The volume type of the empty directory, can be either File Storage or Memory.
- configs List<Property Map>
- Contains string key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount.
- name String
- The name of the volume. This must be unique within a single container instance.
- volume
Type String - The type of volume.
GetContainerInstanceVolumeConfig
- Data string
- The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance.
- File
Name string - The name of the file. The fileName should be unique across the volume.
- Path string
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- Data string
- The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance.
- File
Name string - The name of the file. The fileName should be unique across the volume.
- Path string
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- data String
- The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance.
- file
Name String - The name of the file. The fileName should be unique across the volume.
- path String
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- data string
- The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance.
- file
Name string - The name of the file. The fileName should be unique across the volume.
- path string
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- data str
- The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance.
- file_
name str - The name of the file. The fileName should be unique across the volume.
- path str
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
- data String
- The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance.
- file
Name String - The name of the file. The fileName should be unique across the volume.
- path String
- (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.