Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Core.getComputeGlobalImageCapabilitySchemasVersions
Explore with Pulumi AI
This data source provides the list of Compute Global Image Capability Schemas Versions in Oracle Cloud Infrastructure Core service.
Lists Compute Global Image Capability Schema versions in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testComputeGlobalImageCapabilitySchemasVersions = oci.Core.getComputeGlobalImageCapabilitySchemasVersions({
    computeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchema.id,
    displayName: computeGlobalImageCapabilitySchemasVersionDisplayName,
});
import pulumi
import pulumi_oci as oci
test_compute_global_image_capability_schemas_versions = oci.Core.get_compute_global_image_capability_schemas_versions(compute_global_image_capability_schema_id=test_compute_global_image_capability_schema["id"],
    display_name=compute_global_image_capability_schemas_version_display_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetComputeGlobalImageCapabilitySchemasVersions(ctx, &core.GetComputeGlobalImageCapabilitySchemasVersionsArgs{
			ComputeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchema.Id,
			DisplayName:                          pulumi.StringRef(computeGlobalImageCapabilitySchemasVersionDisplayName),
		}, 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 testComputeGlobalImageCapabilitySchemasVersions = Oci.Core.GetComputeGlobalImageCapabilitySchemasVersions.Invoke(new()
    {
        ComputeGlobalImageCapabilitySchemaId = testComputeGlobalImageCapabilitySchema.Id,
        DisplayName = computeGlobalImageCapabilitySchemasVersionDisplayName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetComputeGlobalImageCapabilitySchemasVersionsArgs;
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 testComputeGlobalImageCapabilitySchemasVersions = CoreFunctions.getComputeGlobalImageCapabilitySchemasVersions(GetComputeGlobalImageCapabilitySchemasVersionsArgs.builder()
            .computeGlobalImageCapabilitySchemaId(testComputeGlobalImageCapabilitySchema.id())
            .displayName(computeGlobalImageCapabilitySchemasVersionDisplayName)
            .build());
    }
}
variables:
  testComputeGlobalImageCapabilitySchemasVersions:
    fn::invoke:
      function: oci:Core:getComputeGlobalImageCapabilitySchemasVersions
      arguments:
        computeGlobalImageCapabilitySchemaId: ${testComputeGlobalImageCapabilitySchema.id}
        displayName: ${computeGlobalImageCapabilitySchemasVersionDisplayName}
Using getComputeGlobalImageCapabilitySchemasVersions
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 getComputeGlobalImageCapabilitySchemasVersions(args: GetComputeGlobalImageCapabilitySchemasVersionsArgs, opts?: InvokeOptions): Promise<GetComputeGlobalImageCapabilitySchemasVersionsResult>
function getComputeGlobalImageCapabilitySchemasVersionsOutput(args: GetComputeGlobalImageCapabilitySchemasVersionsOutputArgs, opts?: InvokeOptions): Output<GetComputeGlobalImageCapabilitySchemasVersionsResult>def get_compute_global_image_capability_schemas_versions(compute_global_image_capability_schema_id: Optional[str] = None,
                                                         display_name: Optional[str] = None,
                                                         filters: Optional[Sequence[GetComputeGlobalImageCapabilitySchemasVersionsFilter]] = None,
                                                         opts: Optional[InvokeOptions] = None) -> GetComputeGlobalImageCapabilitySchemasVersionsResult
def get_compute_global_image_capability_schemas_versions_output(compute_global_image_capability_schema_id: Optional[pulumi.Input[str]] = None,
                                                         display_name: Optional[pulumi.Input[str]] = None,
                                                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetComputeGlobalImageCapabilitySchemasVersionsFilterArgs]]]] = None,
                                                         opts: Optional[InvokeOptions] = None) -> Output[GetComputeGlobalImageCapabilitySchemasVersionsResult]func GetComputeGlobalImageCapabilitySchemasVersions(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionsArgs, opts ...InvokeOption) (*GetComputeGlobalImageCapabilitySchemasVersionsResult, error)
func GetComputeGlobalImageCapabilitySchemasVersionsOutput(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionsOutputArgs, opts ...InvokeOption) GetComputeGlobalImageCapabilitySchemasVersionsResultOutput> Note: This function is named GetComputeGlobalImageCapabilitySchemasVersions in the Go SDK.
public static class GetComputeGlobalImageCapabilitySchemasVersions 
{
    public static Task<GetComputeGlobalImageCapabilitySchemasVersionsResult> InvokeAsync(GetComputeGlobalImageCapabilitySchemasVersionsArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGlobalImageCapabilitySchemasVersionsResult> Invoke(GetComputeGlobalImageCapabilitySchemasVersionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetComputeGlobalImageCapabilitySchemasVersionsResult> getComputeGlobalImageCapabilitySchemasVersions(GetComputeGlobalImageCapabilitySchemasVersionsArgs args, InvokeOptions options)
public static Output<GetComputeGlobalImageCapabilitySchemasVersionsResult> getComputeGlobalImageCapabilitySchemasVersions(GetComputeGlobalImageCapabilitySchemasVersionsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getComputeGlobalImageCapabilitySchemasVersions:getComputeGlobalImageCapabilitySchemasVersions
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ComputeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Filters
List<GetCompute Global Image Capability Schemas Versions Filter> 
- ComputeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Filters
[]GetCompute Global Image Capability Schemas Versions Filter 
- computeGlobal StringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- displayName String
- A filter to return only resources that match the given display name exactly.
- filters
List<GetCompute Global Image Capability Schemas Versions Filter> 
- computeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- displayName string
- A filter to return only resources that match the given display name exactly.
- filters
GetCompute Global Image Capability Schemas Versions Filter[] 
- compute_global_ strimage_ capability_ schema_ id 
- The OCID of the compute global image capability schema
- display_name str
- A filter to return only resources that match the given display name exactly.
- filters
Sequence[GetCompute Global Image Capability Schemas Versions Filter] 
- computeGlobal StringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- displayName String
- A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
getComputeGlobalImageCapabilitySchemasVersions Result
The following output properties are available:
- ComputeGlobal stringImage Capability Schema Id 
- The ocid of the compute global image capability schema
- ComputeGlobal List<GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version> 
- The list of compute_global_image_capability_schema_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<GetCompute Global Image Capability Schemas Versions Filter> 
- ComputeGlobal stringImage Capability Schema Id 
- The ocid of the compute global image capability schema
- ComputeGlobal []GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version 
- The list of compute_global_image_capability_schema_versions.
- Id string
- The provider-assigned unique ID for this managed resource.
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]GetCompute Global Image Capability Schemas Versions Filter 
- computeGlobal StringImage Capability Schema Id 
- The ocid of the compute global image capability schema
- computeGlobal List<GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version> 
- The list of compute_global_image_capability_schema_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<GetCompute Global Image Capability Schemas Versions Filter> 
- computeGlobal stringImage Capability Schema Id 
- The ocid of the compute global image capability schema
- computeGlobal GetImage Capability Schema Versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version[] 
- The list of compute_global_image_capability_schema_versions.
- id string
- The provider-assigned unique ID for this managed resource.
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
GetCompute Global Image Capability Schemas Versions Filter[] 
- compute_global_ strimage_ capability_ schema_ id 
- The ocid of the compute global image capability schema
- compute_global_ Sequence[Getimage_ capability_ schema_ versions Compute Global Image Capability Schemas Versions Compute Global Image Capability Schema Version] 
- The list of compute_global_image_capability_schema_versions.
- id str
- The provider-assigned unique ID for this managed resource.
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[GetCompute Global Image Capability Schemas Versions Filter] 
- computeGlobal StringImage Capability Schema Id 
- The ocid of the compute global image capability schema
- computeGlobal List<Property Map>Image Capability Schema Versions 
- The list of compute_global_image_capability_schema_versions.
- id String
- The provider-assigned unique ID for this managed resource.
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters List<Property Map>
Supporting Types
GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersion            
- ComputeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Name string
- The name of the compute global image capability schema version
- SchemaData Dictionary<string, string>
- The map of each capability name to its ImageCapabilityDescriptor.
- TimeCreated string
- The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- ComputeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- DisplayName string
- A filter to return only resources that match the given display name exactly.
- Name string
- The name of the compute global image capability schema version
- SchemaData map[string]string
- The map of each capability name to its ImageCapabilityDescriptor.
- TimeCreated string
- The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- computeGlobal StringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- displayName String
- A filter to return only resources that match the given display name exactly.
- name String
- The name of the compute global image capability schema version
- schemaData Map<String,String>
- The map of each capability name to its ImageCapabilityDescriptor.
- timeCreated String
- The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- computeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- displayName string
- A filter to return only resources that match the given display name exactly.
- name string
- The name of the compute global image capability schema version
- schemaData {[key: string]: string}
- The map of each capability name to its ImageCapabilityDescriptor.
- timeCreated string
- The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- compute_global_ strimage_ capability_ schema_ id 
- The OCID of the compute global image capability schema
- display_name str
- A filter to return only resources that match the given display name exactly.
- name str
- The name of the compute global image capability schema version
- schema_data Mapping[str, str]
- The map of each capability name to its ImageCapabilityDescriptor.
- time_created str
- The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
- computeGlobal StringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- displayName String
- A filter to return only resources that match the given display name exactly.
- name String
- The name of the compute global image capability schema version
- schemaData Map<String>
- The map of each capability name to its ImageCapabilityDescriptor.
- timeCreated String
- The date and time the compute global image capability schema version was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
GetComputeGlobalImageCapabilitySchemasVersionsFilter       
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.