1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getComputeGlobalImageCapabilitySchemasVersion
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Core.getComputeGlobalImageCapabilitySchemasVersion

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

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

    The following arguments are supported:

    ComputeGlobalImageCapabilitySchemaId string
    The OCID of the compute global image capability schema
    ComputeGlobalImageCapabilitySchemaVersionName string
    The name of the compute global image capability schema version
    ComputeGlobalImageCapabilitySchemaId string
    The OCID of the compute global image capability schema
    ComputeGlobalImageCapabilitySchemaVersionName string
    The name of the compute global image capability schema version
    computeGlobalImageCapabilitySchemaId String
    The OCID of the compute global image capability schema
    computeGlobalImageCapabilitySchemaVersionName String
    The name of the compute global image capability schema version
    computeGlobalImageCapabilitySchemaId string
    The OCID of the compute global image capability schema
    computeGlobalImageCapabilitySchemaVersionName string
    The name of the compute global image capability schema version
    compute_global_image_capability_schema_id str
    The OCID of the compute global image capability schema
    compute_global_image_capability_schema_version_name str
    The name of the compute global image capability schema version
    computeGlobalImageCapabilitySchemaId String
    The OCID of the compute global image capability schema
    computeGlobalImageCapabilitySchemaVersionName String
    The name of the compute global image capability schema version

    getComputeGlobalImageCapabilitySchemasVersion Result

    The following output properties are available:

    ComputeGlobalImageCapabilitySchemaId string
    The ocid of the compute global image capability schema
    ComputeGlobalImageCapabilitySchemaVersionName string
    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
    ComputeGlobalImageCapabilitySchemaId string
    The ocid of the compute global image capability schema
    ComputeGlobalImageCapabilitySchemaVersionName string
    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
    computeGlobalImageCapabilitySchemaId String
    The ocid of the compute global image capability schema
    computeGlobalImageCapabilitySchemaVersionName String
    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
    computeGlobalImageCapabilitySchemaId string
    The ocid of the compute global image capability schema
    computeGlobalImageCapabilitySchemaVersionName string
    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_image_capability_schema_id str
    The ocid of the compute global image capability schema
    compute_global_image_capability_schema_version_name str
    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
    computeGlobalImageCapabilitySchemaId String
    The ocid of the compute global image capability schema
    computeGlobalImageCapabilitySchemaVersionName String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi