1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGlobalImageCapabilitySchemasVersions
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Core.getComputeGlobalImageCapabilitySchemasVersions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 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: testComputeGlobalImageCapabilitySchema.id,
        displayName: computeGlobalImageCapabilitySchemasVersionDisplayName,
    });
    
    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)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      testComputeGlobalImageCapabilitySchemasVersions:
        fn::invoke:
          Function: oci:Core:getComputeGlobalImageCapabilitySchemasVersions
          Arguments:
            computeGlobalImageCapabilitySchemaId: ${testComputeGlobalImageCapabilitySchema.id}
            displayName: ${computeGlobalImageCapabilitySchemasVersionDisplayName}
    

    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, 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
    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]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
    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,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
    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]: 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_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, 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
    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>
    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi