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 a ContainerInstance by identifier
Example Usage
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 = oci_container_instances_container_instance.Test_container_instance.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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: oci_container_instances_container_instance.Test_container_instance.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
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(oci_container_instances_container_instance.test_container_instance().id())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_container_instance = oci.ContainerInstances.get_container_instance(container_instance_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testContainerInstance = oci.ContainerInstances.getContainerInstance({
containerInstanceId: oci_container_instances_container_instance.test_container_instance.id,
});
variables:
testContainerInstance:
fn::invoke:
Function: oci:ContainerInstances:getContainerInstance
Arguments:
containerInstanceId: ${oci_container_instances_container_instance.test_container_instance.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 system-generated unique identifier for the ContainerInstance.
- Container
Instance stringId The system-generated unique identifier for the ContainerInstance.
- container
Instance StringId The system-generated unique identifier for the ContainerInstance.
- container
Instance stringId The system-generated unique identifier for the ContainerInstance.
- container_
instance_ strid The system-generated unique identifier for the ContainerInstance.
- container
Instance StringId The system-generated unique identifier for the ContainerInstance.
getContainerInstance Result
The following output properties are available:
- Availability
Domain string Availability Domain where the ContainerInstance is running.
- Compartment
Id string Compartment Identifier
- Container
Count int The number of containers on this 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 this Instance
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Display name for the ContainerInstance. Can be renamed.
- Dns
Configs List<GetContainer Instance Dns Config> DNS settings for containers.
- Fault
Domain string Fault Domain where the ContainerInstance is running.
- Dictionary<string, object>
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 Duration in seconds processes within a Container have to gracefully terminate. This applies whenever a Container must be halted, such as when the Container Instance is deleted. Processes will first be sent a termination signal. After this timeout is reached, the processes will be sent a termination signal.
- Id string
Unique identifier that is immutable on creation
- Image
Pull List<GetSecrets Container Instance Image Pull Secret> The image pull secrets for accessing private registry to pull images for containers
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Shape string
The shape of the Container Instance. The shape determines the resources available to the Container Instance.
- Shape
Configs List<GetContainer Instance Shape Config> The shape configuration for a Container Instance. The shape configuration determines the resources allocated to the Instance and it's containers.
- State string
The current state of the ContainerInstance.
- Dictionary<string, object>
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- Time
Updated string The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- Vnics
List<Get
Container Instance Vnic> The virtual networks available to containers running on this Container Instance.
- Volume
Count int The number of volumes that attached to this Instance
- Volumes
List<Get
Container Instance Volume> A Volume represents a directory with data that is accessible across multiple containers in a ContainerInstance.
- Availability
Domain string Availability Domain where the ContainerInstance is running.
- Compartment
Id string Compartment Identifier
- Container
Count int The number of containers on this 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 this Instance
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Display name for the ContainerInstance. Can be renamed.
- Dns
Configs []GetContainer Instance Dns Config DNS settings for containers.
- Fault
Domain string Fault Domain where the ContainerInstance is running.
- map[string]interface{}
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 Duration in seconds processes within a Container have to gracefully terminate. This applies whenever a Container must be halted, such as when the Container Instance is deleted. Processes will first be sent a termination signal. After this timeout is reached, the processes will be sent a termination signal.
- Id string
Unique identifier that is immutable on creation
- Image
Pull []GetSecrets Container Instance Image Pull Secret The image pull secrets for accessing private registry to pull images for containers
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Shape string
The shape of the Container Instance. The shape determines the resources available to the Container Instance.
- Shape
Configs []GetContainer Instance Shape Config The shape configuration for a Container Instance. The shape configuration determines the resources allocated to the Instance and it's containers.
- State string
The current state of the ContainerInstance.
- map[string]interface{}
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- Time
Updated string The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- Vnics
[]Get
Container Instance Vnic The virtual networks available to containers running on this Container Instance.
- Volume
Count int The number of volumes that attached to this Instance
- Volumes
[]Get
Container Instance Volume A Volume represents a directory with data that is accessible across multiple containers in a ContainerInstance.
- availability
Domain String Availability Domain where the ContainerInstance is running.
- compartment
Id String Compartment Identifier
- container
Count Integer The number of containers on this 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 this Instance
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Display name for the ContainerInstance. Can be renamed.
- dns
Configs List<GetContainer Instance Dns Config> DNS settings for containers.
- fault
Domain String Fault Domain where the ContainerInstance is running.
- Map<String,Object>
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 Duration in seconds processes within a Container have to gracefully terminate. This applies whenever a Container must be halted, such as when the Container Instance is deleted. Processes will first be sent a termination signal. After this timeout is reached, the processes will be sent a termination signal.
- id String
Unique identifier that is immutable on creation
- image
Pull List<GetSecrets Container Instance Image Pull Secret> The image pull secrets for accessing private registry to pull images for containers
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape String
The shape of the Container Instance. The shape determines the resources available to the Container Instance.
- shape
Configs List<GetContainer Instance Shape Config> The shape configuration for a Container Instance. The shape configuration determines the resources allocated to the Instance and it's containers.
- state String
The current state of the ContainerInstance.
- Map<String,Object>
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time
Updated String The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- vnics
List<Get
Container Instance Vnic> The virtual networks available to containers running on this Container Instance.
- volume
Count Integer The number of volumes that attached to this Instance
- volumes
List<Get
Container Instance Volume> A Volume represents a directory with data that is accessible across multiple containers in a ContainerInstance.
- availability
Domain string Availability Domain where the ContainerInstance is running.
- compartment
Id string Compartment Identifier
- container
Count number The number of containers on this 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 this Instance
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string Display name for the ContainerInstance. Can be renamed.
- dns
Configs GetContainer Instance Dns Config[] DNS settings for containers.
- fault
Domain string Fault Domain where the ContainerInstance is running.
- {[key: string]: any}
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 Duration in seconds processes within a Container have to gracefully terminate. This applies whenever a Container must be halted, such as when the Container Instance is deleted. Processes will first be sent a termination signal. After this timeout is reached, the processes will be sent a termination signal.
- id string
Unique identifier that is immutable on creation
- image
Pull GetSecrets Container Instance Image Pull Secret[] The image pull secrets for accessing private registry to pull images for containers
- lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape string
The shape of the Container Instance. The shape determines the resources available to the Container Instance.
- shape
Configs GetContainer Instance Shape Config[] The shape configuration for a Container Instance. The shape configuration determines the resources allocated to the Instance and it's containers.
- state string
The current state of the ContainerInstance.
- {[key: string]: any}
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time
Updated string The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- vnics
Get
Container Instance Vnic[] The virtual networks available to containers running on this Container Instance.
- volume
Count number The number of volumes that attached to this Instance
- volumes
Get
Container Instance Volume[] A Volume represents a directory with data that is accessible across multiple containers in a ContainerInstance.
- availability_
domain str Availability Domain where the ContainerInstance is running.
- compartment_
id str Compartment Identifier
- container_
count int The number of containers on this Instance
- container_
instance_ strid - container_
restart_ strpolicy The container restart policy is applied for all containers in container instance.
- containers
Get
Container Instance Container] The Containers on this Instance
- Mapping[str, Any]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str Display name for the ContainerInstance. Can be renamed.
- dns_
configs GetContainer Instance Dns Config] DNS settings for containers.
- fault_
domain str Fault Domain where the ContainerInstance is running.
- Mapping[str, Any]
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 Duration in seconds processes within a Container have to gracefully terminate. This applies whenever a Container must be halted, such as when the Container Instance is deleted. Processes will first be sent a termination signal. After this timeout is reached, the processes will be sent a termination signal.
- id str
Unique identifier that is immutable on creation
- image_
pull_ Getsecrets Container Instance Image Pull Secret] The image pull secrets for accessing private registry to pull images for containers
- lifecycle_
details str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape str
The shape of the Container Instance. The shape determines the resources available to the Container Instance.
- shape_
configs GetContainer Instance Shape Config] The shape configuration for a Container Instance. The shape configuration determines the resources allocated to the Instance and it's containers.
- state str
The current state of the ContainerInstance.
- Mapping[str, Any]
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time_
updated str The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- vnics
Get
Container Instance Vnic] The virtual networks available to containers running on this Container Instance.
- volume_
count int The number of volumes that attached to this Instance
- volumes
Get
Container Instance Volume] A Volume represents a directory with data that is accessible across multiple containers in a ContainerInstance.
- availability
Domain String Availability Domain where the ContainerInstance is running.
- compartment
Id String Compartment Identifier
- container
Count Number The number of containers on this 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 this Instance
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Display name for the ContainerInstance. Can be renamed.
- dns
Configs List<Property Map> DNS settings for containers.
- fault
Domain String Fault Domain where the ContainerInstance is running.
- Map<Any>
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 Duration in seconds processes within a Container have to gracefully terminate. This applies whenever a Container must be halted, such as when the Container Instance is deleted. Processes will first be sent a termination signal. After this timeout is reached, the processes will be sent a termination signal.
- id String
Unique identifier that is immutable on creation
- image
Pull List<Property Map>Secrets The image pull secrets for accessing private registry to pull images for containers
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- shape String
The shape of the Container Instance. The shape determines the resources available to the Container Instance.
- shape
Configs List<Property Map> The shape configuration for a Container Instance. The shape configuration determines the resources allocated to the Instance and it's containers.
- state String
The current state of the ContainerInstance.
- Map<Any>
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time
Updated String The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- vnics List<Property Map>
The virtual networks available to containers running on this Container Instance.
- volume
Count Number The number of volumes that attached to this Instance
- volumes List<Property Map>
A Volume represents a directory with data that is accessible across multiple containers in a ContainerInstance.
Supporting Types
GetContainerInstanceContainer
- Additional
Capabilities List<string> - Arguments List<string>
- Availability
Domain string Availability Domain where the ContainerInstance is running.
- Commands List<string>
- Compartment
Id string Compartment Identifier
- Container
Id string The ID of the Container on this Instance.
- Container
Instance stringId The system-generated unique identifier for the ContainerInstance.
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Display name for the ContainerInstance. Can be renamed.
- Environment
Variables Dictionary<string, object> - Exit
Code int - Fault
Domain string Fault Domain where the ContainerInstance is running.
- Dictionary<string, object>
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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Configs List<GetContainer Instance Container Resource Config> - State string
The current state of the ContainerInstance.
- Dictionary<string, object>
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- Time
Terminated string - Time
Updated string The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- Volume
Mounts List<GetContainer Instance Container Volume Mount> - Working
Directory string
- Additional
Capabilities []string - Arguments []string
- Availability
Domain string Availability Domain where the ContainerInstance is running.
- Commands []string
- Compartment
Id string Compartment Identifier
- Container
Id string The ID of the Container on this Instance.
- Container
Instance stringId The system-generated unique identifier for the ContainerInstance.
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Display name for the ContainerInstance. Can be renamed.
- Environment
Variables map[string]interface{} - Exit
Code int - Fault
Domain string Fault Domain where the ContainerInstance is running.
- map[string]interface{}
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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Resource
Configs []GetContainer Instance Container Resource Config - State string
The current state of the ContainerInstance.
- map[string]interface{}
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- Time
Terminated string - Time
Updated string The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- Volume
Mounts []GetContainer Instance Container Volume Mount - Working
Directory string
- additional
Capabilities List<String> - arguments List<String>
- availability
Domain String Availability Domain where the ContainerInstance is running.
- commands List<String>
- compartment
Id String Compartment Identifier
- container
Id String The ID of the Container on this Instance.
- container
Instance StringId The system-generated unique identifier for the ContainerInstance.
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Display name for the ContainerInstance. Can be renamed.
- environment
Variables Map<String,Object> - exit
Code Integer - fault
Domain String Fault Domain where the ContainerInstance is running.
- Map<String,Object>
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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Configs List<GetContainer Instance Container Resource Config> - state String
The current state of the ContainerInstance.
- Map<String,Object>
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time
Terminated String - time
Updated String The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- volume
Mounts List<GetContainer Instance Container Volume Mount> - working
Directory String
- additional
Capabilities string[] - arguments string[]
- availability
Domain string Availability Domain where the ContainerInstance is running.
- commands string[]
- compartment
Id string Compartment Identifier
- container
Id string The ID of the Container on this Instance.
- container
Instance stringId The system-generated unique identifier for the ContainerInstance.
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string Display name for the ContainerInstance. Can be renamed.
- environment
Variables {[key: string]: any} - exit
Code number - fault
Domain string Fault Domain where the ContainerInstance is running.
- {[key: string]: any}
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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Configs GetContainer Instance Container Resource Config[] - state string
The current state of the ContainerInstance.
- {[key: string]: any}
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time
Terminated string - time
Updated string The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- volume
Mounts GetContainer Instance Container Volume Mount[] - working
Directory string
- additional_
capabilities Sequence[str] - arguments Sequence[str]
- availability_
domain str Availability Domain where the ContainerInstance is running.
- commands Sequence[str]
- compartment_
id str Compartment Identifier
- container_
id str The ID of the Container on this Instance.
- container_
instance_ strid The system-generated unique identifier for the ContainerInstance.
- Mapping[str, Any]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str Display name for the ContainerInstance. Can be renamed.
- environment_
variables Mapping[str, Any] - exit_
code int - fault_
domain str Fault Domain where the ContainerInstance is running.
- Mapping[str, Any]
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 str - is_
resource_ boolprincipal_ disabled - lifecycle_
details str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource_
configs GetContainer Instance Container Resource Config] - state str
The current state of the ContainerInstance.
- Mapping[str, Any]
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time_
terminated str - time_
updated str The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- volume_
mounts GetContainer Instance Container Volume Mount] - working_
directory str
- additional
Capabilities List<String> - arguments List<String>
- availability
Domain String Availability Domain where the ContainerInstance is running.
- commands List<String>
- compartment
Id String Compartment Identifier
- container
Id String The ID of the Container on this Instance.
- container
Instance StringId The system-generated unique identifier for the ContainerInstance.
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Display name for the ContainerInstance. Can be renamed.
- environment
Variables Map<Any> - exit
Code Number - fault
Domain String Fault Domain where the ContainerInstance is running.
- Map<Any>
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 describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- resource
Configs List<Property Map> - state String
The current state of the ContainerInstance.
- Map<Any>
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 the ContainerInstance was created. An RFC3339 formatted datetime string
- time
Terminated String - time
Updated String The time the ContainerInstance was updated. An RFC3339 formatted datetime string
- 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 has be unique cross single ContainerInstance.
- 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 has be unique cross single ContainerInstance.
- 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 has be unique cross single ContainerInstance.
- 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 has be unique cross single ContainerInstance.
- 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
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 has be unique cross single ContainerInstance.
- 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 has be unique cross single ContainerInstance.
- 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
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>
Name server IP address
- Options List<string>
Options allows certain internal resolver variables to be modified.
- Searches List<string>
Search list for host-name lookup.
- Nameservers []string
Name server IP address
- Options []string
Options allows certain internal resolver variables to be modified.
- Searches []string
Search list for host-name lookup.
- nameservers List<String>
Name server IP address
- options List<String>
Options allows certain internal resolver variables to be modified.
- searches List<String>
Search list for host-name lookup.
- nameservers string[]
Name server IP address
- options string[]
Options allows certain internal resolver variables to be modified.
- searches string[]
Search list for host-name lookup.
- nameservers Sequence[str]
Name server IP address
- options Sequence[str]
Options allows certain internal resolver variables to be modified.
- searches Sequence[str]
Search list for host-name lookup.
- nameservers List<String>
Name server IP address
- options List<String>
Options allows certain internal resolver variables to be modified.
- searches List<String>
Search list for host-name 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 instance, in gigabytes.
- Networking
Bandwidth doubleIn Gbps The networking bandwidth available to the instance, in gigabits per second.
- Ocpus double
The total number of OCPUs available to the instance.
- Processor
Description string A short description of the instance's processor (CPU).
- Memory
In float64Gbs The total amount of memory available to the instance, in gigabytes.
- Networking
Bandwidth float64In Gbps The networking bandwidth available to the instance, in gigabits per second.
- Ocpus float64
The total number of OCPUs available to the instance.
- Processor
Description string A short description of the instance's processor (CPU).
- memory
In DoubleGbs The total amount of memory available to the instance, in gigabytes.
- networking
Bandwidth DoubleIn Gbps The networking bandwidth available to the instance, in gigabits per second.
- ocpus Double
The total number of OCPUs available to the instance.
- processor
Description String A short description of the instance's processor (CPU).
- memory
In numberGbs The total amount of memory available to the instance, in gigabytes.
- networking
Bandwidth numberIn Gbps The networking bandwidth available to the instance, in gigabits per second.
- ocpus number
The total number of OCPUs available to the instance.
- processor
Description string A short description of the instance's processor (CPU).
- memory_
in_ floatgbs The total amount of memory available to the instance, in gigabytes.
- networking_
bandwidth_ floatin_ gbps The networking bandwidth available to the instance, in gigabits per second.
- ocpus float
The total number of OCPUs available to the instance.
- processor_
description str A short description of the instance's processor (CPU).
- memory
In NumberGbs The total amount of memory available to the instance, in gigabytes.
- networking
Bandwidth NumberIn Gbps The networking bandwidth available to the instance, in gigabits per second.
- ocpus Number
The total number of OCPUs available to the instance.
- processor
Description String A short description of the instance's processor (CPU).
GetContainerInstanceVnic
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Display name for the ContainerInstance. Can be renamed.
- Dictionary<string, object>
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 ID of the Virtual Network Interface Card (VNIC) over which Containers accessing this network can communicate with the larger Virtual Client Network.
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string Display name for the ContainerInstance. Can be renamed.
- map[string]interface{}
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 ID of the Virtual Network Interface Card (VNIC) over which Containers accessing this network can communicate with the larger Virtual Client Network.
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Display name for the ContainerInstance. Can be renamed.
- Map<String,Object>
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 ID of the Virtual Network Interface Card (VNIC) over which Containers accessing this network can communicate with the larger Virtual Client Network.
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string Display name for the ContainerInstance. Can be renamed.
- {[key: string]: any}
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 ID of the Virtual Network Interface Card (VNIC) over which Containers accessing this network can communicate with the larger Virtual Client Network.
- Mapping[str, Any]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str Display name for the ContainerInstance. Can be renamed.
- Mapping[str, Any]
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 ID of the Virtual Network Interface Card (VNIC) over which Containers accessing this network can communicate with the larger Virtual Client Network.
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String Display name for the ContainerInstance. Can be renamed.
- Map<Any>
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 ID of the Virtual Network Interface Card (VNIC) over which Containers accessing this network can communicate with the larger Virtual Client Network.
GetContainerInstanceVolume
- Backing
Store string Volume type that we are using for empty dir where it could 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 has be unique cross single ContainerInstance.
- Volume
Type string The type of volume.
- Backing
Store string Volume type that we are using for empty dir where it could 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 has be unique cross single ContainerInstance.
- Volume
Type string The type of volume.
- backing
Store String Volume type that we are using for empty dir where it could 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 has be unique cross single ContainerInstance.
- volume
Type String The type of volume.
- backing
Store string Volume type that we are using for empty dir where it could 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 has be unique cross single ContainerInstance.
- volume
Type string The type of volume.
- backing_
store str Volume type that we are using for empty dir where it could 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 str
The name of the volume. This has be unique cross single ContainerInstance.
- volume_
type str The type of volume.
- backing
Store String Volume type that we are using for empty dir where it could 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 has be unique cross single ContainerInstance.
- 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.