Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Core.getComputeGlobalImageCapabilitySchemasVersion
Explore with Pulumi AI
This data source provides details about a specific Compute Global Image Capability Schemas Version resource in Oracle Cloud Infrastructure Core service.
Gets the specified Compute Global Image Capability Schema Version
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testComputeGlobalImageCapabilitySchemasVersion = oci.Core.getComputeGlobalImageCapabilitySchemasVersion({
    computeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchema.id,
    computeGlobalImageCapabilitySchemaVersionName: computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName,
});
import pulumi
import pulumi_oci as oci
test_compute_global_image_capability_schemas_version = oci.Core.get_compute_global_image_capability_schemas_version(compute_global_image_capability_schema_id=test_compute_global_image_capability_schema["id"],
    compute_global_image_capability_schema_version_name=compute_global_image_capability_schemas_version_compute_global_image_capability_schema_version_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.GetComputeGlobalImageCapabilitySchemasVersion(ctx, &core.GetComputeGlobalImageCapabilitySchemasVersionArgs{
			ComputeGlobalImageCapabilitySchemaId:          testComputeGlobalImageCapabilitySchema.Id,
			ComputeGlobalImageCapabilitySchemaVersionName: computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName,
		}, 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 testComputeGlobalImageCapabilitySchemasVersion = Oci.Core.GetComputeGlobalImageCapabilitySchemasVersion.Invoke(new()
    {
        ComputeGlobalImageCapabilitySchemaId = testComputeGlobalImageCapabilitySchema.Id,
        ComputeGlobalImageCapabilitySchemaVersionName = computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName,
    });
});
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.GetComputeGlobalImageCapabilitySchemasVersionArgs;
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 testComputeGlobalImageCapabilitySchemasVersion = CoreFunctions.getComputeGlobalImageCapabilitySchemasVersion(GetComputeGlobalImageCapabilitySchemasVersionArgs.builder()
            .computeGlobalImageCapabilitySchemaId(testComputeGlobalImageCapabilitySchema.id())
            .computeGlobalImageCapabilitySchemaVersionName(computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName)
            .build());
    }
}
variables:
  testComputeGlobalImageCapabilitySchemasVersion:
    fn::invoke:
      function: oci:Core:getComputeGlobalImageCapabilitySchemasVersion
      arguments:
        computeGlobalImageCapabilitySchemaId: ${testComputeGlobalImageCapabilitySchema.id}
        computeGlobalImageCapabilitySchemaVersionName: ${computeGlobalImageCapabilitySchemasVersionComputeGlobalImageCapabilitySchemaVersionName}
Using getComputeGlobalImageCapabilitySchemasVersion
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 getComputeGlobalImageCapabilitySchemasVersion(args: GetComputeGlobalImageCapabilitySchemasVersionArgs, opts?: InvokeOptions): Promise<GetComputeGlobalImageCapabilitySchemasVersionResult>
function getComputeGlobalImageCapabilitySchemasVersionOutput(args: GetComputeGlobalImageCapabilitySchemasVersionOutputArgs, opts?: InvokeOptions): Output<GetComputeGlobalImageCapabilitySchemasVersionResult>def get_compute_global_image_capability_schemas_version(compute_global_image_capability_schema_id: Optional[str] = None,
                                                        compute_global_image_capability_schema_version_name: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetComputeGlobalImageCapabilitySchemasVersionResult
def get_compute_global_image_capability_schemas_version_output(compute_global_image_capability_schema_id: Optional[pulumi.Input[str]] = None,
                                                        compute_global_image_capability_schema_version_name: Optional[pulumi.Input[str]] = None,
                                                        opts: Optional[InvokeOptions] = None) -> Output[GetComputeGlobalImageCapabilitySchemasVersionResult]func GetComputeGlobalImageCapabilitySchemasVersion(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionArgs, opts ...InvokeOption) (*GetComputeGlobalImageCapabilitySchemasVersionResult, error)
func GetComputeGlobalImageCapabilitySchemasVersionOutput(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasVersionOutputArgs, opts ...InvokeOption) GetComputeGlobalImageCapabilitySchemasVersionResultOutput> Note: This function is named GetComputeGlobalImageCapabilitySchemasVersion in the Go SDK.
public static class GetComputeGlobalImageCapabilitySchemasVersion 
{
    public static Task<GetComputeGlobalImageCapabilitySchemasVersionResult> InvokeAsync(GetComputeGlobalImageCapabilitySchemasVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGlobalImageCapabilitySchemasVersionResult> Invoke(GetComputeGlobalImageCapabilitySchemasVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetComputeGlobalImageCapabilitySchemasVersionResult> getComputeGlobalImageCapabilitySchemasVersion(GetComputeGlobalImageCapabilitySchemasVersionArgs args, InvokeOptions options)
public static Output<GetComputeGlobalImageCapabilitySchemasVersionResult> getComputeGlobalImageCapabilitySchemasVersion(GetComputeGlobalImageCapabilitySchemasVersionArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getComputeGlobalImageCapabilitySchemasVersion:getComputeGlobalImageCapabilitySchemasVersion
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ComputeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- ComputeGlobal stringImage Capability Schema Version Name 
- The name of the compute global image capability schema version
- ComputeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- ComputeGlobal stringImage Capability Schema Version Name 
- The name of the compute global image capability schema version
- computeGlobal StringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- computeGlobal StringImage Capability Schema Version Name 
- The name of the compute global image capability schema version
- computeGlobal stringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- computeGlobal stringImage Capability Schema Version Name 
- The name of the compute global image capability schema version
- compute_global_ strimage_ capability_ schema_ id 
- The OCID of the compute global image capability schema
- compute_global_ strimage_ capability_ schema_ version_ name 
- The name of the compute global image capability schema version
- computeGlobal StringImage Capability Schema Id 
- The OCID of the compute global image capability schema
- computeGlobal StringImage Capability Schema Version Name 
- The name of the compute global image capability schema version
getComputeGlobalImageCapabilitySchemasVersion Result
The following output properties are available:
- ComputeGlobal stringImage Capability Schema Id 
- The ocid of the compute global image capability schema
- ComputeGlobal stringImage Capability Schema Version Name 
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- ComputeGlobal stringImage Capability Schema Version Name 
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- computeGlobal StringImage Capability Schema Version Name 
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
- computeGlobal stringImage Capability Schema Version Name 
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- id string
- The provider-assigned unique ID for this managed resource.
- 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
- compute_global_ strimage_ capability_ schema_ version_ name 
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- id str
- The provider-assigned unique ID for this managed resource.
- 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
- computeGlobal StringImage Capability Schema Version Name 
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.