1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ContainerInstances
  5. getContainerInstances
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi

oci.ContainerInstances.getContainerInstances

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi

    This data source provides the list of Container Instances in Oracle Cloud Infrastructure Container Instances service.

    Returns a list of container instances.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testContainerInstances = oci.ContainerInstances.getContainerInstances({
        compartmentId: compartmentId,
        availabilityDomain: containerInstanceAvailabilityDomain,
        displayName: containerInstanceDisplayName,
        state: containerInstanceState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_container_instances = oci.ContainerInstances.get_container_instances(compartment_id=compartment_id,
        availability_domain=container_instance_availability_domain,
        display_name=container_instance_display_name,
        state=container_instance_state)
    
    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.GetContainerInstances(ctx, &containerinstances.GetContainerInstancesArgs{
    			CompartmentId:      compartmentId,
    			AvailabilityDomain: pulumi.StringRef(containerInstanceAvailabilityDomain),
    			DisplayName:        pulumi.StringRef(containerInstanceDisplayName),
    			State:              pulumi.StringRef(containerInstanceState),
    		}, 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 testContainerInstances = Oci.ContainerInstances.GetContainerInstances.Invoke(new()
        {
            CompartmentId = compartmentId,
            AvailabilityDomain = containerInstanceAvailabilityDomain,
            DisplayName = containerInstanceDisplayName,
            State = containerInstanceState,
        });
    
    });
    
    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.GetContainerInstancesArgs;
    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 testContainerInstances = ContainerInstancesFunctions.getContainerInstances(GetContainerInstancesArgs.builder()
                .compartmentId(compartmentId)
                .availabilityDomain(containerInstanceAvailabilityDomain)
                .displayName(containerInstanceDisplayName)
                .state(containerInstanceState)
                .build());
    
        }
    }
    
    variables:
      testContainerInstances:
        fn::invoke:
          Function: oci:ContainerInstances:getContainerInstances
          Arguments:
            compartmentId: ${compartmentId}
            availabilityDomain: ${containerInstanceAvailabilityDomain}
            displayName: ${containerInstanceDisplayName}
            state: ${containerInstanceState}
    

    Using getContainerInstances

    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 getContainerInstances(args: GetContainerInstancesArgs, opts?: InvokeOptions): Promise<GetContainerInstancesResult>
    function getContainerInstancesOutput(args: GetContainerInstancesOutputArgs, opts?: InvokeOptions): Output<GetContainerInstancesResult>
    def get_container_instances(availability_domain: Optional[str] = None,
                                compartment_id: Optional[str] = None,
                                display_name: Optional[str] = None,
                                filters: Optional[Sequence[_containerinstances.GetContainerInstancesFilter]] = None,
                                state: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetContainerInstancesResult
    def get_container_instances_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                compartment_id: Optional[pulumi.Input[str]] = None,
                                display_name: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_containerinstances.GetContainerInstancesFilterArgs]]]] = None,
                                state: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetContainerInstancesResult]
    func GetContainerInstances(ctx *Context, args *GetContainerInstancesArgs, opts ...InvokeOption) (*GetContainerInstancesResult, error)
    func GetContainerInstancesOutput(ctx *Context, args *GetContainerInstancesOutputArgs, opts ...InvokeOption) GetContainerInstancesResultOutput

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

    public static class GetContainerInstances 
    {
        public static Task<GetContainerInstancesResult> InvokeAsync(GetContainerInstancesArgs args, InvokeOptions? opts = null)
        public static Output<GetContainerInstancesResult> Invoke(GetContainerInstancesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetContainerInstancesResult> getContainerInstances(GetContainerInstancesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ContainerInstances/getContainerInstances:getContainerInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetContainerInstancesFilter>
    State string
    A filter to only return resources that match the given lifecycle state.
    CompartmentId string
    The OCID of the compartment in which to list resources.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetContainerInstancesFilter
    State string
    A filter to only return resources that match the given lifecycle state.
    compartmentId String
    The OCID of the compartment in which to list resources.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetFilter>
    state String
    A filter to only return resources that match the given lifecycle state.
    compartmentId string
    The OCID of the compartment in which to list resources.
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetContainerInstancesFilter[]
    state string
    A filter to only return resources that match the given lifecycle state.
    compartment_id str
    The OCID of the compartment in which to list resources.
    availability_domain str
    The name of the availability domain. Example: Uocm:PHX-AD-1
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[containerinstances.GetContainerInstancesFilter]
    state str
    A filter to only return resources that match the given lifecycle state.
    compartmentId String
    The OCID of the compartment in which to list resources.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    state String
    A filter to only return resources that match the given lifecycle state.

    getContainerInstances Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    ContainerInstanceCollections List<GetContainerInstancesContainerInstanceCollection>
    The list of container_instance_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AvailabilityDomain string
    The availability domain to place the container instance.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters List<GetContainerInstancesFilter>
    State string
    The current state of the container instance.
    CompartmentId string
    The OCID of the compartment.
    ContainerInstanceCollections []GetContainerInstancesContainerInstanceCollection
    The list of container_instance_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AvailabilityDomain string
    The availability domain to place the container instance.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Filters []GetContainerInstancesFilter
    State string
    The current state of the container instance.
    compartmentId String
    The OCID of the compartment.
    containerInstanceCollections List<GetContainerInstanceCollection>
    The list of container_instance_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    availabilityDomain String
    The availability domain to place the container instance.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<GetFilter>
    state String
    The current state of the container instance.
    compartmentId string
    The OCID of the compartment.
    containerInstanceCollections GetContainerInstancesContainerInstanceCollection[]
    The list of container_instance_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    availabilityDomain string
    The availability domain to place the container instance.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters GetContainerInstancesFilter[]
    state string
    The current state of the container instance.
    compartment_id str
    The OCID of the compartment.
    container_instance_collections Sequence[containerinstances.GetContainerInstancesContainerInstanceCollection]
    The list of container_instance_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    availability_domain str
    The availability domain to place the container instance.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters Sequence[containerinstances.GetContainerInstancesFilter]
    state str
    The current state of the container instance.
    compartmentId String
    The OCID of the compartment.
    containerInstanceCollections List<Property Map>
    The list of container_instance_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    availabilityDomain String
    The availability domain to place the container instance.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    filters List<Property Map>
    state String
    The current state of the container instance.

    Supporting Types

    GetContainerInstancesContainerInstanceCollection

    GetContainerInstancesContainerInstanceCollectionItem

    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment in which to list resources.
    ContainerCount int
    The number of containers on the container instance.
    ContainerRestartPolicy string
    The container restart policy is applied for all containers in container instance.
    Containers List<GetContainerInstancesContainerInstanceCollectionItemContainer>
    The containers on the container instance.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    DnsConfigs List<GetContainerInstancesContainerInstanceCollectionItemDnsConfig>
    DNS settings for containers.
    FaultDomain string
    The fault domain to place the container instance.
    FreeformTags 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"}
    GracefulShutdownTimeoutInSeconds string
    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.
    ImagePullSecrets List<GetContainerInstancesContainerInstanceCollectionItemImagePullSecret>
    The image pulls secrets so you can access private registry to pull container images.
    LifecycleDetails 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.
    ShapeConfigs List<GetContainerInstancesContainerInstanceCollectionItemShapeConfig>
    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
    A filter to only return resources that match the given lifecycle state.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    TimeCreated string
    The time the container instance was created, in the format defined by RFC 3339.
    TimeUpdated string
    The time the container instance was updated, in the format defined by RFC 3339.
    Vnics List<GetContainerInstancesContainerInstanceCollectionItemVnic>
    The virtual networks available to the containers in the container instance.
    VolumeCount int
    The number of volumes that are attached to the container instance.
    Volumes List<GetContainerInstancesContainerInstanceCollectionItemVolume>
    A volume is a directory with data that is accessible across multiple containers in a container instance.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment in which to list resources.
    ContainerCount int
    The number of containers on the container instance.
    ContainerRestartPolicy string
    The container restart policy is applied for all containers in container instance.
    Containers []GetContainerInstancesContainerInstanceCollectionItemContainer
    The containers on the container instance.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    DnsConfigs []GetContainerInstancesContainerInstanceCollectionItemDnsConfig
    DNS settings for containers.
    FaultDomain string
    The fault domain to place the container instance.
    FreeformTags 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"}
    GracefulShutdownTimeoutInSeconds string
    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.
    ImagePullSecrets []GetContainerInstancesContainerInstanceCollectionItemImagePullSecret
    The image pulls secrets so you can access private registry to pull container images.
    LifecycleDetails 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.
    ShapeConfigs []GetContainerInstancesContainerInstanceCollectionItemShapeConfig
    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
    A filter to only return resources that match the given lifecycle state.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    TimeCreated string
    The time the container instance was created, in the format defined by RFC 3339.
    TimeUpdated string
    The time the container instance was updated, in the format defined by RFC 3339.
    Vnics []GetContainerInstancesContainerInstanceCollectionItemVnic
    The virtual networks available to the containers in the container instance.
    VolumeCount int
    The number of volumes that are attached to the container instance.
    Volumes []GetContainerInstancesContainerInstanceCollectionItemVolume
    A volume is a directory with data that is accessible across multiple containers in a container instance.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment in which to list resources.
    containerCount Integer
    The number of containers on the container instance.
    containerRestartPolicy String
    The container restart policy is applied for all containers in container instance.
    containers List<GetContainerInstanceCollectionItemContainer>
    The containers on the container instance.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName String
    A filter to return only resources that match the entire display name given.
    dnsConfigs List<GetContainerInstanceCollectionItemDnsConfig>
    DNS settings for containers.
    faultDomain String
    The fault domain to place the container instance.
    freeformTags 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"}
    gracefulShutdownTimeoutInSeconds String
    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.
    imagePullSecrets List<GetContainerInstanceCollectionItemImagePullSecret>
    The image pulls secrets so you can access private registry to pull container images.
    lifecycleDetails 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.
    shapeConfigs List<GetContainerInstanceCollectionItemShapeConfig>
    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
    A filter to only return resources that match the given lifecycle state.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    timeCreated String
    The time the container instance was created, in the format defined by RFC 3339.
    timeUpdated String
    The time the container instance was updated, in the format defined by RFC 3339.
    vnics List<GetContainerInstanceCollectionItemVnic>
    The virtual networks available to the containers in the container instance.
    volumeCount Integer
    The number of volumes that are attached to the container instance.
    volumes List<GetContainerInstanceCollectionItemVolume>
    A volume is a directory with data that is accessible across multiple containers in a container instance.
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId string
    The OCID of the compartment in which to list resources.
    containerCount number
    The number of containers on the container instance.
    containerRestartPolicy string
    The container restart policy is applied for all containers in container instance.
    containers GetContainerInstancesContainerInstanceCollectionItemContainer[]
    The containers on the container instance.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName string
    A filter to return only resources that match the entire display name given.
    dnsConfigs GetContainerInstancesContainerInstanceCollectionItemDnsConfig[]
    DNS settings for containers.
    faultDomain string
    The fault domain to place the container instance.
    freeformTags {[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"}
    gracefulShutdownTimeoutInSeconds string
    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.
    imagePullSecrets GetContainerInstancesContainerInstanceCollectionItemImagePullSecret[]
    The image pulls secrets so you can access private registry to pull container images.
    lifecycleDetails 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.
    shapeConfigs GetContainerInstancesContainerInstanceCollectionItemShapeConfig[]
    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
    A filter to only return resources that match the given lifecycle state.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    timeCreated string
    The time the container instance was created, in the format defined by RFC 3339.
    timeUpdated string
    The time the container instance was updated, in the format defined by RFC 3339.
    vnics GetContainerInstancesContainerInstanceCollectionItemVnic[]
    The virtual networks available to the containers in the container instance.
    volumeCount number
    The number of volumes that are attached to the container instance.
    volumes GetContainerInstancesContainerInstanceCollectionItemVolume[]
    A volume is a directory with data that is accessible across multiple containers in a container instance.
    availability_domain str
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartment_id str
    The OCID of the compartment in which to list resources.
    container_count int
    The number of containers on the container instance.
    container_restart_policy str
    The container restart policy is applied for all containers in container instance.
    containers Sequence[containerinstances.GetContainerInstancesContainerInstanceCollectionItemContainer]
    The containers on the container instance.
    defined_tags 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
    A filter to return only resources that match the entire display name given.
    dns_configs Sequence[containerinstances.GetContainerInstancesContainerInstanceCollectionItemDnsConfig]
    DNS settings for containers.
    fault_domain str
    The fault domain to place the container instance.
    freeform_tags 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_timeout_in_seconds str
    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_secrets Sequence[containerinstances.GetContainerInstancesContainerInstanceCollectionItemImagePullSecret]
    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.GetContainerInstancesContainerInstanceCollectionItemShapeConfig]
    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
    A filter to only return resources that match the given lifecycle state.
    system_tags 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 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.GetContainerInstancesContainerInstanceCollectionItemVnic]
    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.GetContainerInstancesContainerInstanceCollectionItemVolume]
    A volume is a directory with data that is accessible across multiple containers in a container instance.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment in which to list resources.
    containerCount Number
    The number of containers on the container instance.
    containerRestartPolicy String
    The container restart policy is applied for all containers in container instance.
    containers List<Property Map>
    The containers on the container instance.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName String
    A filter to return only resources that match the entire display name given.
    dnsConfigs List<Property Map>
    DNS settings for containers.
    faultDomain String
    The fault domain to place the container instance.
    freeformTags 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"}
    gracefulShutdownTimeoutInSeconds String
    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.
    imagePullSecrets List<Property Map>
    The image pulls secrets so you can access private registry to pull container images.
    lifecycleDetails 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.
    shapeConfigs 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
    A filter to only return resources that match the given lifecycle state.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    timeCreated String
    The time the container instance was created, in the format defined by RFC 3339.
    timeUpdated 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.
    volumeCount 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.

    GetContainerInstancesContainerInstanceCollectionItemContainer

    Arguments List<string>
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    Commands List<string>
    CompartmentId string
    The OCID of the compartment in which to list resources.
    ContainerId string
    The OCID of the container.
    ContainerInstanceId string
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    EnvironmentVariables Dictionary<string, object>
    ExitCode int
    FaultDomain string
    The fault domain to place the container instance.
    FreeformTags 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"}
    HealthChecks List<GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheck>
    ImageUrl string
    IsResourcePrincipalDisabled bool
    LifecycleDetails string
    A message that describes the current state of the container in more detail. Can be used to provide actionable information.
    ResourceConfigs List<GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfig>
    SecurityContexts List<GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContext>
    State string
    A filter to only return resources that match the given lifecycle state.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    TimeCreated string
    The time the container instance was created, in the format defined by RFC 3339.
    TimeTerminated string
    TimeUpdated string
    The time the container instance was updated, in the format defined by RFC 3339.
    VolumeMounts List<GetContainerInstancesContainerInstanceCollectionItemContainerVolumeMount>
    WorkingDirectory string
    Arguments []string
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    Commands []string
    CompartmentId string
    The OCID of the compartment in which to list resources.
    ContainerId string
    The OCID of the container.
    ContainerInstanceId string
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    EnvironmentVariables map[string]interface{}
    ExitCode int
    FaultDomain string
    The fault domain to place the container instance.
    FreeformTags 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"}
    HealthChecks []GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheck
    ImageUrl string
    IsResourcePrincipalDisabled bool
    LifecycleDetails string
    A message that describes the current state of the container in more detail. Can be used to provide actionable information.
    ResourceConfigs []GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfig
    SecurityContexts []GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContext
    State string
    A filter to only return resources that match the given lifecycle state.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    TimeCreated string
    The time the container instance was created, in the format defined by RFC 3339.
    TimeTerminated string
    TimeUpdated string
    The time the container instance was updated, in the format defined by RFC 3339.
    VolumeMounts []GetContainerInstancesContainerInstanceCollectionItemContainerVolumeMount
    WorkingDirectory string
    arguments List<String>
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    commands List<String>
    compartmentId String
    The OCID of the compartment in which to list resources.
    containerId String
    The OCID of the container.
    containerInstanceId String
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName String
    A filter to return only resources that match the entire display name given.
    environmentVariables Map<String,Object>
    exitCode Integer
    faultDomain String
    The fault domain to place the container instance.
    freeformTags 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"}
    healthChecks List<GetContainerInstanceCollectionItemContainerHealthCheck>
    imageUrl String
    isResourcePrincipalDisabled Boolean
    lifecycleDetails String
    A message that describes the current state of the container in more detail. Can be used to provide actionable information.
    resourceConfigs List<GetContainerInstanceCollectionItemContainerResourceConfig>
    securityContexts List<GetContainerInstanceCollectionItemContainerSecurityContext>
    state String
    A filter to only return resources that match the given lifecycle state.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    timeCreated String
    The time the container instance was created, in the format defined by RFC 3339.
    timeTerminated String
    timeUpdated String
    The time the container instance was updated, in the format defined by RFC 3339.
    volumeMounts List<GetContainerInstanceCollectionItemContainerVolumeMount>
    workingDirectory String
    arguments string[]
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    commands string[]
    compartmentId string
    The OCID of the compartment in which to list resources.
    containerId string
    The OCID of the container.
    containerInstanceId string
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName string
    A filter to return only resources that match the entire display name given.
    environmentVariables {[key: string]: any}
    exitCode number
    faultDomain string
    The fault domain to place the container instance.
    freeformTags {[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"}
    healthChecks GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheck[]
    imageUrl string
    isResourcePrincipalDisabled boolean
    lifecycleDetails string
    A message that describes the current state of the container in more detail. Can be used to provide actionable information.
    resourceConfigs GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfig[]
    securityContexts GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContext[]
    state string
    A filter to only return resources that match the given lifecycle state.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    timeCreated string
    The time the container instance was created, in the format defined by RFC 3339.
    timeTerminated string
    timeUpdated string
    The time the container instance was updated, in the format defined by RFC 3339.
    volumeMounts GetContainerInstancesContainerInstanceCollectionItemContainerVolumeMount[]
    workingDirectory string
    arguments Sequence[str]
    availability_domain str
    The name of the availability domain. Example: Uocm:PHX-AD-1
    commands Sequence[str]
    compartment_id str
    The OCID of the compartment in which to list resources.
    container_id str
    The OCID of the container.
    container_instance_id str
    defined_tags 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
    A filter to return only resources that match the entire display name given.
    environment_variables Mapping[str, Any]
    exit_code int
    fault_domain str
    The fault domain to place the container instance.
    freeform_tags 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 Sequence[containerinstances.GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheck]
    image_url str
    is_resource_principal_disabled bool
    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.GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfig]
    security_contexts Sequence[containerinstances.GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContext]
    state str
    A filter to only return resources that match the given lifecycle state.
    system_tags 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 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.GetContainerInstancesContainerInstanceCollectionItemContainerVolumeMount]
    working_directory str
    arguments List<String>
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    commands List<String>
    compartmentId String
    The OCID of the compartment in which to list resources.
    containerId String
    The OCID of the container.
    containerInstanceId String
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName String
    A filter to return only resources that match the entire display name given.
    environmentVariables Map<Any>
    exitCode Number
    faultDomain String
    The fault domain to place the container instance.
    freeformTags 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"}
    healthChecks List<Property Map>
    imageUrl String
    isResourcePrincipalDisabled Boolean
    lifecycleDetails String
    A message that describes the current state of the container in more detail. Can be used to provide actionable information.
    resourceConfigs List<Property Map>
    securityContexts List<Property Map>
    state String
    A filter to only return resources that match the given lifecycle state.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}.
    timeCreated String
    The time the container instance was created, in the format defined by RFC 3339.
    timeTerminated String
    timeUpdated String
    The time the container instance was updated, in the format defined by RFC 3339.
    volumeMounts List<Property Map>
    workingDirectory String

    GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheck

    Commands List<string>
    FailureAction string
    FailureThreshold int
    Headers List<GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckHeader>
    HealthCheckType string
    InitialDelayInSeconds int
    IntervalInSeconds int
    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
    StatusDetails string
    SuccessThreshold int
    TimeoutInSeconds int
    Commands []string
    FailureAction string
    FailureThreshold int
    Headers []GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckHeader
    HealthCheckType string
    InitialDelayInSeconds int
    IntervalInSeconds int
    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
    StatusDetails string
    SuccessThreshold int
    TimeoutInSeconds int
    commands List<String>
    failureAction String
    failureThreshold Integer
    headers List<GetContainerInstanceCollectionItemContainerHealthCheckHeader>
    healthCheckType String
    initialDelayInSeconds Integer
    intervalInSeconds Integer
    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
    statusDetails String
    successThreshold Integer
    timeoutInSeconds Integer
    commands string[]
    failureAction string
    failureThreshold number
    headers GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckHeader[]
    healthCheckType string
    initialDelayInSeconds number
    intervalInSeconds number
    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
    statusDetails string
    successThreshold number
    timeoutInSeconds number
    commands Sequence[str]
    failure_action str
    failure_threshold int
    headers Sequence[containerinstances.GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckHeader]
    health_check_type str
    initial_delay_in_seconds int
    interval_in_seconds int
    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_seconds int
    commands List<String>
    failureAction String
    failureThreshold Number
    headers List<Property Map>
    healthCheckType String
    initialDelayInSeconds Number
    intervalInSeconds Number
    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
    statusDetails String
    successThreshold Number
    timeoutInSeconds Number

    GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckHeader

    Name string
    The name of the volume. This must be unique within a single container instance.
    Value string
    Name string
    The name of the volume. This must be unique within a single container instance.
    Value string
    name String
    The name of the volume. This must be unique within a single container instance.
    value String
    name string
    The name of the volume. This must be unique within a single container instance.
    value string
    name str
    The name of the volume. This must be unique within a single container instance.
    value str
    name String
    The name of the volume. This must be unique within a single container instance.
    value String

    GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfig

    GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContext

    GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContextCapability

    AddCapabilities List<string>
    DropCapabilities List<string>
    addCapabilities List<String>
    dropCapabilities List<String>
    add_capabilities Sequence[str]
    drop_capabilities Sequence[str]
    addCapabilities List<String>
    dropCapabilities List<String>

    GetContainerInstancesContainerInstanceCollectionItemContainerVolumeMount

    IsReadOnly bool
    MountPath string
    Partition int
    SubPath string
    VolumeName string
    IsReadOnly bool
    MountPath string
    Partition int
    SubPath string
    VolumeName string
    isReadOnly Boolean
    mountPath String
    partition Integer
    subPath String
    volumeName String
    isReadOnly boolean
    mountPath string
    partition number
    subPath string
    volumeName string
    isReadOnly Boolean
    mountPath String
    partition Number
    subPath String
    volumeName String

    GetContainerInstancesContainerInstanceCollectionItemDnsConfig

    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.

    GetContainerInstancesContainerInstanceCollectionItemImagePullSecret

    Password string
    RegistryEndpoint string
    The registry endpoint of the container image.
    SecretId string
    The OCID of the secret for registry credentials.
    SecretType string
    The type of ImagePullSecret.
    Username string
    Password string
    RegistryEndpoint string
    The registry endpoint of the container image.
    SecretId string
    The OCID of the secret for registry credentials.
    SecretType string
    The type of ImagePullSecret.
    Username string
    password String
    registryEndpoint String
    The registry endpoint of the container image.
    secretId String
    The OCID of the secret for registry credentials.
    secretType String
    The type of ImagePullSecret.
    username String
    password string
    registryEndpoint string
    The registry endpoint of the container image.
    secretId string
    The OCID of the secret for registry credentials.
    secretType 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
    registryEndpoint String
    The registry endpoint of the container image.
    secretId String
    The OCID of the secret for registry credentials.
    secretType String
    The type of ImagePullSecret.
    username String

    GetContainerInstancesContainerInstanceCollectionItemShapeConfig

    MemoryInGbs double
    The total amount of memory available to the container instance, in gigabytes.
    NetworkingBandwidthInGbps double
    The networking bandwidth available to the container instance, in gigabits per second.
    Ocpus double
    The total number of OCPUs available to the container instance.
    ProcessorDescription string
    A short description of the container instance's processor (CPU).
    MemoryInGbs float64
    The total amount of memory available to the container instance, in gigabytes.
    NetworkingBandwidthInGbps float64
    The networking bandwidth available to the container instance, in gigabits per second.
    Ocpus float64
    The total number of OCPUs available to the container instance.
    ProcessorDescription string
    A short description of the container instance's processor (CPU).
    memoryInGbs Double
    The total amount of memory available to the container instance, in gigabytes.
    networkingBandwidthInGbps Double
    The networking bandwidth available to the container instance, in gigabits per second.
    ocpus Double
    The total number of OCPUs available to the container instance.
    processorDescription String
    A short description of the container instance's processor (CPU).
    memoryInGbs number
    The total amount of memory available to the container instance, in gigabytes.
    networkingBandwidthInGbps number
    The networking bandwidth available to the container instance, in gigabits per second.
    ocpus number
    The total number of OCPUs available to the container instance.
    processorDescription string
    A short description of the container instance's processor (CPU).
    memory_in_gbs float
    The total amount of memory available to the container instance, in gigabytes.
    networking_bandwidth_in_gbps float
    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).
    memoryInGbs Number
    The total amount of memory available to the container instance, in gigabytes.
    networkingBandwidthInGbps Number
    The networking bandwidth available to the container instance, in gigabits per second.
    ocpus Number
    The total number of OCPUs available to the container instance.
    processorDescription String
    A short description of the container instance's processor (CPU).

    GetContainerInstancesContainerInstanceCollectionItemVnic

    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags 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"}
    HostnameLabel string
    IsPublicIpAssigned bool
    NsgIds List<string>
    PrivateIp string
    SkipSourceDestCheck bool
    SubnetId string
    VnicId 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.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags 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"}
    HostnameLabel string
    IsPublicIpAssigned bool
    NsgIds []string
    PrivateIp string
    SkipSourceDestCheck bool
    SubnetId string
    VnicId 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.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags 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"}
    hostnameLabel String
    isPublicIpAssigned Boolean
    nsgIds List<String>
    privateIp String
    skipSourceDestCheck Boolean
    subnetId String
    vnicId 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.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName string
    A filter to return only resources that match the entire display name given.
    freeformTags {[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"}
    hostnameLabel string
    isPublicIpAssigned boolean
    nsgIds string[]
    privateIp string
    skipSourceDestCheck boolean
    subnetId string
    vnicId 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.
    defined_tags 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
    A filter to return only resources that match the entire display name given.
    freeform_tags 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_ip_assigned bool
    nsg_ids Sequence[str]
    private_ip str
    skip_source_dest_check bool
    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.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}.
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags 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"}
    hostnameLabel String
    isPublicIpAssigned Boolean
    nsgIds List<String>
    privateIp String
    skipSourceDestCheck Boolean
    subnetId String
    vnicId 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.

    GetContainerInstancesContainerInstanceCollectionItemVolume

    BackingStore string
    The volume type of the empty directory, can be either File Storage or Memory.
    Configs List<GetContainerInstancesContainerInstanceCollectionItemVolumeConfig>
    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.
    VolumeType string
    The type of volume.
    BackingStore string
    The volume type of the empty directory, can be either File Storage or Memory.
    Configs []GetContainerInstancesContainerInstanceCollectionItemVolumeConfig
    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.
    VolumeType string
    The type of volume.
    backingStore String
    The volume type of the empty directory, can be either File Storage or Memory.
    configs List<GetContainerInstanceCollectionItemVolumeConfig>
    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.
    volumeType String
    The type of volume.
    backingStore string
    The volume type of the empty directory, can be either File Storage or Memory.
    configs GetContainerInstancesContainerInstanceCollectionItemVolumeConfig[]
    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.
    volumeType 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.GetContainerInstancesContainerInstanceCollectionItemVolumeConfig]
    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.
    backingStore 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.
    volumeType String
    The type of volume.

    GetContainerInstancesContainerInstanceCollectionItemVolumeConfig

    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.
    FileName 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.
    FileName 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.
    fileName 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.
    fileName 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.
    fileName 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.

    GetContainerInstancesFilter

    Name string
    The name of the volume. This must be unique within a single container instance.
    Values List<string>
    Regex bool
    Name string
    The name of the volume. This must be unique within a single container instance.
    Values []string
    Regex bool
    name String
    The name of the volume. This must be unique within a single container instance.
    values List<String>
    regex Boolean
    name string
    The name of the volume. This must be unique within a single container instance.
    values string[]
    regex boolean
    name str
    The name of the volume. This must be unique within a single container instance.
    values Sequence[str]
    regex bool
    name String
    The name of the volume. This must be unique within a single container instance.
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.40.0 published on Wednesday, Jun 12, 2024 by Pulumi