1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGlobalImageCapabilitySchemasVersions
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 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,
});
Copy
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)
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
variables:
  testComputeGlobalImageCapabilitySchemasVersions:
    fn::invoke:
      function: oci:Core:getComputeGlobalImageCapabilitySchemasVersions
      arguments:
        computeGlobalImageCapabilitySchemaId: ${testComputeGlobalImageCapabilitySchema.id}
        displayName: ${computeGlobalImageCapabilitySchemasVersionDisplayName}
Copy

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>
Copy
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[_core.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[_core.GetComputeGlobalImageCapabilitySchemasVersionsFilterArgs]]]] = None,
                                                         opts: Optional[InvokeOptions] = None) -> Output[GetComputeGlobalImageCapabilitySchemasVersionsResult]
Copy
func GetComputeGlobalImageCapabilitySchemasVersions(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionsArgs, opts ...InvokeOption) (*GetComputeGlobalImageCapabilitySchemasVersionsResult, error)
func GetComputeGlobalImageCapabilitySchemasVersionsOutput(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionsOutputArgs, opts ...InvokeOption) GetComputeGlobalImageCapabilitySchemasVersionsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetComputeGlobalImageCapabilitySchemasVersionsResult> getComputeGlobalImageCapabilitySchemasVersions(GetComputeGlobalImageCapabilitySchemasVersionsArgs args, InvokeOptions options)
public static Output<GetComputeGlobalImageCapabilitySchemasVersionsResult> getComputeGlobalImageCapabilitySchemasVersions(GetComputeGlobalImageCapabilitySchemasVersionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getComputeGlobalImageCapabilitySchemasVersions:getComputeGlobalImageCapabilitySchemasVersions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ComputeGlobalImageCapabilitySchemaId This property is required. string
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 Changes to this property will trigger replacement. List<GetComputeGlobalImageCapabilitySchemasVersionsFilter>
ComputeGlobalImageCapabilitySchemaId This property is required. string
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 Changes to this property will trigger replacement. []GetComputeGlobalImageCapabilitySchemasVersionsFilter
computeGlobalImageCapabilitySchemaId This property is required. String
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 Changes to this property will trigger replacement. List<GetComputeGlobalImageCapabilitySchemasVersionsFilter>
computeGlobalImageCapabilitySchemaId This property is required. string
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 Changes to this property will trigger replacement. GetComputeGlobalImageCapabilitySchemasVersionsFilter[]
compute_global_image_capability_schema_id This property is required. str
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 Changes to this property will trigger replacement. Sequence[core.GetComputeGlobalImageCapabilitySchemasVersionsFilter]
computeGlobalImageCapabilitySchemaId This property is required. String
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 Changes to this property will trigger replacement. List<Property Map>

getComputeGlobalImageCapabilitySchemasVersions Result

The following output properties are available:

ComputeGlobalImageCapabilitySchemaId string
The ocid of the compute global image capability schema
ComputeGlobalImageCapabilitySchemaVersions List<GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersion>
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<GetComputeGlobalImageCapabilitySchemasVersionsFilter>
ComputeGlobalImageCapabilitySchemaId string
The ocid of the compute global image capability schema
ComputeGlobalImageCapabilitySchemaVersions []GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersion
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 []GetComputeGlobalImageCapabilitySchemasVersionsFilter
computeGlobalImageCapabilitySchemaId String
The ocid of the compute global image capability schema
computeGlobalImageCapabilitySchemaVersions List<GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersion>
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<GetComputeGlobalImageCapabilitySchemasVersionsFilter>
computeGlobalImageCapabilitySchemaId string
The ocid of the compute global image capability schema
computeGlobalImageCapabilitySchemaVersions GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersion[]
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 GetComputeGlobalImageCapabilitySchemasVersionsFilter[]
compute_global_image_capability_schema_id str
The ocid of the compute global image capability schema
compute_global_image_capability_schema_versions Sequence[core.GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersion]
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[core.GetComputeGlobalImageCapabilitySchemasVersionsFilter]
computeGlobalImageCapabilitySchemaId String
The ocid of the compute global image capability schema
computeGlobalImageCapabilitySchemaVersions List<Property Map>
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

ComputeGlobalImageCapabilitySchemaId This property is required. string
The OCID of the compute global image capability schema
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
Name This property is required. string
The name of the compute global image capability schema version
SchemaData This property is required. Dictionary<string, string>
The map of each capability name to its ImageCapabilityDescriptor.
TimeCreated This property is required. 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
ComputeGlobalImageCapabilitySchemaId This property is required. string
The OCID of the compute global image capability schema
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly.
Name This property is required. string
The name of the compute global image capability schema version
SchemaData This property is required. map[string]string
The map of each capability name to its ImageCapabilityDescriptor.
TimeCreated This property is required. 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
computeGlobalImageCapabilitySchemaId This property is required. String
The OCID of the compute global image capability schema
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
name This property is required. String
The name of the compute global image capability schema version
schemaData This property is required. Map<String,String>
The map of each capability name to its ImageCapabilityDescriptor.
timeCreated This property is required. 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
computeGlobalImageCapabilitySchemaId This property is required. string
The OCID of the compute global image capability schema
displayName This property is required. string
A filter to return only resources that match the given display name exactly.
name This property is required. string
The name of the compute global image capability schema version
schemaData This property is required. {[key: string]: string}
The map of each capability name to its ImageCapabilityDescriptor.
timeCreated This property is required. 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_image_capability_schema_id This property is required. str
The OCID of the compute global image capability schema
display_name This property is required. str
A filter to return only resources that match the given display name exactly.
name This property is required. str
The name of the compute global image capability schema version
schema_data This property is required. Mapping[str, str]
The map of each capability name to its ImageCapabilityDescriptor.
time_created This property is required. 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
computeGlobalImageCapabilitySchemaId This property is required. String
The OCID of the compute global image capability schema
displayName This property is required. String
A filter to return only resources that match the given display name exactly.
name This property is required. String
The name of the compute global image capability schema version
schemaData This property is required. Map<String>
The map of each capability name to its ImageCapabilityDescriptor.
timeCreated This property is required. 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

Name This property is required. string
The name of the compute global image capability schema version
Values This property is required. List<string>
the list of values for the enum
Regex bool
Name This property is required. string
The name of the compute global image capability schema version
Values This property is required. []string
the list of values for the enum
Regex bool
name This property is required. String
The name of the compute global image capability schema version
values This property is required. List<String>
the list of values for the enum
regex Boolean
name This property is required. string
The name of the compute global image capability schema version
values This property is required. string[]
the list of values for the enum
regex boolean
name This property is required. str
The name of the compute global image capability schema version
values This property is required. Sequence[str]
the list of values for the enum
regex bool
name This property is required. String
The name of the compute global image capability schema version
values This property is required. List<String>
the list of values for the enum
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.