1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGlobalImageCapabilitySchema
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.Core.getComputeGlobalImageCapabilitySchema

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

This data source provides details about a specific Compute Global Image Capability Schema resource in Oracle Cloud Infrastructure Core service.

Gets the specified Compute Global Image Capability Schema

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testComputeGlobalImageCapabilitySchema = oci.Core.getComputeGlobalImageCapabilitySchema({
    computeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchemaOciCoreComputeGlobalImageCapabilitySchema.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_compute_global_image_capability_schema = oci.Core.get_compute_global_image_capability_schema(compute_global_image_capability_schema_id=test_compute_global_image_capability_schema_oci_core_compute_global_image_capability_schema["id"])
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.GetComputeGlobalImageCapabilitySchema(ctx, &core.GetComputeGlobalImageCapabilitySchemaArgs{
			ComputeGlobalImageCapabilitySchemaId: testComputeGlobalImageCapabilitySchemaOciCoreComputeGlobalImageCapabilitySchema.Id,
		}, 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 testComputeGlobalImageCapabilitySchema = Oci.Core.GetComputeGlobalImageCapabilitySchema.Invoke(new()
    {
        ComputeGlobalImageCapabilitySchemaId = testComputeGlobalImageCapabilitySchemaOciCoreComputeGlobalImageCapabilitySchema.Id,
    });

});
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.GetComputeGlobalImageCapabilitySchemaArgs;
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 testComputeGlobalImageCapabilitySchema = CoreFunctions.getComputeGlobalImageCapabilitySchema(GetComputeGlobalImageCapabilitySchemaArgs.builder()
            .computeGlobalImageCapabilitySchemaId(testComputeGlobalImageCapabilitySchemaOciCoreComputeGlobalImageCapabilitySchema.id())
            .build());

    }
}
Copy
variables:
  testComputeGlobalImageCapabilitySchema:
    fn::invoke:
      function: oci:Core:getComputeGlobalImageCapabilitySchema
      arguments:
        computeGlobalImageCapabilitySchemaId: ${testComputeGlobalImageCapabilitySchemaOciCoreComputeGlobalImageCapabilitySchema.id}
Copy

Using getComputeGlobalImageCapabilitySchema

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 getComputeGlobalImageCapabilitySchema(args: GetComputeGlobalImageCapabilitySchemaArgs, opts?: InvokeOptions): Promise<GetComputeGlobalImageCapabilitySchemaResult>
function getComputeGlobalImageCapabilitySchemaOutput(args: GetComputeGlobalImageCapabilitySchemaOutputArgs, opts?: InvokeOptions): Output<GetComputeGlobalImageCapabilitySchemaResult>
Copy
def get_compute_global_image_capability_schema(compute_global_image_capability_schema_id: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetComputeGlobalImageCapabilitySchemaResult
def get_compute_global_image_capability_schema_output(compute_global_image_capability_schema_id: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetComputeGlobalImageCapabilitySchemaResult]
Copy
func GetComputeGlobalImageCapabilitySchema(ctx *Context, args *GetComputeGlobalImageCapabilitySchemaArgs, opts ...InvokeOption) (*GetComputeGlobalImageCapabilitySchemaResult, error)
func GetComputeGlobalImageCapabilitySchemaOutput(ctx *Context, args *GetComputeGlobalImageCapabilitySchemaOutputArgs, opts ...InvokeOption) GetComputeGlobalImageCapabilitySchemaResultOutput
Copy

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

public static class GetComputeGlobalImageCapabilitySchema 
{
    public static Task<GetComputeGlobalImageCapabilitySchemaResult> InvokeAsync(GetComputeGlobalImageCapabilitySchemaArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGlobalImageCapabilitySchemaResult> Invoke(GetComputeGlobalImageCapabilitySchemaInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetComputeGlobalImageCapabilitySchemaResult> getComputeGlobalImageCapabilitySchema(GetComputeGlobalImageCapabilitySchemaArgs args, InvokeOptions options)
public static Output<GetComputeGlobalImageCapabilitySchemaResult> getComputeGlobalImageCapabilitySchema(GetComputeGlobalImageCapabilitySchemaArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getComputeGlobalImageCapabilitySchema:getComputeGlobalImageCapabilitySchema
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ComputeGlobalImageCapabilitySchemaId This property is required. string
The OCID of the compute global image capability schema
ComputeGlobalImageCapabilitySchemaId This property is required. string
The OCID of the compute global image capability schema
computeGlobalImageCapabilitySchemaId This property is required. String
The OCID of the compute global image capability schema
computeGlobalImageCapabilitySchemaId This property is required. string
The OCID of the compute global image capability schema
compute_global_image_capability_schema_id This property is required. str
The OCID of the compute global image capability schema
computeGlobalImageCapabilitySchemaId This property is required. String
The OCID of the compute global image capability schema

getComputeGlobalImageCapabilitySchema Result

The following output properties are available:

CompartmentId string
The OCID of the compartment containing the compute global image capability schema
ComputeGlobalImageCapabilitySchemaId string
CurrentVersionName string
The name of the global capabilities version resource that is considered the current 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"}
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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 provider-assigned unique ID for this managed resource.
TimeCreated string
The date and time the compute global image capability schema was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
CompartmentId string
The OCID of the compartment containing the compute global image capability schema
ComputeGlobalImageCapabilitySchemaId string
CurrentVersionName string
The name of the global capabilities version resource that is considered the current 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"}
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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 provider-assigned unique ID for this managed resource.
TimeCreated string
The date and time the compute global image capability schema was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId String
The OCID of the compartment containing the compute global image capability schema
computeGlobalImageCapabilitySchemaId String
currentVersionName String
The name of the global capabilities version resource that is considered the current 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"}
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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 provider-assigned unique ID for this managed resource.
timeCreated String
The date and time the compute global image capability schema was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId string
The OCID of the compartment containing the compute global image capability schema
computeGlobalImageCapabilitySchemaId string
currentVersionName string
The name of the global capabilities version resource that is considered the current 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"}
displayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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 provider-assigned unique ID for this managed resource.
timeCreated string
The date and time the compute global image capability schema was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartment_id str
The OCID of the compartment containing the compute global image capability schema
compute_global_image_capability_schema_id str
current_version_name str
The name of the global capabilities version resource that is considered the current 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"}
display_name str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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 provider-assigned unique ID for this managed resource.
time_created str
The date and time the compute global image capability schema was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId String
The OCID of the compartment containing the compute global image capability schema
computeGlobalImageCapabilitySchemaId String
currentVersionName String
The name of the global capabilities version resource that is considered the current 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"}
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
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 provider-assigned unique ID for this managed resource.
timeCreated String
The date and time the compute global image capability schema 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 oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi