1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Artifacts
  5. getContainerImages
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Artifacts.getContainerImages

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

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

    List container images in a compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testContainerImages = oci.Artifacts.getContainerImages({
        compartmentId: compartmentId,
        compartmentIdInSubtree: containerImageCompartmentIdInSubtree,
        displayName: containerImageDisplayName,
        imageId: testImage.id,
        isVersioned: containerImageIsVersioned,
        repositoryId: testRepository.id,
        repositoryName: testRepository.name,
        state: containerImageState,
        version: containerImageVersion,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_container_images = oci.Artifacts.get_container_images(compartment_id=compartment_id,
        compartment_id_in_subtree=container_image_compartment_id_in_subtree,
        display_name=container_image_display_name,
        image_id=test_image["id"],
        is_versioned=container_image_is_versioned,
        repository_id=test_repository["id"],
        repository_name=test_repository["name"],
        state=container_image_state,
        version=container_image_version)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Artifacts"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Artifacts.GetContainerImages(ctx, &artifacts.GetContainerImagesArgs{
    			CompartmentId:          compartmentId,
    			CompartmentIdInSubtree: pulumi.BoolRef(containerImageCompartmentIdInSubtree),
    			DisplayName:            pulumi.StringRef(containerImageDisplayName),
    			ImageId:                pulumi.StringRef(testImage.Id),
    			IsVersioned:            pulumi.BoolRef(containerImageIsVersioned),
    			RepositoryId:           pulumi.StringRef(testRepository.Id),
    			RepositoryName:         pulumi.StringRef(testRepository.Name),
    			State:                  pulumi.StringRef(containerImageState),
    			Version:                pulumi.StringRef(containerImageVersion),
    		}, 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 testContainerImages = Oci.Artifacts.GetContainerImages.Invoke(new()
        {
            CompartmentId = compartmentId,
            CompartmentIdInSubtree = containerImageCompartmentIdInSubtree,
            DisplayName = containerImageDisplayName,
            ImageId = testImage.Id,
            IsVersioned = containerImageIsVersioned,
            RepositoryId = testRepository.Id,
            RepositoryName = testRepository.Name,
            State = containerImageState,
            Version = containerImageVersion,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Artifacts.ArtifactsFunctions;
    import com.pulumi.oci.Artifacts.inputs.GetContainerImagesArgs;
    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 testContainerImages = ArtifactsFunctions.getContainerImages(GetContainerImagesArgs.builder()
                .compartmentId(compartmentId)
                .compartmentIdInSubtree(containerImageCompartmentIdInSubtree)
                .displayName(containerImageDisplayName)
                .imageId(testImage.id())
                .isVersioned(containerImageIsVersioned)
                .repositoryId(testRepository.id())
                .repositoryName(testRepository.name())
                .state(containerImageState)
                .version(containerImageVersion)
                .build());
    
        }
    }
    
    variables:
      testContainerImages:
        fn::invoke:
          Function: oci:Artifacts:getContainerImages
          Arguments:
            compartmentId: ${compartmentId}
            compartmentIdInSubtree: ${containerImageCompartmentIdInSubtree}
            displayName: ${containerImageDisplayName}
            imageId: ${testImage.id}
            isVersioned: ${containerImageIsVersioned}
            repositoryId: ${testRepository.id}
            repositoryName: ${testRepository.name}
            state: ${containerImageState}
            version: ${containerImageVersion}
    

    Using getContainerImages

    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 getContainerImages(args: GetContainerImagesArgs, opts?: InvokeOptions): Promise<GetContainerImagesResult>
    function getContainerImagesOutput(args: GetContainerImagesOutputArgs, opts?: InvokeOptions): Output<GetContainerImagesResult>
    def get_container_images(compartment_id: Optional[str] = None,
                             compartment_id_in_subtree: Optional[bool] = None,
                             display_name: Optional[str] = None,
                             filters: Optional[Sequence[_artifacts.GetContainerImagesFilter]] = None,
                             image_id: Optional[str] = None,
                             is_versioned: Optional[bool] = None,
                             repository_id: Optional[str] = None,
                             repository_name: Optional[str] = None,
                             state: Optional[str] = None,
                             version: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetContainerImagesResult
    def get_container_images_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                             display_name: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_artifacts.GetContainerImagesFilterArgs]]]] = None,
                             image_id: Optional[pulumi.Input[str]] = None,
                             is_versioned: Optional[pulumi.Input[bool]] = None,
                             repository_id: Optional[pulumi.Input[str]] = None,
                             repository_name: Optional[pulumi.Input[str]] = None,
                             state: Optional[pulumi.Input[str]] = None,
                             version: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetContainerImagesResult]
    func GetContainerImages(ctx *Context, args *GetContainerImagesArgs, opts ...InvokeOption) (*GetContainerImagesResult, error)
    func GetContainerImagesOutput(ctx *Context, args *GetContainerImagesOutputArgs, opts ...InvokeOption) GetContainerImagesResultOutput

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

    public static class GetContainerImages 
    {
        public static Task<GetContainerImagesResult> InvokeAsync(GetContainerImagesArgs args, InvokeOptions? opts = null)
        public static Output<GetContainerImagesResult> Invoke(GetContainerImagesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetContainerImagesResult> getContainerImages(GetContainerImagesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Artifacts/getContainerImages:getContainerImages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    CompartmentIdInSubtree bool
    When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of accessLevel. Default is false. Can only be set to true when calling the API on the tenancy (root compartment).
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters List<GetContainerImagesFilter>
    ImageId string
    A filter to return a container image summary only for the specified container image OCID.
    IsVersioned bool
    A filter to return container images based on whether there are any associated versions.
    RepositoryId string
    A filter to return container images only for the specified container repository OCID.
    RepositoryName string
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    State string
    A filter to return only resources that match the given lifecycle state name exactly.
    Version string
    A filter to return container images that match the version. Example: foo or foo*
    CompartmentId string
    The OCID of the compartment.
    CompartmentIdInSubtree bool
    When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of accessLevel. Default is false. Can only be set to true when calling the API on the tenancy (root compartment).
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    Filters []GetContainerImagesFilter
    ImageId string
    A filter to return a container image summary only for the specified container image OCID.
    IsVersioned bool
    A filter to return container images based on whether there are any associated versions.
    RepositoryId string
    A filter to return container images only for the specified container repository OCID.
    RepositoryName string
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    State string
    A filter to return only resources that match the given lifecycle state name exactly.
    Version string
    A filter to return container images that match the version. Example: foo or foo*
    compartmentId String
    The OCID of the compartment.
    compartmentIdInSubtree Boolean
    When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of accessLevel. Default is false. Can only be set to true when calling the API on the tenancy (root compartment).
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<GetContainerImagesFilter>
    imageId String
    A filter to return a container image summary only for the specified container image OCID.
    isVersioned Boolean
    A filter to return container images based on whether there are any associated versions.
    repositoryId String
    A filter to return container images only for the specified container repository OCID.
    repositoryName String
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state String
    A filter to return only resources that match the given lifecycle state name exactly.
    version String
    A filter to return container images that match the version. Example: foo or foo*
    compartmentId string
    The OCID of the compartment.
    compartmentIdInSubtree boolean
    When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of accessLevel. Default is false. Can only be set to true when calling the API on the tenancy (root compartment).
    displayName string
    A filter to return only resources that match the given display name exactly.
    filters GetContainerImagesFilter[]
    imageId string
    A filter to return a container image summary only for the specified container image OCID.
    isVersioned boolean
    A filter to return container images based on whether there are any associated versions.
    repositoryId string
    A filter to return container images only for the specified container repository OCID.
    repositoryName string
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state string
    A filter to return only resources that match the given lifecycle state name exactly.
    version string
    A filter to return container images that match the version. Example: foo or foo*
    compartment_id str
    The OCID of the compartment.
    compartment_id_in_subtree bool
    When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of accessLevel. Default is false. Can only be set to true when calling the API on the tenancy (root compartment).
    display_name str
    A filter to return only resources that match the given display name exactly.
    filters Sequence[artifacts.GetContainerImagesFilter]
    image_id str
    A filter to return a container image summary only for the specified container image OCID.
    is_versioned bool
    A filter to return container images based on whether there are any associated versions.
    repository_id str
    A filter to return container images only for the specified container repository OCID.
    repository_name str
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state str
    A filter to return only resources that match the given lifecycle state name exactly.
    version str
    A filter to return container images that match the version. Example: foo or foo*
    compartmentId String
    The OCID of the compartment.
    compartmentIdInSubtree Boolean
    When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are inspected depending on the the setting of accessLevel. Default is false. Can only be set to true when calling the API on the tenancy (root compartment).
    displayName String
    A filter to return only resources that match the given display name exactly.
    filters List<Property Map>
    imageId String
    A filter to return a container image summary only for the specified container image OCID.
    isVersioned Boolean
    A filter to return container images based on whether there are any associated versions.
    repositoryId String
    A filter to return container images only for the specified container repository OCID.
    repositoryName String
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state String
    A filter to return only resources that match the given lifecycle state name exactly.
    version String
    A filter to return container images that match the version. Example: foo or foo*

    getContainerImages Result

    The following output properties are available:

    CompartmentId string
    The compartment OCID to which the container image belongs. Inferred from the container repository.
    ContainerImageCollections List<GetContainerImagesContainerImageCollection>
    The list of container_image_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    CompartmentIdInSubtree bool
    DisplayName string
    The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then 'unknown' is used instead of the version. Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
    Filters List<GetContainerImagesFilter>
    ImageId string
    IsVersioned bool
    RepositoryId string
    The OCID of the container repository.
    RepositoryName string
    The container repository name.
    State string
    The current state of the container image.
    Version string
    The version name.
    CompartmentId string
    The compartment OCID to which the container image belongs. Inferred from the container repository.
    ContainerImageCollections []GetContainerImagesContainerImageCollection
    The list of container_image_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    CompartmentIdInSubtree bool
    DisplayName string
    The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then 'unknown' is used instead of the version. Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
    Filters []GetContainerImagesFilter
    ImageId string
    IsVersioned bool
    RepositoryId string
    The OCID of the container repository.
    RepositoryName string
    The container repository name.
    State string
    The current state of the container image.
    Version string
    The version name.
    compartmentId String
    The compartment OCID to which the container image belongs. Inferred from the container repository.
    containerImageCollections List<GetContainerImagesContainerImageCollection>
    The list of container_image_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    compartmentIdInSubtree Boolean
    displayName String
    The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then 'unknown' is used instead of the version. Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
    filters List<GetContainerImagesFilter>
    imageId String
    isVersioned Boolean
    repositoryId String
    The OCID of the container repository.
    repositoryName String
    The container repository name.
    state String
    The current state of the container image.
    version String
    The version name.
    compartmentId string
    The compartment OCID to which the container image belongs. Inferred from the container repository.
    containerImageCollections GetContainerImagesContainerImageCollection[]
    The list of container_image_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    compartmentIdInSubtree boolean
    displayName string
    The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then 'unknown' is used instead of the version. Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
    filters GetContainerImagesFilter[]
    imageId string
    isVersioned boolean
    repositoryId string
    The OCID of the container repository.
    repositoryName string
    The container repository name.
    state string
    The current state of the container image.
    version string
    The version name.
    compartment_id str
    The compartment OCID to which the container image belongs. Inferred from the container repository.
    container_image_collections Sequence[artifacts.GetContainerImagesContainerImageCollection]
    The list of container_image_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    compartment_id_in_subtree bool
    display_name str
    The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then 'unknown' is used instead of the version. Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
    filters Sequence[artifacts.GetContainerImagesFilter]
    image_id str
    is_versioned bool
    repository_id str
    The OCID of the container repository.
    repository_name str
    The container repository name.
    state str
    The current state of the container image.
    version str
    The version name.
    compartmentId String
    The compartment OCID to which the container image belongs. Inferred from the container repository.
    containerImageCollections List<Property Map>
    The list of container_image_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    compartmentIdInSubtree Boolean
    displayName String
    The repository name and the most recent version associated with the image. If there are no versions associated with the image, then last known version and digest are used instead. If the last known version is unavailable, then 'unknown' is used instead of the version. Example: ubuntu:latest or ubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
    filters List<Property Map>
    imageId String
    isVersioned Boolean
    repositoryId String
    The OCID of the container repository.
    repositoryName String
    The container repository name.
    state String
    The current state of the container image.
    version String
    The version name.

    Supporting Types

    GetContainerImagesContainerImageCollection

    GetContainerImagesContainerImageCollectionItem

    CompartmentId string
    The OCID of the compartment.
    CreatedBy string
    The OCID of the user or principal that pushed the version.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Digest string
    The sha256 digest of the image layer.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    Layers List<GetContainerImagesContainerImageCollectionItemLayer>
    Layers of which the image is composed, ordered by the layer digest.
    LayersSizeInBytes string
    The total size of the container image layers in bytes.
    ManifestSizeInBytes int
    The size of the container image manifest in bytes.
    PullCount string
    Total number of pulls.
    RepositoryId string
    A filter to return container images only for the specified container repository OCID.
    RepositoryName string
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    State string
    A filter to return only resources that match the given lifecycle state name exactly.
    SystemTags Dictionary<string, string>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation time of the version.
    TimeLastPulled string
    An RFC 3339 timestamp indicating when the image was last pulled.
    Version string
    A filter to return container images that match the version. Example: foo or foo*
    Versions List<GetContainerImagesContainerImageCollectionItemVersion>
    The versions associated with this image.
    CompartmentId string
    The OCID of the compartment.
    CreatedBy string
    The OCID of the user or principal that pushed the version.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Digest string
    The sha256 digest of the image layer.
    DisplayName string
    A filter to return only resources that match the given display name exactly.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    Layers []GetContainerImagesContainerImageCollectionItemLayer
    Layers of which the image is composed, ordered by the layer digest.
    LayersSizeInBytes string
    The total size of the container image layers in bytes.
    ManifestSizeInBytes int
    The size of the container image manifest in bytes.
    PullCount string
    Total number of pulls.
    RepositoryId string
    A filter to return container images only for the specified container repository OCID.
    RepositoryName string
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    State string
    A filter to return only resources that match the given lifecycle state name exactly.
    SystemTags map[string]string
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The creation time of the version.
    TimeLastPulled string
    An RFC 3339 timestamp indicating when the image was last pulled.
    Version string
    A filter to return container images that match the version. Example: foo or foo*
    Versions []GetContainerImagesContainerImageCollectionItemVersion
    The versions associated with this image.
    compartmentId String
    The OCID of the compartment.
    createdBy String
    The OCID of the user or principal that pushed the version.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest String
    The sha256 digest of the image layer.
    displayName String
    A filter to return only resources that match the given display name exactly.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    layers List<GetContainerImagesContainerImageCollectionItemLayer>
    Layers of which the image is composed, ordered by the layer digest.
    layersSizeInBytes String
    The total size of the container image layers in bytes.
    manifestSizeInBytes Integer
    The size of the container image manifest in bytes.
    pullCount String
    Total number of pulls.
    repositoryId String
    A filter to return container images only for the specified container repository OCID.
    repositoryName String
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state String
    A filter to return only resources that match the given lifecycle state name exactly.
    systemTags Map<String,String>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation time of the version.
    timeLastPulled String
    An RFC 3339 timestamp indicating when the image was last pulled.
    version String
    A filter to return container images that match the version. Example: foo or foo*
    versions List<GetContainerImagesContainerImageCollectionItemVersion>
    The versions associated with this image.
    compartmentId string
    The OCID of the compartment.
    createdBy string
    The OCID of the user or principal that pushed the version.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest string
    The sha256 digest of the image layer.
    displayName string
    A filter to return only resources that match the given display name exactly.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    layers GetContainerImagesContainerImageCollectionItemLayer[]
    Layers of which the image is composed, ordered by the layer digest.
    layersSizeInBytes string
    The total size of the container image layers in bytes.
    manifestSizeInBytes number
    The size of the container image manifest in bytes.
    pullCount string
    Total number of pulls.
    repositoryId string
    A filter to return container images only for the specified container repository OCID.
    repositoryName string
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state string
    A filter to return only resources that match the given lifecycle state name exactly.
    systemTags {[key: string]: string}
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The creation time of the version.
    timeLastPulled string
    An RFC 3339 timestamp indicating when the image was last pulled.
    version string
    A filter to return container images that match the version. Example: foo or foo*
    versions GetContainerImagesContainerImageCollectionItemVersion[]
    The versions associated with this image.
    compartment_id str
    The OCID of the compartment.
    created_by str
    The OCID of the user or principal that pushed the version.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest str
    The sha256 digest of the image layer.
    display_name str
    A filter to return only resources that match the given display name exactly.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    layers Sequence[artifacts.GetContainerImagesContainerImageCollectionItemLayer]
    Layers of which the image is composed, ordered by the layer digest.
    layers_size_in_bytes str
    The total size of the container image layers in bytes.
    manifest_size_in_bytes int
    The size of the container image manifest in bytes.
    pull_count str
    Total number of pulls.
    repository_id str
    A filter to return container images only for the specified container repository OCID.
    repository_name str
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state str
    A filter to return only resources that match the given lifecycle state name exactly.
    system_tags Mapping[str, str]
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The creation time of the version.
    time_last_pulled str
    An RFC 3339 timestamp indicating when the image was last pulled.
    version str
    A filter to return container images that match the version. Example: foo or foo*
    versions Sequence[artifacts.GetContainerImagesContainerImageCollectionItemVersion]
    The versions associated with this image.
    compartmentId String
    The OCID of the compartment.
    createdBy String
    The OCID of the user or principal that pushed the version.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    digest String
    The sha256 digest of the image layer.
    displayName String
    A filter to return only resources that match the given display name exactly.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the container image. Example: ocid1.containerimage.oc1..exampleuniqueID
    layers List<Property Map>
    Layers of which the image is composed, ordered by the layer digest.
    layersSizeInBytes String
    The total size of the container image layers in bytes.
    manifestSizeInBytes Number
    The size of the container image manifest in bytes.
    pullCount String
    Total number of pulls.
    repositoryId String
    A filter to return container images only for the specified container repository OCID.
    repositoryName String
    A filter to return container images or container image signatures that match the repository name. Example: foo or foo*
    state String
    A filter to return only resources that match the given lifecycle state name exactly.
    systemTags Map<String>
    The system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The creation time of the version.
    timeLastPulled String
    An RFC 3339 timestamp indicating when the image was last pulled.
    version String
    A filter to return container images that match the version. Example: foo or foo*
    versions List<Property Map>
    The versions associated with this image.

    GetContainerImagesContainerImageCollectionItemLayer

    Digest string
    The sha256 digest of the image layer.
    SizeInBytes string
    The size of the layer in bytes.
    TimeCreated string
    The creation time of the version.
    Digest string
    The sha256 digest of the image layer.
    SizeInBytes string
    The size of the layer in bytes.
    TimeCreated string
    The creation time of the version.
    digest String
    The sha256 digest of the image layer.
    sizeInBytes String
    The size of the layer in bytes.
    timeCreated String
    The creation time of the version.
    digest string
    The sha256 digest of the image layer.
    sizeInBytes string
    The size of the layer in bytes.
    timeCreated string
    The creation time of the version.
    digest str
    The sha256 digest of the image layer.
    size_in_bytes str
    The size of the layer in bytes.
    time_created str
    The creation time of the version.
    digest String
    The sha256 digest of the image layer.
    sizeInBytes String
    The size of the layer in bytes.
    timeCreated String
    The creation time of the version.

    GetContainerImagesContainerImageCollectionItemVersion

    CreatedBy string
    The OCID of the user or principal that pushed the version.
    TimeCreated string
    The creation time of the version.
    Version string
    A filter to return container images that match the version. Example: foo or foo*
    CreatedBy string
    The OCID of the user or principal that pushed the version.
    TimeCreated string
    The creation time of the version.
    Version string
    A filter to return container images that match the version. Example: foo or foo*
    createdBy String
    The OCID of the user or principal that pushed the version.
    timeCreated String
    The creation time of the version.
    version String
    A filter to return container images that match the version. Example: foo or foo*
    createdBy string
    The OCID of the user or principal that pushed the version.
    timeCreated string
    The creation time of the version.
    version string
    A filter to return container images that match the version. Example: foo or foo*
    created_by str
    The OCID of the user or principal that pushed the version.
    time_created str
    The creation time of the version.
    version str
    A filter to return container images that match the version. Example: foo or foo*
    createdBy String
    The OCID of the user or principal that pushed the version.
    timeCreated String
    The creation time of the version.
    version String
    A filter to return container images that match the version. Example: foo or foo*

    GetContainerImagesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi