1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGlobalImageCapabilitySchemasVersions
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.Core.getComputeGlobalImageCapabilitySchemasVersions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: oci_core_compute_global_image_capability_schema.test_compute_global_image_capability_schema.id,
        displayName: _var.compute_global_image_capability_schemas_version_display_name,
    });
    
    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=oci_core_compute_global_image_capability_schema["test_compute_global_image_capability_schema"]["id"],
        display_name=var["compute_global_image_capability_schemas_version_display_name"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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: oci_core_compute_global_image_capability_schema.Test_compute_global_image_capability_schema.Id,
    			DisplayName:                          pulumi.StringRef(_var.Compute_global_image_capability_schemas_version_display_name),
    		}, 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 = oci_core_compute_global_image_capability_schema.Test_compute_global_image_capability_schema.Id,
            DisplayName = @var.Compute_global_image_capability_schemas_version_display_name,
        });
    
    });
    
    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(oci_core_compute_global_image_capability_schema.test_compute_global_image_capability_schema().id())
                .displayName(var_.compute_global_image_capability_schemas_version_display_name())
                .build());
    
        }
    }
    
    variables:
      testComputeGlobalImageCapabilitySchemasVersions:
        fn::invoke:
          Function: oci:Core:getComputeGlobalImageCapabilitySchemasVersions
          Arguments:
            computeGlobalImageCapabilitySchemaId: ${oci_core_compute_global_image_capability_schema.test_compute_global_image_capability_schema.id}
            displayName: ${var.compute_global_image_capability_schemas_version_display_name}
    

    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[_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]
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Core/getComputeGlobalImageCapabilitySchemasVersions:getComputeGlobalImageCapabilitySchemasVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ComputeGlobalImageCapabilitySchemaId 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 List<GetComputeGlobalImageCapabilitySchemasVersionsFilter>
    ComputeGlobalImageCapabilitySchemaId 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 []GetComputeGlobalImageCapabilitySchemasVersionsFilter
    computeGlobalImageCapabilitySchemaId 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 List<GetComputeGlobalImageCapabilitySchemasVersionsFilter>
    computeGlobalImageCapabilitySchemaId 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 GetComputeGlobalImageCapabilitySchemasVersionsFilter[]
    compute_global_image_capability_schema_id 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 Sequence[core.GetComputeGlobalImageCapabilitySchemasVersionsFilter]
    computeGlobalImageCapabilitySchemaId 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 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 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.
    Name string
    The name of the compute global image capability schema version
    SchemaData Dictionary<string, object>
    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
    ComputeGlobalImageCapabilitySchemaId 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.
    Name string
    The name of the compute global image capability schema version
    SchemaData map[string]interface{}
    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
    computeGlobalImageCapabilitySchemaId 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.
    name String
    The name of the compute global image capability schema version
    schemaData Map<String,Object>
    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
    computeGlobalImageCapabilitySchemaId 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.
    name string
    The name of the compute global image capability schema version
    schemaData {[key: string]: any}
    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_image_capability_schema_id 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.
    name str
    The name of the compute global image capability schema version
    schema_data Mapping[str, Any]
    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
    computeGlobalImageCapabilitySchemaId 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.
    name String
    The name of the compute global image capability schema version
    schemaData Map<Any>
    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

    Name string
    The name of the compute global image capability schema version
    Values List<string>
    the list of values for the enum
    Regex bool
    Name string
    The name of the compute global image capability schema version
    Values []string
    the list of values for the enum
    Regex bool
    name String
    The name of the compute global image capability schema version
    values List<String>
    the list of values for the enum
    regex Boolean
    name string
    The name of the compute global image capability schema version
    values string[]
    the list of values for the enum
    regex boolean
    name str
    The name of the compute global image capability schema version
    values Sequence[str]
    the list of values for the enum
    regex bool
    name String
    The name of the compute global image capability schema version
    values 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.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi