1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGlobalImageCapabilitySchemas
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.Core.getComputeGlobalImageCapabilitySchemas

Explore with Pulumi AI

This data source provides the list of Compute Global Image Capability Schemas in Oracle Cloud Infrastructure Core service.

Lists Compute Global Image Capability Schema in the specified compartment.

Example Usage

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

const testComputeGlobalImageCapabilitySchemas = oci.Core.getComputeGlobalImageCapabilitySchemas({
    compartmentId: compartmentId,
    displayName: computeGlobalImageCapabilitySchemaDisplayName,
});
Copy
import pulumi
import pulumi_oci as oci

test_compute_global_image_capability_schemas = oci.Core.get_compute_global_image_capability_schemas(compartment_id=compartment_id,
    display_name=compute_global_image_capability_schema_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.GetComputeGlobalImageCapabilitySchemas(ctx, &core.GetComputeGlobalImageCapabilitySchemasArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
			DisplayName:   pulumi.StringRef(computeGlobalImageCapabilitySchemaDisplayName),
		}, 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 testComputeGlobalImageCapabilitySchemas = Oci.Core.GetComputeGlobalImageCapabilitySchemas.Invoke(new()
    {
        CompartmentId = compartmentId,
        DisplayName = computeGlobalImageCapabilitySchemaDisplayName,
    });

});
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.GetComputeGlobalImageCapabilitySchemasArgs;
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 testComputeGlobalImageCapabilitySchemas = CoreFunctions.getComputeGlobalImageCapabilitySchemas(GetComputeGlobalImageCapabilitySchemasArgs.builder()
            .compartmentId(compartmentId)
            .displayName(computeGlobalImageCapabilitySchemaDisplayName)
            .build());

    }
}
Copy
variables:
  testComputeGlobalImageCapabilitySchemas:
    fn::invoke:
      function: oci:Core:getComputeGlobalImageCapabilitySchemas
      arguments:
        compartmentId: ${compartmentId}
        displayName: ${computeGlobalImageCapabilitySchemaDisplayName}
Copy

Using getComputeGlobalImageCapabilitySchemas

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 getComputeGlobalImageCapabilitySchemas(args: GetComputeGlobalImageCapabilitySchemasArgs, opts?: InvokeOptions): Promise<GetComputeGlobalImageCapabilitySchemasResult>
function getComputeGlobalImageCapabilitySchemasOutput(args: GetComputeGlobalImageCapabilitySchemasOutputArgs, opts?: InvokeOptions): Output<GetComputeGlobalImageCapabilitySchemasResult>
Copy
def get_compute_global_image_capability_schemas(compartment_id: Optional[str] = None,
                                                display_name: Optional[str] = None,
                                                filters: Optional[Sequence[_core.GetComputeGlobalImageCapabilitySchemasFilter]] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetComputeGlobalImageCapabilitySchemasResult
def get_compute_global_image_capability_schemas_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                                display_name: Optional[pulumi.Input[str]] = None,
                                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetComputeGlobalImageCapabilitySchemasFilterArgs]]]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetComputeGlobalImageCapabilitySchemasResult]
Copy
func GetComputeGlobalImageCapabilitySchemas(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasArgs, opts ...InvokeOption) (*GetComputeGlobalImageCapabilitySchemasResult, error)
func GetComputeGlobalImageCapabilitySchemasOutput(ctx *Context, args *GetComputeGlobalImageCapabilitySchemasOutputArgs, opts ...InvokeOption) GetComputeGlobalImageCapabilitySchemasResultOutput
Copy

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

public static class GetComputeGlobalImageCapabilitySchemas 
{
    public static Task<GetComputeGlobalImageCapabilitySchemasResult> InvokeAsync(GetComputeGlobalImageCapabilitySchemasArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeGlobalImageCapabilitySchemasResult> Invoke(GetComputeGlobalImageCapabilitySchemasInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetComputeGlobalImageCapabilitySchemasResult> getComputeGlobalImageCapabilitySchemas(GetComputeGlobalImageCapabilitySchemasArgs args, InvokeOptions options)
public static Output<GetComputeGlobalImageCapabilitySchemasResult> getComputeGlobalImageCapabilitySchemas(GetComputeGlobalImageCapabilitySchemasArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getComputeGlobalImageCapabilitySchemas:getComputeGlobalImageCapabilitySchemas
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
A filter to return only resources that match the given compartment OCID exactly.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. List<GetComputeGlobalImageCapabilitySchemasFilter>
CompartmentId string
A filter to return only resources that match the given compartment OCID exactly.
DisplayName string
A filter to return only resources that match the given display name exactly.
Filters Changes to this property will trigger replacement. []GetComputeGlobalImageCapabilitySchemasFilter
compartmentId String
A filter to return only resources that match the given compartment OCID exactly.
displayName String
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. List<GetComputeGlobalImageCapabilitySchemasFilter>
compartmentId string
A filter to return only resources that match the given compartment OCID exactly.
displayName string
A filter to return only resources that match the given display name exactly.
filters Changes to this property will trigger replacement. GetComputeGlobalImageCapabilitySchemasFilter[]
compartment_id str
A filter to return only resources that match the given compartment OCID exactly.
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.GetComputeGlobalImageCapabilitySchemasFilter]
compartmentId String
A filter to return only resources that match the given compartment OCID exactly.
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>

getComputeGlobalImageCapabilitySchemas Result

The following output properties are available:

ComputeGlobalImageCapabilitySchemas List<GetComputeGlobalImageCapabilitySchemasComputeGlobalImageCapabilitySchema>
The list of compute_global_image_capability_schemas.
Id string
The provider-assigned unique ID for this managed resource.
CompartmentId string
The OCID of the compartment containing the compute global image capability schema
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters List<GetComputeGlobalImageCapabilitySchemasFilter>
ComputeGlobalImageCapabilitySchemas []GetComputeGlobalImageCapabilitySchemasComputeGlobalImageCapabilitySchema
The list of compute_global_image_capability_schemas.
Id string
The provider-assigned unique ID for this managed resource.
CompartmentId string
The OCID of the compartment containing the compute global image capability schema
DisplayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
Filters []GetComputeGlobalImageCapabilitySchemasFilter
computeGlobalImageCapabilitySchemas List<GetComputeGlobalImageCapabilitySchemasComputeGlobalImageCapabilitySchema>
The list of compute_global_image_capability_schemas.
id String
The provider-assigned unique ID for this managed resource.
compartmentId String
The OCID of the compartment containing the compute global image capability schema
displayName String
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters List<GetComputeGlobalImageCapabilitySchemasFilter>
computeGlobalImageCapabilitySchemas GetComputeGlobalImageCapabilitySchemasComputeGlobalImageCapabilitySchema[]
The list of compute_global_image_capability_schemas.
id string
The provider-assigned unique ID for this managed resource.
compartmentId string
The OCID of the compartment containing the compute global image capability schema
displayName string
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters GetComputeGlobalImageCapabilitySchemasFilter[]
compute_global_image_capability_schemas Sequence[core.GetComputeGlobalImageCapabilitySchemasComputeGlobalImageCapabilitySchema]
The list of compute_global_image_capability_schemas.
id str
The provider-assigned unique ID for this managed resource.
compartment_id str
The OCID of the compartment containing the compute global image capability schema
display_name str
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
filters Sequence[core.GetComputeGlobalImageCapabilitySchemasFilter]
computeGlobalImageCapabilitySchemas List<Property Map>
The list of compute_global_image_capability_schemas.
id String
The provider-assigned unique ID for this managed resource.
compartmentId String
The OCID of the compartment containing the compute global image capability schema
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

GetComputeGlobalImageCapabilitySchemasComputeGlobalImageCapabilitySchema

CompartmentId This property is required. string
A filter to return only resources that match the given compartment OCID exactly.
CurrentVersionName This property is required. string
The name of the global capabilities version resource that is considered the current version.
DefinedTags This property is required. 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 This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. 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 This property is required. string
The OCID of the compute global image capability schema
TimeCreated This property is required. 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 This property is required. string
A filter to return only resources that match the given compartment OCID exactly.
CurrentVersionName This property is required. string
The name of the global capabilities version resource that is considered the current version.
DefinedTags This property is required. 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 This property is required. string
A filter to return only resources that match the given display name exactly.
FreeformTags This property is required. 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 This property is required. string
The OCID of the compute global image capability schema
TimeCreated This property is required. 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 This property is required. String
A filter to return only resources that match the given compartment OCID exactly.
currentVersionName This property is required. String
The name of the global capabilities version resource that is considered the current version.
definedTags This property is required. 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 This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. 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 This property is required. String
The OCID of the compute global image capability schema
timeCreated This property is required. 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 This property is required. string
A filter to return only resources that match the given compartment OCID exactly.
currentVersionName This property is required. string
The name of the global capabilities version resource that is considered the current version.
definedTags This property is required. {[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 This property is required. string
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. {[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 This property is required. string
The OCID of the compute global image capability schema
timeCreated This property is required. 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 This property is required. str
A filter to return only resources that match the given compartment OCID exactly.
current_version_name This property is required. str
The name of the global capabilities version resource that is considered the current version.
defined_tags This property is required. 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 This property is required. str
A filter to return only resources that match the given display name exactly.
freeform_tags This property is required. 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 This property is required. str
The OCID of the compute global image capability schema
time_created This property is required. 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 This property is required. String
A filter to return only resources that match the given compartment OCID exactly.
currentVersionName This property is required. String
The name of the global capabilities version resource that is considered the current version.
definedTags This property is required. 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 This property is required. String
A filter to return only resources that match the given display name exactly.
freeformTags This property is required. 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 This property is required. String
The OCID of the compute global image capability schema
timeCreated This property is required. 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

GetComputeGlobalImageCapabilitySchemasFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

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