Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Artifacts.getContainerImages
Explore with Pulumi AI
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:
- Compartment
Id string - The OCID of the compartment.
- Compartment
Id boolIn Subtree - 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 string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Container Images Filter> - Image
Id string - 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 string - A filter to return container images only for the specified container repository OCID.
- Repository
Name string - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- 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
orfoo*
- Compartment
Id string - The OCID of the compartment.
- Compartment
Id boolIn Subtree - 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 string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Container Images Filter - Image
Id string - 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 string - A filter to return container images only for the specified container repository OCID.
- Repository
Name string - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- 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
orfoo*
- compartment
Id String - The OCID of the compartment.
- compartment
Id BooleanIn Subtree - 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 String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Container Images Filter> - image
Id String - A filter to return a container image summary only for the specified container image OCID.
- is
Versioned Boolean - A filter to return container images based on whether there are any associated versions.
- repository
Id String - A filter to return container images only for the specified container repository OCID.
- repository
Name String - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- 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
orfoo*
- compartment
Id string - The OCID of the compartment.
- compartment
Id booleanIn Subtree - 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 string - A filter to return only resources that match the given display name exactly.
- filters
Get
Container Images Filter[] - image
Id string - A filter to return a container image summary only for the specified container image OCID.
- is
Versioned boolean - A filter to return container images based on whether there are any associated versions.
- repository
Id string - A filter to return container images only for the specified container repository OCID.
- repository
Name string - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- 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
orfoo*
- compartment_
id str - The OCID of the compartment.
- compartment_
id_ boolin_ subtree - 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.
Get Container Images Filter] - 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
orfoo*
- 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
orfoo*
- compartment
Id String - The OCID of the compartment.
- compartment
Id BooleanIn Subtree - 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 String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- image
Id String - A filter to return a container image summary only for the specified container image OCID.
- is
Versioned Boolean - A filter to return container images based on whether there are any associated versions.
- repository
Id String - A filter to return container images only for the specified container repository OCID.
- repository
Name String - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- 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
orfoo*
getContainerImages Result
The following output properties are available:
- Compartment
Id string - The compartment OCID to which the container image belongs. Inferred from the container repository.
- Container
Image List<GetCollections Container Images Container Image Collection> - The list of container_image_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id boolIn Subtree - Display
Name 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
orubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
- Filters
List<Get
Container Images Filter> - Image
Id string - Is
Versioned bool - Repository
Id string - The OCID of the container repository.
- Repository
Name string - The container repository name.
- State string
- The current state of the container image.
- Version string
- The version name.
- Compartment
Id string - The compartment OCID to which the container image belongs. Inferred from the container repository.
- Container
Image []GetCollections Container Images Container Image Collection - The list of container_image_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id boolIn Subtree - Display
Name 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
orubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
- Filters
[]Get
Container Images Filter - Image
Id string - Is
Versioned bool - Repository
Id string - The OCID of the container repository.
- Repository
Name string - The container repository name.
- State string
- The current state of the container image.
- Version string
- The version name.
- compartment
Id String - The compartment OCID to which the container image belongs. Inferred from the container repository.
- container
Image List<GetCollections Container Images Container Image Collection> - The list of container_image_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id BooleanIn Subtree - display
Name 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
orubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
- filters
List<Get
Container Images Filter> - image
Id String - is
Versioned Boolean - repository
Id String - The OCID of the container repository.
- repository
Name String - The container repository name.
- state String
- The current state of the container image.
- version String
- The version name.
- compartment
Id string - The compartment OCID to which the container image belongs. Inferred from the container repository.
- container
Image GetCollections Container Images Container Image Collection[] - The list of container_image_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartment
Id booleanIn Subtree - display
Name 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
orubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
- filters
Get
Container Images Filter[] - image
Id string - is
Versioned boolean - repository
Id string - The OCID of the container repository.
- repository
Name 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_ Sequence[artifacts.collections Get Container Images Container Image Collection] - The list of container_image_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- compartment_
id_ boolin_ subtree - 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
orubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
- filters
Sequence[artifacts.
Get Container Images Filter] - 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.
- compartment
Id String - The compartment OCID to which the container image belongs. Inferred from the container repository.
- container
Image List<Property Map>Collections - The list of container_image_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id BooleanIn Subtree - display
Name 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
orubuntu:latest@sha256:45b23dee08af5e43a7fea6c4cf9c25ccf269ee113168c19722f87876677c5cb2
- filters List<Property Map>
- image
Id String - is
Versioned Boolean - repository
Id String - The OCID of the container repository.
- repository
Name String - The container repository name.
- state String
- The current state of the container image.
- version String
- The version name.
Supporting Types
GetContainerImagesContainerImageCollection
GetContainerImagesContainerImageCollectionItem
- Compartment
Id string - The OCID of the compartment.
- Created
By string - The OCID of the user or principal that pushed the version.
- 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.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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<Get
Container Images Container Image Collection Item Layer> - Layers of which the image is composed, ordered by the layer digest.
- Layers
Size stringIn Bytes - The total size of the container image layers in bytes.
- Manifest
Size intIn Bytes - The size of the container image manifest in bytes.
- Pull
Count string - Total number of pulls.
- Repository
Id string - A filter to return container images only for the specified container repository OCID.
- Repository
Name string - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- State string
- A filter to return only resources that match the given lifecycle state name exactly.
- 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"}
- Time
Created string - The creation time of the version.
- Time
Last stringPulled - 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
orfoo*
- Versions
List<Get
Container Images Container Image Collection Item Version> - The versions associated with this image.
- Compartment
Id string - The OCID of the compartment.
- Created
By string - The OCID of the user or principal that pushed the version.
- 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.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- 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
[]Get
Container Images Container Image Collection Item Layer - Layers of which the image is composed, ordered by the layer digest.
- Layers
Size stringIn Bytes - The total size of the container image layers in bytes.
- Manifest
Size intIn Bytes - The size of the container image manifest in bytes.
- Pull
Count string - Total number of pulls.
- Repository
Id string - A filter to return container images only for the specified container repository OCID.
- Repository
Name string - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- State string
- A filter to return only resources that match the given lifecycle state name exactly.
- 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"}
- Time
Created string - The creation time of the version.
- Time
Last stringPulled - 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
orfoo*
- Versions
[]Get
Container Images Container Image Collection Item Version - The versions associated with this image.
- compartment
Id String - The OCID of the compartment.
- created
By String - The OCID of the user or principal that pushed the version.
- 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.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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<Get
Container Images Container Image Collection Item Layer> - Layers of which the image is composed, ordered by the layer digest.
- layers
Size StringIn Bytes - The total size of the container image layers in bytes.
- manifest
Size IntegerIn Bytes - The size of the container image manifest in bytes.
- pull
Count String - Total number of pulls.
- repository
Id String - A filter to return container images only for the specified container repository OCID.
- repository
Name String - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- state String
- A filter to return only resources that match the given lifecycle state name exactly.
- 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"}
- time
Created String - The creation time of the version.
- time
Last StringPulled - 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
orfoo*
- versions
List<Get
Container Images Container Image Collection Item Version> - The versions associated with this image.
- compartment
Id string - The OCID of the compartment.
- created
By string - The OCID of the user or principal that pushed the version.
- {[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.
- display
Name string - A filter to return only resources that match the given display name exactly.
- {[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
Get
Container Images Container Image Collection Item Layer[] - Layers of which the image is composed, ordered by the layer digest.
- layers
Size stringIn Bytes - The total size of the container image layers in bytes.
- manifest
Size numberIn Bytes - The size of the container image manifest in bytes.
- pull
Count string - Total number of pulls.
- repository
Id string - A filter to return container images only for the specified container repository OCID.
- repository
Name string - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- state string
- A filter to return only resources that match the given lifecycle state name exactly.
- {[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"}
- time
Created string - The creation time of the version.
- time
Last stringPulled - 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
orfoo*
- versions
Get
Container Images Container Image Collection Item Version[] - 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.
- 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.
- 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.
Get Container Images Container Image Collection Item Layer] - Layers of which the image is composed, ordered by the layer digest.
- layers_
size_ strin_ bytes - The total size of the container image layers in bytes.
- manifest_
size_ intin_ bytes - 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
orfoo*
- state str
- A filter to return only resources that match the given lifecycle state name exactly.
- 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_ strpulled - 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
orfoo*
- versions
Sequence[artifacts.
Get Container Images Container Image Collection Item Version] - The versions associated with this image.
- compartment
Id String - The OCID of the compartment.
- created
By String - The OCID of the user or principal that pushed the version.
- 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.
- display
Name String - A filter to return only resources that match the given display name exactly.
- 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.
- layers
Size StringIn Bytes - The total size of the container image layers in bytes.
- manifest
Size NumberIn Bytes - The size of the container image manifest in bytes.
- pull
Count String - Total number of pulls.
- repository
Id String - A filter to return container images only for the specified container repository OCID.
- repository
Name String - A filter to return container images or container image signatures that match the repository name. Example:
foo
orfoo*
- state String
- A filter to return only resources that match the given lifecycle state name exactly.
- Map<String>
- The system tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The creation time of the version.
- time
Last StringPulled - 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
orfoo*
- versions List<Property Map>
- The versions associated with this image.
GetContainerImagesContainerImageCollectionItemLayer
- Digest string
- The sha256 digest of the image layer.
- Size
In stringBytes - The size of the layer in bytes.
- Time
Created string - The creation time of the version.
- Digest string
- The sha256 digest of the image layer.
- Size
In stringBytes - The size of the layer in bytes.
- Time
Created string - The creation time of the version.
- digest String
- The sha256 digest of the image layer.
- size
In StringBytes - The size of the layer in bytes.
- time
Created String - The creation time of the version.
- digest string
- The sha256 digest of the image layer.
- size
In stringBytes - The size of the layer in bytes.
- time
Created string - The creation time of the version.
- digest str
- The sha256 digest of the image layer.
- size_
in_ strbytes - 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.
- size
In StringBytes - The size of the layer in bytes.
- time
Created String - The creation time of the version.
GetContainerImagesContainerImageCollectionItemVersion
- Created
By string - The OCID of the user or principal that pushed the version.
- Time
Created string - The creation time of the version.
- Version string
- A filter to return container images that match the version. Example:
foo
orfoo*
- Created
By string - The OCID of the user or principal that pushed the version.
- Time
Created string - The creation time of the version.
- Version string
- A filter to return container images that match the version. Example:
foo
orfoo*
- created
By String - The OCID of the user or principal that pushed the version.
- time
Created String - The creation time of the version.
- version String
- A filter to return container images that match the version. Example:
foo
orfoo*
- created
By string - The OCID of the user or principal that pushed the version.
- time
Created string - The creation time of the version.
- version string
- A filter to return container images that match the version. Example:
foo
orfoo*
- 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
orfoo*
- created
By String - The OCID of the user or principal that pushed the version.
- time
Created String - The creation time of the version.
- version String
- A filter to return container images that match the version. Example:
foo
orfoo*
GetContainerImagesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.